-
1. Re: Problem with HelloWorld example
sgturner Jul 24, 2002 1:46 AM (in response to sgturner)Its been a long day and I'm being dumb. Figured it out. Scratch this problem !!
-
2. Re: Problem with HelloWorld example
sleepi Jul 31, 2002 4:20 AM (in response to sgturner)I seem to occure this situation.
When I build and deploy the HelloWorld wsr to Jboss, no error it displayed.
And I run the client program and get some error message as follows.
##########################################################
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lo
gging/LogFactory
at org.apache.axis.configuration.DefaultEngineConfigurationFactory.<clin
it>(DefaultEngineConfigurationFactory.java:85)
at org.apache.axis.client.Service.(Service.java:107)
at testClient1.main(testClient1.java:30)
##########################################################
Maybe I have to put the commons-logging.jar in classpath, and retry again.
it happened the other exception.
##########################################################
Exception in thread "main" java.lang.NoClassDefFoundError: com/techtrader/module
s/tools/bytecode/BCEntity
at org.apache.axis.encoding.Hex.(Hex.java:102)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at org.apache.axis.encoding.DefaultTypeMappingImpl.(DefaultTypeMap
pingImpl.java:168)
at org.apache.axis.encoding.DefaultTypeMappingImpl.create(DefaultTypeMap
pingImpl.java:119)
at org.apache.axis.encoding.TypeMappingRegistryImpl.(TypeMappingRe
gistryImpl.java:178)
at org.apache.axis.deployment.wsdd.WSDDDeployment.(WSDDDeployment.
java:494)
at org.apache.axis.deployment.wsdd.WSDDDocument.(WSDDDocument.java
:109)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvid
er.java:205)
at org.apache.axis.AxisEngine.init(AxisEngine.java:189)
at org.apache.axis.AxisEngine.(AxisEngine.java:174)
at org.apache.axis.client.AxisClient.(AxisClient.java:83)
at org.apache.axis.client.Service.getAxisClient(Service.java:125)
at org.apache.axis.client.Service.(Service.java:134)
at testClient1.main(testClient1.java:30)
##########################################################
It's not to work. Any somebody can help??
Thinks!! -
3. Re: Problem with HelloWorld example
scharlau Aug 5, 2002 5:45 PM (in response to sgturner)You need the tt-bytecode.jar in your server//lib directory per the errors in the file.
cheers,
Bruce -
4. Re: Problem with HelloWorld example
sleepi Aug 6, 2002 5:19 AM (in response to sgturner)So excited!! It's to work. Thanks Bruce your help.
Have some question. When I put the wsr into the server/default/deploy directory, the jboss does not deploy it. And puts into the /server/all/deploy directory, it's work. Why? -
5. Re: Problem with HelloWorld example
scharlau Aug 21, 2002 12:08 PM (in response to sgturner)It depends upon how you start JBoss. If you start with 'run' it uses server/default/ files. If you start with 'run -c all' then it uses the configuration under server/all.
Glad to hear you got it all working ok!
cheers
Bruce