wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes when i strat my server i am facing below problem in solaris Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "when i strat my server i am facing below problem in solaris" Watch "when i strat my server i am facing below problem in solaris" New topic
Author

when i strat my server i am facing below problem in solaris

shiva chimmani
Greenhorn

Joined: Sep 01, 2009
Posts: 3
hi all,

please help me when i run jboss i am facing the problem.

NOTE: i have the jboss-as/server/default/conf/jboss-service.xml

root@nms-T1000-03 /opt/packages/jboss-eap-4.3/jboss-as/bin
>>./run.sh -b 10.232.170.192 -c MyWebTest.war
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /opt/packages/jboss-eap-4.3/jboss-as

JAVA: /usr/jdk/jdk1.5.0_07/bin/java

JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true

CLASSPATH: /opt/packages/jboss-eap-4.3/jboss-as/bin/run.jar:/usr/jdk/jdk1.5.0_07/lib/tools.jar

=========================================================================

16:30:40,646 INFO [Server] Starting JBoss (MX MicroKernel)...
16:30:40,651 INFO [Server] Release ID: JBoss [EAP] 4.3.0.GA_CP06 (build: SVNTag=JBPAPP_4_3_0_GA_CP06 date=200907141446)
16:30:40,657 INFO [Server] Home Dir: /opt/packages/jboss-eap-4.3/jboss-as
16:30:40,658 INFO [Server] Home URL: file:/opt/packages/jboss-eap-4.3/jboss-as/
16:30:40,661 INFO [Server] Patch URL: null
16:30:40,662 INFO [Server] Server Name: MyWebTest.war
16:30:40,663 INFO [Server] Server Home Dir: /opt/packages/jboss-eap-4.3/jboss-as/server/MyWebTest.war
16:30:40,664 INFO [Server] Server Home URL: file:/opt/packages/jboss-eap-4.3/jboss-as/server/MyWebTest.war/
16:30:40,665 INFO [Server] Server Log Dir: /opt/packages/jboss-eap-4.3/jboss-as/server/MyWebTest.war/log
16:30:40,666 INFO [Server] Server Temp Dir: /opt/packages/jboss-eap-4.3/jboss-as/server/MyWebTest.war/tmp
16:30:40,668 INFO [Server] Root Deployment Filename: jboss-service.xml
16:30:42,037 INFO [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc.
16:30:42,038 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_07-b03,Sun Microsystems Inc.
16:30:42,039 INFO [ServerInfo] OS-System: SunOS 5.10,sparc
16:30:42,054 INFO [ServerInfo] VM arguments: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djava.endorsed.dirs=/opt/packages/jboss-eap-4.3/jboss-as/lib/endorsed
16:30:43,178 INFO [Server] Core system initialized
Failed to boot JBoss:
org.jboss.deployment.DeploymentException: url file:/opt/packages/jboss-eap-4.3/jboss-as/server/MyWebTest.war/conf/jboss-service.xml could not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:214)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:781)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:513)
at java.lang.Thread.run(Thread.java:595)
16:30:43,289 INFO [Server] Runtime shutdown hook called, forceHalt: true
16:30:43,290 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
16:30:43,319 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5830
    
    7

Your -c option is incorrect. The value passed to -c must be the name of a directory in the $JBOSS_HOME/server directory. With EAP 4.3, the possibilities are 'all', 'default', 'minimal', and 'production'.

So where did you place MyWebTest.war? In $JBOSS_HOME/server/default/deploy? If so, then start it using:

./run.sh -b 10.232.170.192 -c default

Or if you placed it in $JBOSS_HOME/server/production/deploy, you could use:

./run.sh -b 10.232.170.192

because 'production' is the default server configuration for EAP (if I recall correctly...).

JBoss In Action
shiva chimmani
Greenhorn

Joined: Sep 01, 2009
Posts: 3
hi Peter Johnson,

i am very very thank full to you.it is working fine now

regard's
shiva shankar.c
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: when i strat my server i am facing below problem in solaris