Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Understanding java error output - related to the sun app server PE 8.1

Reply
Thread Tools

Understanding java error output - related to the sun app server PE 8.1

 
 
gonzalobriceno@gmail.com
Guest
Posts: n/a
 
      06-07-2005
I hope members think this is a proper place to ask this question. It
is true that it relates to sun app server but more importantly it deals
with reading java log output and synthesize it properly to troubleshoot
the problem.

OS: Mandriva LE
Internet: DHCP

I am having what seems to be a common problem with the sun application
server PE 8.1. After I install it, it runs fine. However, when I
shutdown/restart my machine and attempt to run this server I get the
error:
CLI156 Could not start the domain domain1

There is a whole bunch of info online, none of which has worked for me
except for reinstalling the server, so it seems that the domain files
are corrupted. I guess I need to take this issue from the beginning.
At the bottom of this post you will see the log file for this
particular server activation instance. For now, I would like to know
what it is telling me. For instance, there is a section complaining
about:
java.net.ServerSocket.bind(ServerSocket.java:319)

I understand that this is related to the java.net package and that
there was a problem creating a socket. OK, moving on, there is also
the complaint:

[#|2005-06-07T10:32:23.642-0400|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|U nknownException
during startup. Disable quick startup by setting system property
com.sun.enterprise.server.ss.ASQuickStartup to false
com.sun.appserv.server.ServerLifecycleException:
java.rmi.server.ExportException: Listen failed on port: 0; nested
exception is:

Now, where is this com.sun.enterprise.server.ss package? In the j2ee
1.4 API specification there is no mention of a javax.enterprise.system
package. I searched the entire SUNWappserver directory for the string
ASQuickStartup and there isn't any. Online there is nothing about
setting this parameter. How do I go about finding out about these
features/parameters?

To recapitulate, I would like someone to go through this log and tell
me what it is telling you, aka the major points. I have an idea about
what is going on but I want to get a thorough rendition as to how an
expert would read it and synthesize it. Furthermore, if anyone has
suggestions as to where to find these server packages and whatnot I
would really appreciate it.

-----START LOG
[#|2005-06-07T10:32:20.055-0400|INFO|sun-appserver-pe8.1|javax.enterprise.tools.launcher|_ThreadID=10 ;|
/home/Programs/SUNWappserver/jdk/bin/java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=/home/Programs/SUNWappserver/domains/domain1/logs/server.log
-Djava.endorsed.dirs=/home/Programs/SUNWappserver/lib/endorsed
-Djava.security.policy=/home/Programs/SUNWappserver/domains/domain1/config/server.policy
-Djava.security.auth.login.config=/home/Programs/SUNWappserver/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=/home/Programs/SUNWappserver/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=/home/Programs/SUNWappserver/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=/home/Programs/SUNWappserver/jdk/jre/lib/ext:/home/Programs/SUNWappserver/domains/domain1/lib/ext
-Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriv er
-Djavax.management.builder.initial=com.sun.enterpri se.admin.server.core.jmx.AppServerMBeanServerBuild er
-Dcom.sun.enterprise.config.config_environment_fact ory_class=com.sun.enterprise.config.serverbeans.Ap pserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.ap ache.xerces.internal.jaxp.SAXParserFactoryImpl
-Dcom.sun.aas.configName=server-config
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderA dapter
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun. org.apache.xerces.internal.jaxp.DocumentBuilderFac toryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.inte rnal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=/home/Programs/SUNWappserver/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.or g.apache.xalan.internal.xsltc.trax.TransformerFact oryImpl
-Dcom.sun.aas.domainName=domain1
-Djava.util.logging.manager=com.sun.enterprise.serv er.logging.ServerLogManager
-Dproduct.name=Sun-Java-System/Application-Server
-Dcom.sun.enterprise.overrideablejavaxpackages=java x.faces,javax.servlet.jsp.jstl,javax.xml.bind,java x.help
-Dcom.sun.aas.configRoot=/home/Programs/SUNWappserver/config
-Djava.library.path=/home/Programs/SUNWappserver/jdk/jre/lib/i386/client:/home/Programs/SUNWappserver/jdk/jre/lib/i386/client:/home/Programs/SUNWappserver/jdk/jre/lib/i386:/home/Programs/SUNWappserver/jdk/jre/../lib/i386:/home/Programs/SUNWappserver/lib:/usr/lib/lwp:/home/Programs/SUNWappserver/lib:/usr/lib/lwp:/home/Programs/SUNWappserver/jdk/jre/lib/i386/client:/home/Programs/SUNWappserver/jdk/jre/lib/i386:/home/Programs/SUNWappserver/jdk/jre/../lib/i386:/home/Programs/SUNWappserver/lib:/home/Programs/SUNWappserver/lib:/home/Programs/SUNWappserver/lib:
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
/home/Programs/SUNWappserver/lib/appserv-rt.jar:/home/Programs/SUNWappserver/jdk/lib/tools.jar:/home/Programs/SUNWappserver/lib/appserv-ext.jar:/home/Programs/SUNWappserver/lib/j2ee.jar:/home/Programs/SUNWappserver/lib/saaj-api.jar:/home/Programs/SUNWappserver/lib/saaj-impl.jar:/home/Programs/SUNWappserver/lib/appserv-admin.jar:/home/Programs/SUNWappserver/lib/admin-cli.jar:/home/Programs/SUNWappserver/lib/jaxr-api.jar:/home/Programs/SUNWappserver/lib/jaxr-impl.jar:/home/Programs/SUNWappserver/lib/relaxngDatatype.jar:/home/Programs/SUNWappserver/lib/xsdlib.jar:/home/Programs/SUNWappserver/lib/jax-qname.jar:/home/Programs/SUNWappserver/lib/jaxrpc-api.jar:/home/Programs/SUNWappserver/lib/jaxrpc-impl.jar:/home/Programs/SUNWappserver/lib/mail.jar:/home/Programs/SUNWappserver/lib/activation.jar:/home/Programs/SUNWappserver/lib/j2ee-svc.jar:/home/Programs/SUNWappserver/lib/appserv-cmp.jar:/home/Programs/SUNWappserver/lib/xercesImpl.jar:/home/Programs/SUNWappserver/lib/dom.jar:/home/Programs/SUNWappserver/lib/xalan.jar:/home/Programs/SUNWappserver/lib/commons-launcher.jar:/home/Programs/SUNWappserver/lib/jsf-api.jar:/home/Programs/SUNWappserver/lib/appserv-jstl.jar:/home/Programs/SUNWappserver/lib/rmissl.jar:/home/Programs/SUNWappserver/lib/jmxremote.jar:/home/Programs/SUNWappserver/lib/commons-logging.jar:/home/Programs/SUNWappserver/lib/jmxremote_optional.jar:/home/Programs/SUNWappserver/lib/jsf-impl.jar:/home/Programs/SUNWappserver/lib/appserv-upgrade.jar:/home/Programs/SUNWappserver/lib/install/applications/jmsra/imqjmsra.jar:/home/Programs/SUNWappserver/imq/lib/jaxm-api.jar:/home/Programs/SUNWappserver/imq/lib/fscontext.jar:/home/Programs/SUNWappserver/lib/ant/lib/ant.jar:/home/Programs/SUNWappserver/pointbase/lib/pbclient.jar:/home/Programs/SUNWappserver/pointbase/lib/pbembedded.jar
com.sun.enterprise.server.PEMain
start
display|#]

[#|2005-06-07T10:32:23.587-0400|WARNING|sun-appserver-pe8.1|javax.enterprise.system.tools.admin|_ThreadI D=10;|ADM5801:Admin
server channel creation failed.|#]

[#|2005-06-07T10:32:23.642-0400|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|U nknownException
during startup. Disable quick startup by setting system property
com.sun.enterprise.server.ss.ASQuickStartup to false
com.sun.appserv.server.ServerLifecycleException:
java.rmi.server.ExportException: Listen failed on port: 0; nested
exception is:
java.net.SocketException: Cannot assign requested address
at
com.sun.enterprise.admin.server.core.channel.Admin Channel.createRMIChannel(AdminChannel.java:79)
at
com.sun.enterprise.admin.server.core.AdminChannelL ifecycle.onInitialization(AdminChannelLifecycle.ja va:43)
at
com.sun.enterprise.server.ss.ASLazyKernel.initiali zeAdminService(ASLazyKernel.java:131)
at
com.sun.enterprise.server.ss.ASLazyKernel.startASS ocketServices(ASLazyKernel.java:51)
at com.sun.enterprise.server.PEMain.run(PEMain.java:2 74)
at com.sun.enterprise.server.PEMain.main(PEMain.java: 220)
Caused by: java.rmi.server.ExportException: Listen failed on port: 0;
nested exception is:
java.net.SocketException: Cannot assign requested address
at
sun.rmi.transport.tcp.TCPTransport.listen(TCPTrans port.java:245)
at
sun.rmi.transport.tcp.TCPTransport.exportObject(TC PTransport.java:17
at
sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCP Endpoint.java:382)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.jav a:116)
at
sun.rmi.server.UnicastServerRef.exportObject(Unica stServerRef.java:145)
at
sun.rmi.server.UnicastServerRef.exportObject(Unica stServerRef.java:129)
at
java.rmi.server.UnicastRemoteObject.exportObject(U nicastRemoteObject.java:275)
at
java.rmi.server.UnicastRemoteObject.exportObject(U nicastRemoteObject.java:206)
at
java.rmi.server.UnicastRemoteObject.<init>(Unicast RemoteObject.java:97)
at
com.sun.enterprise.admin.server.core.channel.Admin ChannelServer.<init>(AdminChannelServer.java:71)
at
com.sun.enterprise.admin.server.core.channel.Admin Channel.createServerObject(AdminChannel.java:216)
at
com.sun.enterprise.admin.server.core.channel.Admin Channel.createRMIChannel(AdminChannel.java:74)
... 5 more
Caused by: java.net.SocketException: Cannot assign requested address
at sun.nio.ch.Net.bind(Native Method)
at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSock etChannelImpl.java:10
at
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAd aptor.java:59)
at
com.sun.enterprise.server.ss.ASServerSocket.bind(A SServerSocket.java:126)
at
com.sun.enterprise.server.ss.ASServerSocketImpl.li sten(ASServerSocketImpl.java:121)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185 )
at
com.sun.enterprise.admin.server.core.channel.Local RMIServerSocketFactory.createServerSocket(LocalRMI ServerSocketFactory.java:61)
at
sun.rmi.transport.tcp.TCPEndpoint.newServerSocket( TCPEndpoint.java:615)
at
sun.rmi.transport.tcp.TCPTransport.listen(TCPTrans port.java:231)
... 16 more
|#]

[#|2005-06-07T10:32:23.650-0400|WARNING|sun-appserver-pe8.1|javax.enterprise.system.stream.err|_ThreadID =10;|java.lang.RuntimeException:
Admin Server Channel is not initialized
at
com.sun.enterprise.admin.server.core.channel.Admin Channel.assertAdminServerChannelNotNull(AdminChann el.java:337)
at
com.sun.enterprise.admin.server.core.channel.Admin Channel.setRMIChannelAborting(AdminChannel.java:16 7)
at
com.sun.enterprise.admin.server.core.AdminChannelL ifecycle.onAbort(AdminChannelLifecycle.java:84)
at
com.sun.enterprise.server.ss.ASLazyKernel.abortAdm inService(ASLazyKernel.java:144)
at
com.sun.enterprise.server.ss.ASLazyKernel.exitServ er(ASLazyKernel.java:77)
at
com.sun.enterprise.server.ss.ASLazyKernel.startASS ocketServices(ASLazyKernel.java:67)
at com.sun.enterprise.server.PEMain.run(PEMain.java:2 74)
at com.sun.enterprise.server.PEMain.main(PEMain.java: 220)
|#]

 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      06-07-2005
On 7 Jun 2005 08:42:50 -0700, http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:

> I hope members think this is a proper place to ask this question.


Possibly if you had not just asked the same question on c.l.j.help
<http://www.physci.org/codes/javafaq.jsp#xpost>

For future reference, here are the main Java groups and short description.
<http://www.physci.org/codes/javafaq.jsp#groups>

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Little gotcha related to Glassfish/Sun App Server admin console Arved Sandstrom Java 0 12-29-2008 06:22 AM
sun app server gives starting error harryos Java 0 10-28-2008 06:16 PM
Sun Updates Sun Java Availability Suite, Adds Sun Cluster Advanced Edition for Oracle Real Application Clusters Deployments technology_post@yahoo.com Java 0 04-05-2006 04:29 AM
Diff of Sun Java System AppServer vs. SunONE Server vs. Sun Java System Web Server ? Ulf Meinhardt Java 0 11-11-2004 09:40 PM
java sun app server deejay Java 2 04-28-2004 02:02 PM



Advertisments