[jboss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError exception when starting 4

2008-09-19 Thread PeterJ
Look again at what you downloaded: jboss-4.2.3.GA-jdk6.zip

This download for 4.2.3 is targeted for JDK6. However, you are using JDK5:

12:07:43,171 INFO [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc.
12:07:43,171 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0_16-b02,Sun Microsystems Inc.

You need to either download the regular 4.2.3 zip file, or install and use JDK6.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177709#4177709

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177709
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError exception when starting 4

2008-09-19 Thread Vijay_javaoca
greis,

w.r.t your post; I as well check if it is using the correct Java_home by 
editing the run.bat file and echoing the JAVA_HOME, found no issues with that.

I Also edited run.bat, and changed:
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m

to:

set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=10.1.162.14 -Xms128m -Xmx512m

But still it didn't work. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177639#4177639

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177639
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError exception when starting 4

2008-09-19 Thread Vijay_javaoca
Hi,

I have downloaded the latest version jboss Application server 
(jboss-4.2.3.GA-jdk6.zip) and unzipped.

But when I start the server I see many errors stack trace on the server 
console, specified below.


C:\>DevEnv\jboss-4.2.3.GA1\bin\run.bat -c all
===

  JBoss Bootstrap Environment

  JBOSS_HOME: C:\DevEnv\jboss-4.2.3.GA1

  JAVA: C:\Java\jdk1.5.0_16\bin\java

  JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli
ent.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360

  CLASSPATH: C:\Java\jdk1.5.0_16\lib\tools.jar;C:\DevEnv\jboss-4.2.3.GA1\bin\run
.jar

===

12:07:42,609 INFO  [Server] Starting JBoss (MX MicroKernel)...
12:07:42,609 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=
JBoss_4_2_3_GA date=200807181439)
12:07:42,609 INFO  [Server] Home Dir: C:\DevEnv\jboss-4.2.3.GA1
12:07:42,609 INFO  [Server] Home URL: file:/C:/DevEnv/jboss-4.2.3.GA1/
12:07:42,609 INFO  [Server] Patch URL: null
12:07:42,609 INFO  [Server] Server Name: all
12:07:42,609 INFO  [Server] Server Home Dir: C:\DevEnv\jboss-4.2.3.GA1\server\al
l
12:07:42,609 INFO  [Server] Server Home URL: file:/C:/DevEnv/jboss-4.2.3.GA1/ser
ver/all/
12:07:42,609 INFO  [Server] Server Log Dir: C:\DevEnv\jboss-4.2.3.GA1\server\all
\log
12:07:42,609 INFO  [Server] Server Temp Dir: C:\DevEnv\jboss-4.2.3.GA1\server\al
l\tmp
12:07:42,609 INFO  [Server] Root Deployment Filename: jboss-service.xml
12:07:43,171 INFO  [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc.
12:07:43,171 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_16-b02
,Sun Microsystems Inc.
12:07:43,171 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
12:07:44,500 INFO  [Server] Core system initialized
12:07:50,125 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083
/
12:07:50,125 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:jboss-log4j.xml
12:07:51,093 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA
version) - JBoss Inc.
12:07:51,093 INFO  [TransactionManagerService] Setting up property manager MBean
 and JMX layer
12:07:51,531 INFO  [TransactionManagerService] Starting recovery manager
12:07:51,703 INFO  [TransactionManagerService] Recovery manager started
12:07:51,703 INFO  [TransactionManagerService] Binding TransactionManager JNDI R
eference
12:07:58,687 INFO  [EJB3Deployer] Starting java:comp multiplexer
12:08:01,578 INFO  [STDOUT]
---
GMS: address is 127.0.0.1:4166
---
12:08:03,609 INFO  [TreeCache] viewAccepted(): [127.0.0.1:4166|0] [127.0.0.1:416
6]
12:08:03,640 INFO  [TreeCache] TreeCache local address is 127.0.0.1:4166
12:08:03,640 INFO  [TreeCache] State could not be retrieved (we are the first me
mber in group)
12:08:03,640 INFO  [TreeCache] parseConfig(): PojoCacheConfig is empty
12:08:04,828 ERROR [MainDeployer] Could not initialise deployment: file:/C:/DevE
nv/jboss-4.2.3.GA1/server/all/deploy/jbossws.sar/
java.lang.NoClassDefFoundError: javax/ejb/Stateless
at org.jboss.ejb3.EJB3Util.isStateless(EJB3Util.java:42)
at org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation(EJB3Deployer.java:219)
at org.jboss.ejb3.EJB3Deployer.accepts(EJB3Deployer.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)



And once I try to access the URL http://localhost:8080/ I’m not getting any 
thing displayed. Even though I see this on  the server console:

12:12:52,859 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
12:12:52,937 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
12:12:52,953 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBos
s_4_2_3_GA date=200807181439)] Started in 5m:10s:344ms


Can any one please help me out with a solution?

Many Thanks,
Vijay G


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177631#4177631

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177631

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError exception when starting 4

2008-09-09 Thread greis
You're right. The start parameter is unnecessary but doesn't affect the 
behavior. I think I found the problem. The script doesn't use the JAVA_HOME 
that I set on the /etc/profile. Now it is working with this:

ssh localhost "export JAVA_HOME=/opt/jdk1.6 && /opt/jboss/bin/run.sh"

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175318#4175318

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175318
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError exception when starting 4

2008-09-09 Thread erasmomarciano

Why use the parameter start?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175315#4175315

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175315
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError exception when starting 4

2008-09-09 Thread greis
I'm having the same problem but it happens when I try to start jboss over ssh 
execution. Something like this:

ssh localhost "/opt/jboss/bin/run.sh start"


If I start it in the local machine it works fine, but if I start it remotely, 
the same stacktrace appears.

Any idea?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175299#4175299

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175299
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError exception when starting 4

2008-09-01 Thread erasmomarciano
Try  as suggested jaikiran.

If your Jboss starting with error you check host file.


 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173520#4173520

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173520
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError exception when starting 4

2008-08-31 Thread jaikiran
anonymous wrote : 14:01:59,675 ERROR [MainDeployer] Could not initialise 
deployment: file:/Development/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/
  | java.lang.NoClassDefFoundError: javax/ejb/Stateless 

I wouldn't expect the deployment to fail with a NoClassDefFoundError for this 
class. Is this a clean installation of JBoss? Did you do any changes after 
downloading JBoss? If not, then maybe the downloaded file was corrupt. Try 
downloading JBoss again.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173503#4173503

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173503
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user