Tomcat 4.0 vs Tomcat 4.1
Hi,
This is an error using Tomcat 4.0, but not in Tomcat 4.1:
<html:link href="<%=MyClass.MyFunction("Hello World")%>"> Hello </html:link> I want to switch to Tomcat 4.1 so that being able to debug jsp files in jbuilder.
Thanks in advance.
Thanks for reply, but the redundancy is about the example. It's just example! I should put some double quotations sequentially. I wat to ask if this is possible to have 4 double quotations respectively istead of using a singel+double+double+single quote.
Now is it correct:
<html:link href="<%="foo"%>" >1234</html:link>
Similar Messages
-
Revision: 15533
Revision: 15533
Author: [email protected]
Date: 2010-04-17 04:20:11 -0700 (Sat, 17 Apr 2010)
Log Message:
Back out some local changes to tomcat-users.xml and tomcat-users.xml.install I inadvertently checked in when upgrading ActiveMQ on BlazeDS/trunk.
Modified Paths:
blazeds/trunk/servers/apache-tomcat-6.0.14/conf/tomcat-users.xml
blazeds/trunk/servers/apache-tomcat-6.0.14/conf/tomcat-users.xml.installi will not read all that!!!! Format it! Lots of useless information commented.
java.net.SocketException: java.net.ConnectException: Connection timed out: connect
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
Tells me you have a connection error on Mysql. Quick search show me this:
<Resource name="jdbc/passport" auth="Container"
type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://258.1.54.134:3306/xmnext_passport"
username="dda" password="zhoussda" maxActive="20" maxIdle="10"
maxWait="-1"/>
Can you connect to the server using thos setting with a mysql client in the server? -
A problem with Tomcat (Can't run tomcat as a service.).
Hi
May be you can help me (please).
I do the following steps, as described in many documents I've found.
1. Downloaded the jk_nt_service.exe and put it into jdk1.3.1jre\bin\classic
2. configured wrapper.properties:
wrapper.tomcat_home=C:\tomcat324 wrapper.java_home=C:\work\jdk1.3.1
3. Run:
C:\>jk_nt_service.exe -i tomcat C:\tomcat324conf\wrapper.properties
C:\>jk_nt_service.exe -s tomcat
C:\>net start tomcat
In this step I get the following error:
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
I've got the same error on other computers and using Alexandria's program.. As I understood it's not only my problem, others have it too.
Thanks in advance.Hi,
First U should check if IIS and Tomcat are running together then Tomcat won't start coz both use the 80 port. u have shut down IIS and use Tomcat and enable Tomcat to start with the services, If shutting down IIS is not a problem.
If u need both IIS and Tomcat to run together then u have change the server http port u can do it in the following manner
drive:\Apache Tomcat 4.0\conf directory.
Edit the sever.xml file
In the server.xml file u will have to change the port in the following piece
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>
<!-- Note : To disable connection timeouts, set connectionTimeout value
to -1 -->
Change the port 8080 to 808x where x is any number between 0 to 9
Restart the machine and this should work
Good Luck
Bye,
MAX -
Messaging working in BlazeDS deployed on Windows Tomcat but failing in Tomcat deployed on Ubuntu
I have been going round and round on this for days. I have no idea how to solve it. Everything works fine in windows but now I have to move to Ubuntu. I set up a streaming server with BlazeDS which is messaging to my clients great when my war is in tomcat 7 on windows but is failing in tomcat 7 on Ubuntu.
I see my client connect to BlazeDS on Ubuntu. The DEBUG messages print out that I have a client subscribed. It says that I have one FlexSession for an id and one client subscribed to streaming-amf. Then, a few seconds later, it says that the client sent a duplicate request "streaming-amf recieved a duplicate sreaming connection request from, FlexClient with id ... Faulting request."
Next the log files print out that there are no streaming clients for the FlexSession and no streaming clients for the endpoint streaming-amf.
This is the same software that works fine in the Windows Tomcat container but is not in Ubuntu Tomcat even though the WAR is exactly the same. In case it helps, my config files and calls are below:
messaging-config.xml
<destination id="sp-streamingchannel">
<properties>
<network>
<session-timeout>0</session-timeout>
<throttle-inbound policy="ERROR" max-frequency="50"/>
<throttle-outbound policy="REPLACE" max-frequency="500"/>
</network>
<server>
<allow-subtopics>true</allow-subtopics>
<subtopic-separator>.</subtopic-separator>
<max-cache-size>1000</max-cache-size>
<message-time-to-live>0</message-time-to-live>
<durable>true</durable>
</server>
</properties>
<channels>
<channel ref="streaming-amf"/>
</channels>
<adapter ref="SPStreamingAdapter"/>
</destination>
services-conf.xml
<channel-definition id="streaming-amf" class="mx.messaging.channels.StreamingAMFChannel">
<endpoint url="http://localhost:8080/SP-Web-1.0/messagebroker/spamf" class="flex.messaging.endpoints.StreamingAMFEndpoint"/>
<properties>
<idle-timeout-minutes>0</idle-timeout-minutes>
<max-streaming-clients>150</max-streaming-clients>
<server-to-client-heartbeat-millis>5000</server-to-client-heartbeat-millis>
<user-agent-settings>
<user-agent match-on="MSIE" kickstart-bytes= "2048" max-streaming-connections-per-session="2"/>
<user-agent match-on="Firefox" kickstart-bytes="0" max-streaming-connections-per-session="4"/>
<user-agent match-on="AdobeAIR" kickstart-bytes="2048" max-streaming-connections-per-session="2" />
</user-agent-settings>
</properties>
</channel-definition>
The calls in Flex:
public var channelDest:String = "http://98.193.212.138:8080/SP-Web-1.0/messagebroker/spamf";
private var channelName:String = "streaming-amf";
channelSet = new ChannelSet();
channel = new StreamingAMFChannel(channelName, channelDest);
var c:StreamingAMFChannel = new StreamingAMFChannel();
channelSet.addChannel(channel);
channel.connect(channelSet);
consumer = new Consumer();
consumer.destination = "sp-streamingchannel";
consumer.channelSet = channelSet;
consumer.subtopic = "table." + tableID;
consumer.subscribe();
Why would this work fine on one server but fail on the other? Thanks so much for any help you can offer.
While it may not be releavnt to this question, I do have remoting working fine with BlazeDS on both systems. When my app starts, the user has to log in. All of that is done with BlazeDS and is working fine on both Win and Ubuntu. I only have a problem when it comes to streaming with BlazeDS as is shown above.I have been going round and round on this for days. I have no idea how to solve it. Everything works fine in windows but now I have to move to Ubuntu. I set up a streaming server with BlazeDS which is messaging to my clients great when my war is in tomcat 7 on windows but is failing in tomcat 7 on Ubuntu.
I see my client connect to BlazeDS on Ubuntu. The DEBUG messages print out that I have a client subscribed. It says that I have one FlexSession for an id and one client subscribed to streaming-amf. Then, a few seconds later, it says that the client sent a duplicate request "streaming-amf recieved a duplicate sreaming connection request from, FlexClient with id ... Faulting request."
Next the log files print out that there are no streaming clients for the FlexSession and no streaming clients for the endpoint streaming-amf.
This is the same software that works fine in the Windows Tomcat container but is not in Ubuntu Tomcat even though the WAR is exactly the same. In case it helps, my config files and calls are below:
messaging-config.xml
<destination id="sp-streamingchannel">
<properties>
<network>
<session-timeout>0</session-timeout>
<throttle-inbound policy="ERROR" max-frequency="50"/>
<throttle-outbound policy="REPLACE" max-frequency="500"/>
</network>
<server>
<allow-subtopics>true</allow-subtopics>
<subtopic-separator>.</subtopic-separator>
<max-cache-size>1000</max-cache-size>
<message-time-to-live>0</message-time-to-live>
<durable>true</durable>
</server>
</properties>
<channels>
<channel ref="streaming-amf"/>
</channels>
<adapter ref="SPStreamingAdapter"/>
</destination>
services-conf.xml
<channel-definition id="streaming-amf" class="mx.messaging.channels.StreamingAMFChannel">
<endpoint url="http://localhost:8080/SP-Web-1.0/messagebroker/spamf" class="flex.messaging.endpoints.StreamingAMFEndpoint"/>
<properties>
<idle-timeout-minutes>0</idle-timeout-minutes>
<max-streaming-clients>150</max-streaming-clients>
<server-to-client-heartbeat-millis>5000</server-to-client-heartbeat-millis>
<user-agent-settings>
<user-agent match-on="MSIE" kickstart-bytes= "2048" max-streaming-connections-per-session="2"/>
<user-agent match-on="Firefox" kickstart-bytes="0" max-streaming-connections-per-session="4"/>
<user-agent match-on="AdobeAIR" kickstart-bytes="2048" max-streaming-connections-per-session="2" />
</user-agent-settings>
</properties>
</channel-definition>
The calls in Flex:
public var channelDest:String = "http://98.193.212.138:8080/SP-Web-1.0/messagebroker/spamf";
private var channelName:String = "streaming-amf";
channelSet = new ChannelSet();
channel = new StreamingAMFChannel(channelName, channelDest);
var c:StreamingAMFChannel = new StreamingAMFChannel();
channelSet.addChannel(channel);
channel.connect(channelSet);
consumer = new Consumer();
consumer.destination = "sp-streamingchannel";
consumer.channelSet = channelSet;
consumer.subtopic = "table." + tableID;
consumer.subscribe();
Why would this work fine on one server but fail on the other? Thanks so much for any help you can offer.
While it may not be releavnt to this question, I do have remoting working fine with BlazeDS on both systems. When my app starts, the user has to log in. All of that is done with BlazeDS and is working fine on both Win and Ubuntu. I only have a problem when it comes to streaming with BlazeDS as is shown above. -
Tomcat vs Apache with Tomcat connectors (mod/jk)
Is there any advantage (security, performance etc.) of running a Java web application on Apache HTTP Server with Tomcat Connectors (mod/jk) rather than directly running it on Tomcat.
This question is already answered, see here:
http://tomcat.apache.org/faq/connectors.html
Also for Tomcat/ Apache related questions, post them to the relevant mailing lists. -
hi,
What i have:
- eclipse Version: 3.0.0
Build id: 200406251208
- lomboz 3.0.0
- tomcat 5
what i want to do is:
i want to enable jsp-debugging in eclipse using lomboz, so i followed the steps on the objectlearn-website to achieve this.
i changed the context path so every generated servlet goes into the /j2src folder and i can set breakpoints, which is fine, but now i got a problem which should not occur with tomcat 5 because it was a bug in tomcat 4.
------ quote from the sysdeo website ------
Known problem 1 : Tomcat 4 and JSP in project subdirectories
Generated servlets for JSP couldn't be compile by Eclipse. Subdirectories do not appear in Tomcat 4 generates servlets. Package definition is always package org.apache.jsp.
----- end quote ------------
thats exactly the problem i got right now, package definition is always org.apache.jsp, but there is no patch for this problem for tomcat 5, it isnt even mentioned on the website for tomcat 5,
so what is wrong and how can i change this?
thanks in advance, timois there nobody here familiar with lomboz and tomcat 5???
if there is somebody in this forum who uses tomcat 5 and lomboz:
did you get the same error like me, i.e. that lomboz automatically throws all generated servlets into the package org.apache.jsp??
if the answer is yes, what did you do to fix this bug, there is no patch for tomcat 5 for this bug, since this bug doesnt seem to exsist officially in tomcat 5 ?!?
if the answer is no, what tomcat-lomboz-environment did you set up? did you follow the guidelines on the objectlearn-website for activating jsp-debugging or did you do something else / more?
damn, i posted this problem in a few forums and i seem to be the only person on the planet having this problem or using this combination... -
Difference between tomcat 4.x, tomcat 5.x and tomcat 6
can anyone tell me the diff between different versions of the tomcat server
thanks alot inadvance.......
govindaaaIsn't its homepage clear about that? http://tomcat.apache.org
-
Problema para iniciar o tomcat instalado a partir do BO 3.1 XI
Ola,
Instalei o Business Object Edge 3.1 XI mas o tomcat não inicia
Da uma mensagem assim:
O windows nao pode iniciar o Apache tomcat 5.5.20 em computador local. Para obter mais informaes, examinie o log de eventos do sistema. Se este for um servio no microsoft , contate o fornecedor de servios e informe o cdigo de erro especifico do servio 0.
O log de envento me retorna isso:
O servio Apache Tomcat 5.5.20 terminou com o erro especfico de servio 0 (0x0).
Para obter mais informaes, visite o Centro de ajuda e suporte em http://go.microsoft.com/fwlink/events.asp.
E o log do tomcat me retorna isso:
CreateJavaVM Failed
Failed initializing java C:Arquivos de programasBusiness ObjectsTomcat55 in ootstrap.jar;C:Arquivos de programasBusiness Objectsjavasdklib ools.jar
ServiceStart returned 2
CreateJavaVM Failed
Failed initializing java C:Arquivos de programasBusiness ObjectsTomcat55 in ootstrap.jar;C:Arquivos de programasBusiness Objectsjavasdklib ools.jar
ServiceStart returned 2
CreateJavaVM Failed
Failed initializing java C:Arquivos de programasBusiness ObjectsTomcat55 in ootstrap.jar;C:Arquivos de programasBusiness Objectsjavasdklib ools.jar
ServiceStart returned 2
CreateJavaVM Failed
Failed initializing java C:Arquivos de programasBusiness ObjectsTomcat55 in ootstrap.jar;C:Arquivos de programasBusiness Objectsjavasdklib ools.jar
ServiceStart returned 2
CreateJavaVM Failed
Failed initializing java C:Arquivos de programasBusiness ObjectsTomcat55 in ootstrap.jar;C:Arquivos de programasBusiness Objectsjavasdklib ools.jar
ServiceStart returned 2
CreateJavaVM Failed
Failed initializing java C:Arquivos de programasBusiness ObjectsTomcat55 in ootstrap.jar;C:Arquivos de programasBusiness Objectsjavasdklib ools.jar
ServiceStart returned 2
CreateJavaVM Failed
Failed initializing java C:Arquivos de programasBusiness ObjectsTomcat55 in ootstrap.jar;C:Arquivos de programasBusiness Objectsjavasdklib ools.jar
ServiceStart returned 2
CreateJavaVM Failed
Failed initializing java C:Arquivos de programasBusiness ObjectsTomcat55 in ootstrap.jar;C:Arquivos de programasBusiness Objectsjavasdklib ools.jar
ServiceStart returned 2
CreateJavaVM Failed
Failed initializing java C:Arquivos de programasBusiness ObjectsTomcat55 in ootstrap.jar;C:Arquivos de programasBusiness Objectsjavasdklib ools.jar
ServiceStart returned 2
CreateJavaVM Failed
Failed initializing java C:Arquivos de programasBusiness ObjectsTomcat55 in ootstrap.jar;C:Arquivos de programasBusiness Objectsjavasdklib ools.jar
ServiceStart returned 2
Já fiz de tudo, nao sei o que ta acontecendo
Alguem pode me ajudar?
Edited by: andreia.lopes on May 9, 2011 4:54 PMConsegui corrigindo as configurações do tomcat...
Tomcat -> Tomcat Configuration -> na aba Java coloquei os seguintes valores para
Initial memory pool: 128 e
Maximum memory pool :256
Ao instalar o tomcat com o Business Objects por padrão eu coloca 1024 para Maximum memory pool e vazio para Initial memory pool.
Apos corrigir estes valores acessei o services.msc e iniciei o tomcat . -
I have a problem with JDBC Realm in Tomcat/Oracle/Win XP
I have a problem with JDBC Realm in Tomcat.
I have attached my server.xml file located in the
C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml
The Problem is that when I login I get the user name and password prompt but it does not resolve.
When I enter in the tomcat-users.xml password with memory realm uncommented it works fine.
C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml
Is there a cache or something I need to reset for the JDBC Realm to work?
I have attached my tables and contents as well...
Did I miss something????
Thanks
Phil
server.xml
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
<!-- Global JNDI resources -->
<GlobalNamingResources>
<!-- Test entry for demonstration purposes -->
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
</GlobalNamingResources>
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Catalina">
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector
port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
<!-- Define the top level container in our container hierarchy -->
<Engine name="Catalina" defaultHost="localhost">
<!--
<Realm className="org.apache.catalina.realm.MemoryRealm" />
-->
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@localhost:1521:orcl"
connectionName="testName" connectionPassword="testPass"
userTable="users"
userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="user_roles"
roleNameCol="role_name" />
<!-- 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"
xmlValidation="false" xmlNamespaceAware="false">
</Host>
</Engine>
</Service>
</Server>
Tables
create table users
user_name varchar(15) not null primary key,
user_pass varchar(15) not null
create table roles
role_name varchar(15) not null primary key
create table user_roles
user_name varchar(15) not null,
role_name varchar(15) not null,
primary key( user_name, role_name )
select * from users;
----------------------+
| user_name | user_pass |
----------------------+
| tomcat | tomcat |
| user1 | tomcat |
| user2 | tomcat |
| user3 | tomcat |
----------------------+
select * from roles;
| role_name |
| tomcat |
| role1 |
select * from user_roles;
-----------------------+
| role_name | user_name |
-----------------------+
| tomcat | user1 |
| role1 | user2 |
| tomcat | tomcat |
| role1 | tomcat |
-----------------------+Jan 2, 2008 11:49:35 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 2, 2008 11:49:35 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 734 ms
Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
Jan 2, 2008 11:49:35 AM org.apache.catalina.realm.JDBCRealm start
SEVERE: Exception opening database connection
java.sql.SQLException: oracle.jdbc.driver.OracleDriver
at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:684)
at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:758)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1004)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 2, 2008 11:49:36 AM org.apache.catalina.core.StandardContext resourcesStart -
Communication problem between NetBeans and Tomcat
hi!
i got a quite mysterious problem. here is what happens:
- i start NetBeans 5.5.1 (the first time)
- i want to debug my JSF-Project, the Debugger starts
- After a few seconds the debugger waits for tomcat (it sais: "Waiting for Tomcat...") and tomcat starts
- Again after a few seconds the tomcat-debugger-output sais "Tomcat startet in 3333 ms".
okay.
when i enter http://localhost:8084/ in my browser i get the tomcat homepage, so the server has definitely started! But nothing happens in NetBeans and nothing happens with my project....
In the lower-right corner i see this blue working-bar that sais "deploying project" but nothing happens. The Project-Debugger-Output still sais "Waiting for Tomcat..." but nothing happens...
And after something around 3 minutes (i guess it's a timeout) i get the error "Starting of Tomcat failed." But is HAS started, i can login to the Administration-Area in my browser!
so i guess there is a communication problem between netbeans an tomcat. Netbeans waits for a message from tomcat but tomcat doesn't send it..or netbeans doesn't understand it.
But the story goes on:
When i press the debug-button a second time it takes only a few seconds till i get the message: "Tomcat server port 8084 already in use". OF COURSE! Because Tomcat has already startet and can't be stoped by NetBeans.
i'm trying to solve this problem for 4 days now, so i would be very happy if anyone has an idea where to start/continue the search...
thanks,
flo.
some system-info:
- windows vista business 32-bit
- no firewall is running
- AntiVir Personal Edition IS running
- Yahoo Widgets Engine IS running
- no other software is running
and finally the tomcat-log:
Using CATALINA_BASE: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base
Using CATALINA_HOME: C:\Program Files\NetBeans\enterprise3\apache-tomcat-5.5.17
Using CATALINA_TMPDIR: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_12
Listening for transport dt_shmem at address: tomcat_shared_memory_id
21.09.2007 18:27:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\cvsnt;
21.09.2007 18:27:50 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
21.09.2007 18:27:50 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1862 ms
21.09.2007 18:27:50 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
21.09.2007 18:27:50 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
21.09.2007 18:27:50 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
21.09.2007 18:27:53 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
21.09.2007 18:27:54 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
21.09.2007 18:27:54 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
21.09.2007 18:27:54 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
21.09.2007 18:27:54 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3626 msAs i wrote before, the same problem occured for me. I have found a solution which is : Go to tools menu and then select options . In the proxy info, select No Proxy.
I hope this help you -
Error while running application with Tomcat 5.0
Hi,
I am trying to run my application on Tomcat 5.0. I have java environment version 1.4
I am getting the following error during the server start up :
Mar 30, 2007 3:51:03 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 30, 2007 3:51:03 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1047 ms
Mar 30, 2007 3:51:03 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 30, 2007 3:51:03 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Mar 30, 2007 3:51:03 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 30, 2007 3:51:03 PM org.apache.catalina.core.StandardHost
getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Mar 30, 2007 3:51:03 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL file:C:\Program
Files\Apache Sof
tware Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
Mar 30, 2007 3:51:04 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=tru
e
Mar 30, 2007 3:51:04 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNul
l=true
Mar 30, 2007 3:51:05 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', retur
nNull=true
Mar 30, 2007 3:51:06 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL file:C:\Program
Files\Apache Sof
tware Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL file:C:\Program
Files\Apache Sof
tware Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /jsp-examples from URL
file:C:\
Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path from URL
file:C:\Program Files
\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /servlets-examples from
URL fil
e:C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\servlets-exampl
es
Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /tomcat-docs from URL
file:C:\P
rogram Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /webdav from URL
file:C:\Progra
m Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
Mar 30, 2007 3:51:07 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 30, 2007 3:51:07 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Mar 30, 2007 3:51:07 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=C:\Program Files\Apache Software
Foundat
ion\Tomcat 5.0\conf\jk2.properties
Mar 30, 2007 3:51:08 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4266 ms
Mar 30, 2007 3:53:07 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /Hyperceller from URL
file:C:\P
rogram Files\Apache Software Foundation\Tomcat 5.0\webapps\Hyperceller
Mar 30, 2007 3:53:08 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=tru
e
Mar 30, 2007 3:53:08 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNul
l=true
Mar 30, 2007 3:53:09 PM org.apache.commons.digester.Digester
startElement
SEVERE: Begin event threw exception
java.lang.reflect.InvocationTargetException
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:324)
at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1656)
at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1551)
at
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1580)
at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:919
at
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:726)
at
org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
.java:251)
at org.apache.commons.digester.Rule.begin(Rule.java:152)
at
org.apache.commons.digester.Digester.startElement(Digester.java:1361)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
own Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Sourc
e)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.digester.Digester.parse(Digester.java:1647)
at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
rvlet.java:1006)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
.java:955)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1029)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86
2)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4013)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
357)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:823)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:277)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:701)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432
at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1083)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:327)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at
org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.
java:800)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1619)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1628)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
un(ContainerBase.java:1608)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.UnsupportedClassVersionError:
com/hyperceller/form/LoginFor
m (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1634)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:860)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1307)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1189)
at
org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.
java:320)
at
org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:1
91)
... 46 more
Mar 30, 2007 3:53:09 PM org.apache.struts.action.ActionServlet
handleConfigExcep
tion
SEVERE: Parsing error processing resource path
java.lang.reflect.InvocationTargetException
at
org.apache.commons.digester.Digester.createSAXException(Digester.java
:2919)
at
org.apache.commons.digester.Digester.createSAXException(Digester.java
:2945)
at
org.apache.commons.digester.Digester.startElement(Digester.java:1364)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
own Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Sourc
e)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.digester.Digester.parse(Digester.java:1647)
at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
rvlet.java:1006)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
.java:955)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1029)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86
2)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4013)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
357)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:823)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:277)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:701)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432
at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1083)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:327)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at
org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.
java:800)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1619)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1628)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
un(ContainerBase.java:1608)
at java.lang.Thread.run(Thread.java:534)
Mar 30, 2007 3:53:44 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings',
returnN
ull=true
Mar 30, 2007 3:53:44 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=tru
e
Mar 30, 2007 3:53:44 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings',
returnN
ull=true
could anyone tell me what the problem may be???
Note: When I configure my application on the Tomcat 5.5 and java 1.5 then it runs fine. But the problem arises when I compile my code on the java 1.4 and run on the Tomcat 5.0
Thanks in advance!!I am sorry that I forgot to tell you that I am running a struts application. Struts 1.1
-
Netware 6.0 SP5 Apache/Tomcat
I am setting up a New install Netware 6.0 server and have netware all patched up with sp5, & BM 3.7 patched up. This server will not be located in my office so I wanted to try to get the web app side up to date. I want to use Imanager to remotely check the health etc... I know this is an older version of Netware but this is a temporary replacement server and we should only be using this server for a year or 18 months max and we will no longer have a need for it. I say all that to ask how to upgrade Apache & Tomcat so I manager will work. I have EDIR 8.7.3 and the Novell JVM is at 1.4.2.04. The additional requirements for Imanager 2.01 are Tomcat 3.3, Tomcat 4 and Apache 1.3. Currently the server has Tomcat 3.3 installed and Apache 1.03. I can find a TID (10071533) on upgrading Tomcat 3.3 to Tomcat 4 on Netware 6.0 but cannot find the install file "Tomcat4.04b2", or any other variant. So do I need to get a newer version or what? I also need to update the Apache and cannot seem to find the correct files for that either. Any help would be greatly appreciated.
On 05/03/2009 14:56, jpeteet wrote:
> So there is nothing "special" I need to do for it to work on Novell
> other than download it and do its setup? Thank you.
Certainly with Apache it's a case of extracting the NLMs from the
archive and then copying over the old ones.
Personally I
* download the update
* extract to a directory on my local machine
* rename the configuration files in the local copy to prevent actual
configuration files on server being overwritten
* make a copy of sys:\apache or sys:\apache2 (depending on which I'm
updating)
* copy the local copy over to the server, overwriting existing files
(remember we've just renamed the config files)
* restart Apache
Hope this helps.
Simon
Do you work with Novell technologies within an academic environment?
Your campus may benefit from joining the Novell Technology Transfer
Partners (TTP) organisation. See www.novell.com/ttp for more info. -
How to create connection pooling in Tomcat 5.0
present i am developing one web site in that i am using tomcat 5.0
i am trying to establish connection pooling in tomcat,i am facing some problems..
tomcat throws the following exception ie.,
cannot create JDBC Driver class for connect URL null.
my code lik this
i configured the web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app>
<resource-ref>
<description>Oracle Datasource example</description>
<res-ref-name>sqlserver</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
my server.xml
<?xml version='1.0' encoding='utf-8'?>
<Server>
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
<GlobalNamingResources>
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<Resource auth="Container" description="User database that can be updated and saved" name="UserDatabase" type="org.apache.catalina.UserDatabase"/>
<Resource auth="Container" name="sqlserver" type="javax.sql.DataSource"/>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>password</name>
<value>sudha</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
<parameter>
<name>username</name>
<value>sudha</value>
</parameter>
</ResourceParams>
<ResourceParams name="sqlserver">
<parameter>
<name>url</name>
<value>jdbc:odbc:SQL</value>
</parameter>
<parameter>
<name>validationQuery</name>
<value>select * from employee</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>4</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>8</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>sun.jdbc.odbc.JdbcOdbcDriver</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>username</name>
<value>kpi</value>
</parameter>
<parameter>
<name>factory</name>
<value>org.apache.naming.factory.DbcpDataSourceFactory</value>
</parameter>
<parameter>
<name>password</name>
<value>kpi</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
<Service name="Catalina">
<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="8080" redirectPort="8443" maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
</Connector>
<Connector port="8009" protocol="AJP/1.3" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" redirectPort="8443">
</Connector>
<Engine defaultHost="localhost" name="Catalina">
<Host appBase="webapps" name="localhost">
<Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_log." suffix=".txt" timestamp="true"/>
</Host>
<Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/>
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
</Engine>
</Service>
</Server>
and i studied the the tomcat documentation in that tomcat mentioned
The configuration properties for Tomcat's standard data source resource factory (org.apache.naming.factory.DbcpDataSourceFactory) are as follows:
driverClassName - Fully qualified Java class name of the JDBC driver to be used.
maxActive - The maximum number of active instances that can be allocated from this pool at the same time.
maxIdle - The maximum number of connections that can sit idle in this pool at the same time.
maxWait - The maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception.
password - Database password to be passed to our JDBC driver.
url - Connection URL to be passed to our JDBC driver. (For backwards compatibility, the property driverName is also recognized.)
user - Database username to be passed to our JDBC driver.
validationQuery - SQL query that can be used by the pool to validate connections before they are returned to the application. If specified, this query MUST be an SQL SELECT statement that returns at least one row.
how to configure server.xml file
and how to get the org.apache.naming.factory.DbcpDataSourceFactory
please help me...this module is very very urgen to me..http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
-
Error while deploying app on Tomcat 6.0
Hi All,
As per https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1 , I tried to deploy ADF web app on Tomcat 6.0, but I was blocked by following errors.
Env:
Jdev 11.1.1.6.0
Tomcat 6.0.36
Catalina.log
2013-4-16 10:29:58 oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
Failed to register config mbean for defaultApplicationName.
2013-4-16 10:29:58 oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
oracle.jrf.UnknownPlatformException:
at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:79)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
localhost.log
2013-4-16 10:29:58 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack
oracle.adf.share.ADFShareException: getMDSInstance error
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:85)
at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:96)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:626)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:606)
at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:277)
at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1674)
at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:402)
at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:75)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.NoClassDefFoundError: oracle/core/ojdl/MessageType
at oracle.dms.instrument.Level.initLevel(Level.java:215)
at oracle.dms.instrument.LogLevel.initLogLevel(LogLevel.java:41)
at oracle.dms.instrument.LogLevel.<clinit>(LogLevel.java:23)
at oracle.dms.instrument.Noun.<clinit>(Noun.java:2189)
at oracle.adf.share.perf.Timer.createTimer(Timer.java:259)
at oracle.adf.share.perf.Timer.createTimer(Timer.java:156)
at oracle.mds.internal.util.MDSTimer.<init>(MDSTimer.java:350)
at oracle.mds.internal.util.MDSTimer.createTimer(MDSTimer.java:89)
at oracle.mds.core.MDSInstance.<clinit>(MDSInstance.java:3022)
at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:439)
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:597)
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
... 32 more
Caused by: java.lang.ClassNotFoundException: oracle.core.ojdl.MessageType
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 47 more
2013-4-16 10:29:59 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:2149)
at oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack.contextInitialized(BC4JConfigLifeCycleCallBack.java:109)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.reflect.InvocationTargetException
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:597)
at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:2110)
... 25 more
Caused by: oracle.adf.share.ADFShareException: getMDSInstance error
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:85)
at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:96)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:626)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:606)
at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:277)
at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1674)
at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:402)
at oracle.adf.share.http.ServletADFContext.initThreadContextIfNeeded(ServletADFContext.java:332)
... 30 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class oracle.mds.core.MDSInstance
at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:439)
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:597)
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
... 38 more
2013-4-16 10:30:02 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack
oracle.adf.share.ADFShareException: getMDSInstance error
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:85)
at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:96)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:626)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:606)
at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:277)
at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1674)
at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:402)
at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:75)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class oracle.mds.core.MDSInstance
at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:439)
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:597)
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
... 32 more
2013-4-16 10:30:02 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:2149)
at oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack.contextInitialized(BC4JConfigLifeCycleCallBack.java:109)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.reflect.InvocationTargetException
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:597)
at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:2110)
... 25 more
Caused by: oracle.adf.share.ADFShareException: getMDSInstance error
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:85)
at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:96)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:626)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:606)
at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:277)
at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1674)
at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:402)
at oracle.adf.share.http.ServletADFContext.initThreadContextIfNeeded(ServletADFContext.java:332)
... 30 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class oracle.mds.core.MDSInstance
at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:439)
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:597)
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
... 38 more
files in ${catalina.home}/lib
adf-controller-api.jar
adf-controller-rt-common.jar
adf-controller.jar
adf-faces-databinding-rt.jar
adf-pageflow-dtrt.jar
adf-pageflow-fwk.jar
adf-pageflow-impl.jar
adf-pageflow-rc.jar
adf-richclient-api-11.jar
adf-richclient-impl-11.jar
adf-share-base.jar
adf-share-ca.jar
adf-share-support.jar
adflibfilter.jar
adflogginghandler.jar
adfm.jar
adfmweb.jar
adfsharembean.jar
annotations-api.jar
bc4j-mbeans.jar
cache.jar
catalina-ant.jar
catalina-ha.jar
catalina-tribes.jar
catalina.jar
commons-el.jar
db-ca.jar
dms.jar
dvt-faces.jar
dvt-jclient.jar
dvt-utils.jar
ecj-3.7.2.jar
el-api.jar
fmw_audit.jar
identitystore.jar
inspect4.jar
jars.txt
jasper-el.jar
jasper-jdt.jar
jasper.jar
javatools-nodeps.jar
javax.mail.jar
javax.management.j2ee_1.0.jar
jewt4.jar
jmxframework.jar
jmxspi.jar
jps-api.jar
jps-common.jar
jps-ee.jar
jps-internal.jar
jps-unsupported-api.jar
jrf-api.jar
jsf-api.jar
jsf-ri.jar
jsp-api.jar
jstl.jar
mdsrt.jar
ojdbc6.jar
oracle-el.jar
oracle.xdb_11.1.0.jar
oraclepki.jar
org.apache.commons.beanutils_1.6.jar
org.apache.commons.collections-3.1.jar
org.apache.commons.logging_1.0.4.jar
osdt_cert.jar
osdt_core.jar
servlet-api.jar
share.jar
standard.jar
tomcat-coyote.jar
tomcat-dbcp.jar
tomcat-i18n-es.jar
tomcat-i18n-fr.jar
tomcat-i18n-ja.jar
trinidad-api.jar
trinidad-impl.jar
wls-api.jar
xercesImpl.jar
xml.jar
xmlef.jar
xmlparserv2.jar
Any workaround?
Thanks in advance.
Jason
Edited by: 1000221 on Apr 15, 2013 8:11 PMHi,
We are running TREX 6.1.09.00 on EP6.0.9.0.0 and KMC6.0.9.0.0.
We are experiencing the same problems, even after changing the value in the .ini file as specified in NOTE 766197.
After doing changes, I restarted the server after doing the changes.
Alessandro, have you got any ideas for fixing this?
Message was edited by: Bjorn Bjornstad -
Error in deploying the java studio creator application to tomcat
Hi,
I'm trying to deploy my Sun Java Studio application to Apache Tomcat 5.0.28.
A simple JSF web application built using the creator works fine after deploying the war file under tomcat/weapps directory.
In case of a application with databse connection I'm getting the
" com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' "
above error. My application connects to Oracle database using the Oracle Server type provided by the Studio Creator.
I have copied
jstl.jar
standard.jar
to webapps\%app%\WEB-INF\lib
The below url is currently not available ( Page not Found )stated as a solution in most of the querries regarding the deplyment to tomcat.
http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/deploy_to_tomcat.html
Thanks for any help
abhiI had similar problems.
I used mysql with tomcat and have mysql in my Creator environment as well but still had the driver message you experienced.
I found that simply copying the WAR file into the webapp directory in tomcat caused a faulty deployment (it was creating /etc/tomcat5/localhost/YourProject.xml as a directory, not as a file)
I updated my Projects/MyProject/build.xml to include a deploy target and I manually execute the ant deploy step (having not figured out how to tweak the internal ant within Creator)
Note that this requires two jar files (see comments in the ant definition)
<project name="YourRoster" default="default" basedir=".">
<description>Builds, tests, and runs the project YourProject.</description>
<import file="nbproject/build-impl.xml"/>
<property file="build.properties"/>
<property name="appdir" value="."/>
<property name="distdir" value="${appdir}/dist"/>
<property name="warfile" value="${distdir}/${app}.war"/>
<property name="builddir" value="${appdir}/build"/>
<path id="classpath">
<pathelement location="${servlet.api.jar}"/>
<pathelement location="${jsp.api.jar}"/>
<fileset dir="${builddir}/WEB-INF/lib">
<include name="*.jar"/>
</fileset>
</path>
<!-- requires tomcat/server/lib/catalina-ant.jar -->
<target name="lrp-init">
<tstamp/>
<fail unless="app" message="Run ant -Dapp=... or update 'build.properties'"/>
</target>
<target name="deploy-tomcat" depends="dist"
description="Deploy web application.">
<echo message="Deploying ${app} ..."/>
<taskdef name="deploy"
classname="org.apache.catalina.ant.DeployTask"/>
<deploy url="${manager.url}" username="${username}"
password="${password}" path="/${app}"
war="file:${warfile}"/>
</target>
<target name="undeploy-tomcat" depends="lrp-init"
description="Undeploy web application.">
<echo message="Undeploying ${app} ..."/>
<taskdef name="undeploy"
classname="org.apache.catalina.ant.UndeployTask"/>
<undeploy url="${manager.url}" username="${username}"
password="${password}" path="/${app}"/>
</target>
<!-- requires ant-contrib (http://ant-contrib.sourceforge.net) -->
<target name="try.undeploy-tomcat" depends="lrp-init"
description="Call the undeploy task (which may fail).">
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
<trycatch>
<try>
<ant target="undeploy-tomcat"/>
</try>
<catch/>
</trycatch>
</target>
<target name="redeploy-tomcat" depends="try.undeploy-tomcat,deploy-tomcat"
description="Undeploy and deploy web application.">
</target>
</project>In addition, the build.properties...
jsf.dir=/opt/jsf-1_1_01
tomcat.dir=/opt/tomcat5
app=YourProject
username=tomcatAdminUser
password=tomcatPassword
manager.url=http://localhost:8080/manager
servlet.api.jar=${tomcat.dir}/common/lib/servlet-api.jar
jsp.api.jar=${tomcat.dir}/common/lib/jsp-api.jar
jsf.lib.dir=${jsf.dir}/lib
jstl.lib.dir=${tomcat.dir}/webapps/jsp-examples/WEB-INF/lib
commons.lib.dir=${tomcat.dir}/server/lib
jsf.libs=jsf-api.jar,jsf-impl.jar
jstl.libs=jstl.jar,standard.jar
commons.libs=commons-beanutils.jar,commons-digester.jarHope this helps.
...Lyall
Maybe you are looking for
-
Syncing with windows media player
Do I have to have my music in itunes or can I sync with the music I have in my windows media player?
-
Black Screen After Upgrading to Windows 8
Hi I'm experiencing a black screen after upgrading a Dell N5050 B890 to Windows 8. Tried to refresh the installation but the problem persited. re-installed the Windows 8, the machine logged in successfully but the problem arose again after reboot. Ur
-
How to see which company codes are affected by a WT
Hello Community, Hope you all are doing well, I would like to consult you because I have this situation, I want to know what company codes are affected by a particular WT in an specific country, is there any report or Transaction or do you know a way
-
Re: removal of time/date stamp
How do I remove the time/date stamp from photos in iphoto?
-
Best way to install Dev Preview 2.1.x on OS X 10.7
I just downloaded the OS X dev preview and am looking forward to experimenting with it, but the link on the downloads page that purports to link to "Release notes and installation instructions" actually leads to release notes only--no install instruc