Problem adding Apache ODE v1.x server in eclipse [message #560000] |
Mon, 20 September 2010 12:33  |
Eclipse User |
|
|
|
While installing or adding Apache ODE v1.x server from server palette. Apache ODE server is displayed in server Palette and it shows "Apache ODE v1.x server [stopped]"
when starting the ODE server an error box appears with the message "Server port In Use http 8080". If i change the port no. from 8080 to 9090, then the error box with message "Server port failed to start" appears. I dont know what is the error in adding that server.
Note: Apache Tomcat is running in port 8080. Apache ODE Server requires Tomcat server in Up/Running condition.
Java Virtual Machine Launcher displays:
"could not find the main class : org,apache.catalina.startup.Bootstrap. Program will exist."
Message from console:
java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:55)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
[Updated on: Mon, 20 September 2010 12:55] by Moderator
|
|
|
|
Re: Problem adding Apache ODE v1.x server in eclipse [message #593804 is a reply to message #560193] |
Tue, 21 September 2010 14:26   |
Eclipse User |
|
|
|
Thanks for your reply Bob,
but i don't know which port no should i change in server.xml, so kindly help.
This is the server.xml file.
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8005" shutdown="SHUTDOWN">
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener " />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener " />
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory "
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<!--
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
-->
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
<Connector port="9090" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<!--
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<Engine name="Catalina" defaultHost="localhost">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
-->
</Host>
</Engine>
</Service>
</Server>
|
|
|
|
|
|
|
|
|
|
|
|
Re: Problem adding Apache ODE v1.x server in eclipse [message #1225644 is a reply to message #998410] |
Mon, 30 December 2013 06:27  |
Eclipse User |
|
|
|
I could not solve the problem still. I changed the server.xml file and port number in the "Server / Runtime Environment". Also enter the tomcat-juli.jar in Classpath, but I have the following problem:
Dez 30, 2013 9:14:23 AM org.apache.coyote.http11.Http11Protocol pause
Informações: Pausing Coyote HTTP/1.1 on http-8080
Dez 30, 2013 9:14:24 AM org.apache.catalina.core.StandardService stop
Informações: Stopping service Catalina
Dez 30, 2013 9:14:24 AM org.apache.catalina.core.ApplicationContext log
Informações: SessionListener: contextDestroyed()
Dez 30, 2013 9:14:24 AM org.apache.catalina.core.ApplicationContext log
Informações: ContextListener: contextDestroyed()
09:14:24,385 INFO [BpelServerImpl] BPEL Server Stopped.
2013-12-30 11:14:24.388 GMT:
Shutting down instance a816c00e-0143-4336-2842-00000603e350
----------------------------------------------------------------
09:14:24,404 INFO [ODEServer] Shutdown completed.
Dez 30, 2013 9:14:24 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
Grave: The web application [/ode] registered the JDBC driver [org.apache.derby.jdbc.AutoloadedDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Dez 30, 2013 9:14:24 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Grave: The web application [/ode] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.
Dez 30, 2013 9:14:24 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
Grave: The web application [/ode] created a ThreadLocal with key of type [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1] (value [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1@1fb4a983]) and a value of type [java.util.WeakHashMap] (value [{={1}, ={3}}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dez 30, 2013 9:14:25 AM org.apache.coyote.http11.Http11Protocol destroy
Informações: Stopping Coyote HTTP/1.1 on http-8080
What do I do to solve it?
|
|
|
Powered by
FUDForum. Page generated in 0.05208 seconds