This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes jboss on solaris ,exception while running Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss on solaris ,exception while running" Watch "jboss on solaris ,exception while running" New topic
Author

jboss on solaris ,exception while running

vivek varun
Greenhorn

Joined: Nov 15, 2005
Posts: 1
Dear Friends,

I am facing problem while running jboss4.0.2 on Solaris 9.
When I was running the run.sh file from bin directory
I got this error on console


bash-2.05$ ./run.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /space1/dhandb/vivek/jboss-4.0.2

JAVA: /usr/java/bin/java

JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

CLASSPATH: /space1/dhandb/vivek/jboss-4.0.2/bin/run.jar:/usr/java/lib/tools.jar

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

11:59:30,522 INFO [Server] Starting JBoss (MX MicroKernel)...
11:59:30,528 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
11:59:30,529 INFO [Server] Home Dir: /space1/dhandb/vivek/jboss-4.0.2
11:59:30,534 INFO [Server] Home URL: file:/space1/dhandb/vivek/jboss-4.0.2/
11:59:30,535 INFO [Server] Library URL: file:/space1/dhandb/vivek/jboss-4.0.2/lib/
11:59:30,539 INFO [Server] Patch URL: null
11:59:30,541 INFO [Server] Server Name: default
11:59:30,541 INFO [Server] Server Home Dir: /space1/dhandb/vivek/jboss-4.0.2/server/default
11:59:30,543 INFO [Server] Server Home URL: file:/space1/dhandb/vivek/jboss-4.0.2/server/default/
11:59:30,544 INFO [Server] Server Data Dir: /space1/dhandb/vivek/jboss-4.0.2/server/default/data
11:59:30,544 INFO [Server] Server Temp Dir: /space1/dhandb/vivek/jboss-4.0.2/server/default/tmp
11:59:30,546 INFO [Server] Server Config URL: file:/space1/dhandb/vivek/jboss-4.0.2/server/default/conf/
11:59:30,547 INFO [Server] Server Library URL: file:/space1/dhandb/vivek/jboss-4.0.2/server/default/lib/
11:59:30,548 INFO [Server] Root Deployment Filename: jboss-service.xml
11:59:30,564 INFO [Server] Starting General Purpose Architecture (GPA)...
11:59:33,732 INFO [ServerInfo] Java version: 1.4.2_08,Sun Microsystems Inc.
11:59:33,733 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2_08-b03,Sun Microsystems Inc.
11:59:33,734 INFO [ServerInfo] OS-System: SunOS 5.9,sparc
11:59:37,610 INFO [Server] Core system initialized
11:59:50,465 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
11:59:51,219 INFO [WebService] Using RMI server codebase: http://shakthi:8083/
11:59:53,935 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
12:00:28,144 INFO [Embedded] Catalina naming disabled
12:00:30,312 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
12:00:30,319 INFO [Catalina] Initialization processed in 1914 ms
12:00:30,333 INFO [StandardService] Starting service jboss.web
12:00:30,404 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
12:00:30,756 INFO [StandardHost] XML validation disabled
12:00:31,229 INFO [Catalina] Server startup in 905 ms
12:00:32,114 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/space1/dhandb/vivek/jboss-4.0.2/server/default/deploy/http-invoker.sar/invoker.war/
12:00:34,845 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
12:00:36,399 INFO [[/invoker]] Marking servlet default as unavailable
12:00:36,412 ERROR [[/invoker]] Servlet /invoker threw load() exception
java.lang.NoClassDefFoundError: org/apache/naming/resources/Resource
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getConstructor0(Class.java:1930)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
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:324)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.inv




If any one help me
I'll be thankful.

Vivek
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jboss on solaris ,exception while running
 
Similar Threads
JBoss for Linux
JBoss performance Tuning in Linux
DeploymentException: Error cant find datasource:
can't find data source: java:/OracleDS
java.lang.Unsatisfiedlinkerror