This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in starting the domain in application server 8.2

 
Abhay Dhar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to deploy a application EAR on newly created domain. For this :
1. Got the 8.2 Java application server installed on solaris box.
2. Created domain using the asadmin command -> create-domain --adminport 4848 --adminuser admin <DOMAIN_NAME>

On starting the domain with this command - sh asadmin start-domain --user admin <DOMAIN_NAME. I am facing the below issue.javascript:emoticon(''); Please note this is a fresh installation of the app server and a new domain

To troubleshoot this, I have already followed below steps , without resolution:
1. Checked port with - netstat -an|grep 45184 and also checked the processes using ps -fu <unix_user>. Even after killing the process, same error.
2. Gave full permissions on /AppServer8.2/imq/var/instances
3. Logged in as root user and then tried to start domain
4. Updated domain.xml with some other port , checked this port if it is free , then replaced in domain.xml
5. No logs generated in /AppServer8.2/imq/var/instances

Please help me in resolving this issue. I have downloaded the 9.1 application server and will install and check in the meantime javascript:emoticon('');
----------------------------------------------------------------------------------------------------------------------------------

[#|2013-07-29T14:14:34.067+0530|INFO|sun-appserver-pe8.2|javax.enterprise.tools.launcher|_ThreadID=10;|
/usr/j2se/bin/java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=/PostCUG_Track1/AppServer8.2/domains/MPCBebk/logs/server.log
-Djava.endorsed.dirs=/PostCUG_Track1/AppServer8.2/lib/endorsed
-Djava.security.policy=/PostCUG_Track1/AppServer8.2/domains/MPCBebk/config/server.policy
-Djava.security.auth.login.config=/PostCUG_Track1/AppServer8.2/domains/MPCBebk/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=/PostCUG_Track1/AppServer8.2/domains/MPCBebk/config/keystore.jks
-Djavax.net.ssl.trustStore=/PostCUG_Track1/AppServer8.2/domains/MPCBebk/config/cacerts.jks
-Djava.ext.dirs=/usr/j2se/jre/lib/ext:/PostCUG_Track1/AppServer8.2/domains/MPCBebk/lib/ext:/PostCUG_Track1/AppServer8.2/derby/lib
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
-Dcom.sun.aas.configName=server-config
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Ddomain.name=MPCBebk
-Djmx.invoke.getters=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=/PostCUG_Track1/AppServer8.2/domains/MPCBebk
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
-Dcom.sun.aas.domainName=MPCBebk
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dproduct.name=Sun-Java-System/Application-Server
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
-Dcom.sun.aas.configRoot=/PostCUG_Track1/AppServer8.2/config
-Djava.library.path=/usr/j2se/jre/lib/sparc/client:/usr/j2se/jre/lib/sparc/client:/usr/j2se/jre/lib/sparc:/usr/j2se/jre/../lib/sparc:/PostCUG_Track1/AppServer8.2/lib:/usr/lib/lwp:/PostCUG_Track1/AppServer8.2/lib:/usr/lib/lwp:/usr/j2se/jre/lib/sparc/client:/usr/j2se/jre/lib/sparc:/usr/j2se/jre/../lib/sparc:/PostCUG_Track1/AppServer8.2/lib:/PostCUG_Track1/AppServer8.2/lib:/PostCUG_Track1/AppServer8.2/lib:/opt/CA/SharedComponents/lib:/usr/lib
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
/PostCUG_Track1/AppServer8.2/lib/appserv-rt.jar:/usr/j2se/lib/tools.jar:/PostCUG_Track1/AppServer8.2/lib/j2ee.jar:/PostCUG_Track1/AppServer8.2/lib/activation.jar:/PostCUG_Track1/AppServer8.2/lib/mail.jar:/PostCUG_Track1/AppServer8.2/lib/appserv-cmp.jar:/PostCUG_Track1/AppServer8.2/lib/admin-cli.jar:/PostCUG_Track1/AppServer8.2/lib/appserv-admin.jar:/PostCUG_Track1/AppServer8.2/lib/appserv-jstl.jar:/PostCUG_Track1/AppServer8.2/lib/commons-launcher.jar:/PostCUG_Track1/AppServer8.2/lib/commons-logging.jar:/PostCUG_Track1/AppServer8.2/lib/j2ee-svc.jar:/PostCUG_Track1/AppServer8.2/lib/jaxr-api.jar:/PostCUG_Track1/AppServer8.2/lib/jaxr-impl.jar:/PostCUG_Track1/AppServer8.2/lib/jaxrpc-api.jar:/PostCUG_Track1/AppServer8.2/lib/jaxrpc-impl.jar:/PostCUG_Track1/AppServer8.2/lib/dom.jar:/PostCUG_Track1/AppServer8.2/lib/relaxngDatatype.jar:/PostCUG_Track1/AppServer8.2/lib/jax-qname.jar:/PostCUG_Track1/AppServer8.2/lib/saaj-api.jar:/PostCUG_Track1/AppServer8.2/lib/saaj-impl.jar:/PostCUG_Track1/AppServer8.2/lib/xsdlib.jar:/PostCUG_Track1/AppServer8.2/lib/jmxremote.jar:/PostCUG_Track1/AppServer8.2/lib/jmxremote_optional.jar:/PostCUG_Track1/AppServer8.2/lib/jsf-api.jar:/PostCUG_Track1/AppServer8.2/lib/jsf-impl.jar:/PostCUG_Track1/AppServer8.2/lib/rmissl.jar:/PostCUG_Track1/AppServer8.2/lib/xalan.jar:/PostCUG_Track1/AppServer8.2/lib/xercesImpl.jar:/PostCUG_Track1/AppServer8.2/lib/appserv-upgrade.jar:/PostCUG_Track1/AppServer8.2/lib/appserv-ext.jar:/PostCUG_Track1/AppServer8.2/lib/install/applications/jmsra/imqjmsra.jar:/PostCUG_Track1/AppServer8.2/imq/lib/jaxm-api.jar:/PostCUG_Track1/AppServer8.2/imq/lib/fscontext.jar:/PostCUG_Track1/AppServer8.2/lib/ant/lib/ant.jar
com.sun.enterprise.server.PEMain
start
display|#]

[#|2013-07-29T14:15:35.774+0530|INFO|sun-appserver-pe8.2|javax.enterprise.resource.jms|_ThreadID=10;|JMS5035: Timed out after 60000 milliseconds while trying to verify if the JMS service startup succeeded.|#]

[#|2013-07-29T14:15:35.776+0530|INFO|sun-appserver-pe8.2|javax.enterprise.resource.jms|_ThreadID=10;|JMS5037: Check permissions of MQ instance directory /PostCUG_Track1/AppServer8.2/imq/var/instances|#]

[#|2013-07-29T14:15:35.776+0530|INFO|sun-appserver-pe8.2|javax.enterprise.resource.jms|_ThreadID=10;|JMS5036: More details may be available in the log file for the JMS service broker instance imqbroker. Please refer to the JMS provider documentation for the exact location of this log file.|#]

[#|2013-07-29T14:15:35.777+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|UnknownException during startup. Disable quick startup by setting system property com.sun.enterprise.server.ss.ASQuickStartup to false
com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [127.0.0.1:45184]. - cause: java.io.IOException
at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:427)
at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:54)
at com.sun.enterprise.server.PEMain.run(PEMain.java:274)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [127.0.0.1:45184]. - cause: java.io.IOException
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSConnectException(ExceptionHandler.java:233)
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException(ExceptionHandler.java:180)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:191)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:116)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:54)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:61)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:102)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionOld(ConnectionInitiator.java:291)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:113)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:98)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:613)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:1194)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1949)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:745)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:315)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectionImpl.java:32)
at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.java:72)
at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.pingProvider(JMSAdminImpl.java:783)
at com.sun.enterprise.jms.JmsProviderLifecycle.waitForJmsProvider(JmsProviderLifecycle.java:335)
at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:396)
... 3 more
Caused by: java.io.IOException
at com.sun.enterprise.server.ss.ASInputStream.waitForSelect(ASInputStream.java:118)
at com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:81)
at com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:73)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at com.sun.messaging.jmq.io.PortMapperTable.readLine(PortMapperTable.java:277)
at com.sun.messaging.jmq.io.PortMapperTable.read(PortMapperTable.java:233)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:185)
... 21 more
Caused by: java.io.IOException: Invalid argument
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:136)
at sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:70)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:70)
at com.sun.enterprise.server.ss.ASSelector.select(ASSelector.java:92)
at com.sun.enterprise.server.ss.ASInputStream.waitForSelect(ASInputStream.java:101)
... 28 more
|#]

[#|2013-07-29T14:15:35.798+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|Exception while stoppping Lifecycle.
com.sun.appserv.server.ServerLifecycleException: MQ startup failed :[C4003]: Error occurred on connection creation [127.0.0.1:45184]. - cause: java.io.IOException
at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:376)
at com.sun.enterprise.jms.JmsProviderLifecycle.onShutdown(JmsProviderLifecycle.java:445)
at com.sun.enterprise.server.ss.ASLazyKernel.stopLifecycle(ASLazyKernel.java:178)
at com.sun.enterprise.server.ss.ASLazyKernel.stopMQ(ASLazyKernel.java:172)
at com.sun.enterprise.server.ss.ASLazyKernel.exitServer(ASLazyKernel.java:74)
at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:67)
at com.sun.enterprise.server.PEMain.run(PEMain.java:274)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic