- This topic has 5 replies, 3 voices, and was last updated 16 years, 1 month ago by Brian Fernandes.
-
AuthorPosts
-
dr_khaledcsMemberHi,
I have Tomcat 6 with some web applications which run successfuly outside Myeclipse. But, if I run Tomcat 6 from inside Myeclipse, I receive a NoClassFound error for a class which I am sure it exists. Any idea, please
Best regards
Khaled
Loyal WaterMemberKhaled,
Can you make sure the connector looks like this:-
https://www.genuitec.com/forums/topic/tomcat-6-what-does-a-configured-connector-look-like/Can you paste the entire error message here for me.
Also, can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
dr_khaledcsMemberThanks for the help.
My connector is correct. The entire error message is as follows:
Apr 24, 2008 1:27:04 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\MyEclipse 6.0\bin;C:\lcds26\tomcat\bin
Apr 24, 2008 1:27:05 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8400
Apr 24, 2008 1:27:05 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 457 ms
Apr 24, 2008 1:27:05 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 24, 2008 1:27:05 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
******************************************************************************
* *
* Unable to connect to the samples database. *
* You must start the samples database before you can run the samples. *
* To start the samples database: *
* 1. Open a command prompt and go to the {install-dir}/sampledb dir *
* 2. Run startdb.bat (Windows) or startdb.sh (Unix-based systems) *
* *
******************************************************************************
[LCDS] Adobe LiveCycle Data Services: 2.6.0.201390
[LCDS] Server my-nio-server of type flex.messaging.socketserver.SocketServer created.
[LCDS] Endpoint my-nio-amf created with security: None
at URL: http://{server.name}:2880/nioamf
[LCDS] Endpoint my-amf created with security: None
at URL: http://{server.name}:{server.port}/{context.root}/messagebroker/amf
[LCDS] Endpoint my-nio-http created with security: None
at URL: http://{server.name}:2880/niohttp
[LCDS] Endpoint my-polling-amf created with security: None
at URL: http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling
[LCDS] Endpoint my-http created with security: None
at URL: http://{server.name}:{server.port}/{context.root}/messagebroker/http
[LCDS] Endpoint my-secure-amf created with security: None
at URL: https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure
[LCDS] Endpoint my-nio-amf-poll created with security: None
at URL: http://{server.name}:2880/nioamfpoll
[LCDS] Endpoint my-rtmp created with security: None
at URL: rtmp://{server.name}:2038
[LCDS] Endpoint my-secure-http created with security: None
at URL: https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure
[LCDS] MessageBroker id: __default__ classLoader is: the MessageBroker’s class loader and the context class loader (classLoader hashCode: 23511000 (parent hashCode: 3449340 (parent system))
[LCDS] Starting Adobe LiveCycle Data Services: 2.6.0.201390 Single CPU License
[LCDS] NIOAMFEndpoint ‘my-nio-amf’ has started and is using server ‘my-nio-server’.
[LCDS] NIOHTTPEndpoint ‘my-nio-http’ has started and is using server ‘my-nio-server’.
[LCDS] NIOAMFEndpoint ‘my-nio-amf-poll’ has started and is using server ‘my-nio-server’.
[LCDS] SocketServer ‘my-rtmp-SocketServer’ is starting.
[LCDS] SocketServer ‘my-rtmp-SocketServer’ is using an assigned executor of type: flex.messaging.util.concurrent.DefaultThreadPoolExecutor
[LCDS] SocketServer ‘my-rtmp-SocketServer’ has determined the default thread priority for its executor to be 5.
[LCDS] Reactor ‘Reactor1’ for SocketServer ‘my-rtmp-SocketServer’ is starting.
[LCDS] Reactor ‘Reactor1’ for SocketServer ‘my-rtmp-SocketServer’ has started and is running at priority 5.
[LCDS] Reactor ‘Reactor2’ for SocketServer ‘my-rtmp-SocketServer’ is starting.
[LCDS] Reactor ‘Reactor2’ for SocketServer ‘my-rtmp-SocketServer’ has started and is running at priority 5.
[LCDS] Acceptor ‘Acceptor1’ for SocketServer ‘my-rtmp-SocketServer’ is starting.
[LCDS] Acceptor ‘Acceptor1’ for SocketServer ‘my-rtmp-SocketServer’ has successfully bound ‘/0.0.0.0:2038’ to accept new client connections.
[LCDS] Acceptor ‘Acceptor1’ for SocketServer ‘my-rtmp-SocketServer’ has started and is running at priority 5.
[LCDS] SocketServer ‘my-rtmp-SocketServer’ has started.
[LCDS] SocketServer ‘my-nio-server’ is starting.
[LCDS] SocketServer ‘my-nio-server’ is using an assigned executor of type: flex.messaging.util.concurrent.DefaultThreadPoolExecutor
[LCDS] SocketServer ‘my-nio-server’ has determined the default thread priority for its executor to be 5.
[LCDS] Reactor ‘Reactor1’ for SocketServer ‘my-nio-server’ is starting.
[LCDS] Reactor ‘Reactor1’ for SocketServer ‘my-nio-server’ has started and is running at priority 5.
[LCDS] Reactor ‘Reactor2’ for SocketServer ‘my-nio-server’ is starting.
[LCDS] Reactor ‘Reactor2’ for SocketServer ‘my-nio-server’ has started and is running at priority 5.
[LCDS] Acceptor ‘Acceptor1’ for SocketServer ‘my-nio-server’ is starting.
[LCDS] Acceptor ‘Acceptor1’ for SocketServer ‘my-nio-server’ has successfully bound ‘/0.0.0.0:2880’ to accept new client connections.
[LCDS] Acceptor ‘Acceptor1’ for SocketServer ‘my-nio-server’ has started and is running at priority 5.
[LCDS] SocketServer ‘my-nio-server’ has started.
– Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
– Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
Apr 24, 2008 1:27:41 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class flex.messaging.HttpFlexSession
java.lang.ClassNotFoundException: flex.messaging.HttpFlexSession
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Apr 24, 2008 1:27:41 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Apr 24, 2008 1:27:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 24, 2008 1:27:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
Apr 24, 2008 1:27:41 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8400
Apr 24, 2008 1:27:41 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Apr 24, 2008 1:27:41 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
Apr 24, 2008 1:27:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 36856 ms====================================================================================================
The installation summry is as follows:
*** Date:
Thursday, April 24, 2008 1:34:09 PM AST** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.1 GA
Build id: 6.0.1-GA-200710*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 6.0.1 GA
Build id: 6.0.1-GA-200710Eclipse Platform
Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
Build id: M20070921-1145Eclipse Graphical Editing Framework
Version: 3.3.1.v20070814
Build id: 20070814-1555Eclipse RCP
Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
Build id: M20070921-1145Eclipse Platform
Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
Build id: M20070921-1145Eclipse RCP
Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
Build id: M20070921-1145Eclipse Java Development Tools
Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
Build id: M20070921-1145Eclipse Plug-in Development Environment
Version: 3.3.1.R33x_r20070802-7N7M3D1VIA_52JsDFsEC
Build id: M20070921-1145Eclipse Project SDK
Version: 3.3.1.R33x_r20070802-7M7J78_mu1mnlRa7A4Ns52XeZ6D0
Build id: M20070921-1145Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828\eclipse_1020.dll
-startup
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata
3d0_80
-vm
C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe==================================
Best regards
Khaled
Loyal WaterMemberKhaled,
You working with Apache Tomcat 6? Your error trace is showing Flex errors. an download another build of Tomcat 6 and test this again.
dr_khaledcsMemberThanks.
I know it is caused by Myeclipse which can not load the class although tomcat is working correctly outside myeclipse. But, why myeclipse when it runs tomcat from inside can not load the flex class successfuly?
Best regards
Khaled
Brian FernandesModeratorKhaled,
Are you attempting to run the same instance of Tomcat from both within ME and outside?
When you say you’re sure the class exists, is it part of your application or is it in Tomcat’s common library location? It is also possible that when started externally, your startup script is augmenting Tomcat’s classpath, if this is the case, you need to make the same settings in the Tomcat 6 > Paths preference page.
Hope this helps
-
AuthorPosts