How to set docBase in Tomcat-Catalina
hello
I have been facing trouble with deployingh my servlet on the tomcat5.5.
I want to know te syntax for the .xml file that should be included in
Tomcat5.5/conf/catalina/localhost/
anirudh_gupta:
Please refer to the post in my blog for the detail.
http://trexlim.blogspot.com/2005/01/migrating-from-tomcat-5028-to-tomcat.html
Similar Messages
-
How to set InitParameters in Tomcat??
I'd like to do the following in my servlet init
public void init(ServletConfig config) throws ServletException {
super.init(config);
databaseURL = config.getInitParameter("database");
how to set the
InitParameter in Tomcat??Add them to the WEB-INF/web.xml
<servlet>
<servlet-name>
KioskServlet
</servlet-name>
<servlet-class>
KioskServlet
</servlet-class>
<init-param>
<!-- number of seconds of inactivity until timing out -->
<!-- 300 = 5 minutes -->
<param-name>timeoutValue</param-name>
<param-value>300</param-value>
</init-param>
</servlet> -
How to set DISPLAY for tomcat service inorder to run reports using rwrun.sh
Here is my problem..
I came to know that its not possible to invoke rwrun.sh without setting the DISPLAY environment variable from the servlet or any java program. But some one proposed me a solution that to set the DISPLAY variable for TOMCAT service from where my servlet invokes the shell script written for report generation using rwrun.sh. The user for tomcat service is wwwrun ..
Do i need to set this variable in the logon script for this user ..but I couldn't find the .profile file for that.
Is there any way to set this variable for tomcat service and get the report successfully.i gave export DISPLAY=aatsv001.local:0.0 in $ORACLE_HOME/bin/reports.sh
but it gives me the following error when i invoke the report
Xlib: connection to "aatsv001.local:0.0" refused by server
Xlib: No protocol specified
REP-0069: Internal error
REP-3000: Internal error starting Oracle Toolkit.
I also tried giving localhost and also aatsv001 (without .local)
some one help me.. -
How to set Develoment Environmnet in Linux using Tomcat for Application
Hi All,
I am facing problem while craeting development environment in Linux for Tomcat.
I have installed Tomcat in /opt/tomcat directory.
Within Tomcat i made a Application Dir name "eprosys".
/opt/tomcat/eprosys/WEB-INF/classes
/web.xml
and then configure server.xml in conf directory
<Context path="/project"
docBase="opt/tomcat/eprosys"
reloadable="true"
debug="0"/>
</Host>
then i started tomcat
[root@localhost bin]# ./startup.sh
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.5.0_07/
[root@localhost bin]#
In catalina.out message which i get.
Aug 26, 2006 6:39:21 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Aug 26, 2006 6:39:21 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/30 config=null
Aug 26, 2006 6:39:22 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Aug 26, 2006 6:39:23 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 17978 ms
[raingauge] DEBUG [Timer-0] LocationDailyGraphManagerImpl.createLocationDailyGraphs(62) | Location Daily Graph. Creating graphs at Time=Sat Aug 26 18:39:43 IST 2006
But when i use browser like
http://localhost:8080/project
I get this message .
HTTP Status 404 - /project/
type Status report
message /project/
description The requested resource (/project/) is not available
So, please help me where i am wrong. Same thing i do in Windows O/s it works.
But in Linux i face problem,
Bye,
PrabhataiGrace wrote:
I want to set the options "-server -Xms128m -Xmx512m -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=11.40.5.62" as my java default options so that I only have to use
java -classpath . HelloWorldUse the *nix alias command
alias java="java -server -Xms128m -Xmx512m -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=11.40.5.62" -
How to set tomcat server path in windows XP
hi frnds,
I am new to java technologies.I am trying to learn all alone Hw am wandering how to set class path of tomcat server in windows xp.
it shud be in user varibles r system varibles
Thanks everyone in advance,
cheers........
roopaWhat exactly are you trying to accomplish here?
-
How do set operation timeout in tomcat server?
hi all
suppose i have one endless loop program(jsp) that program run under tomcat server,
so it's keep on runing in tomcat server.
i want, after some time the server send error message like operation timeout.
how do set operation timeout in tomcat server?
if anybody know help me.
my mail id [email protected]Well, the server.xml file has connection time outs, but that is for idle time, I think... I'm not sure what would happen in a loop... , especially if you are sending some data back to the client in each iteration. Generally you shouldn't be starting a loop that will really run forever. Maybe have some type of counter to break out if something hasn't occurred within x iterations, or create a separate thread that can sleep for x seconds and set a flag to break the loop after that time.
-
How to set the servlet context path manually in Tomcat web server.
I tested some servlets by putting them in the folder , which the tomcats examples application uses (ie Tomcat 4.1\webapps\examples\WEB-INF\classes\) and it appeared to be working fine.
I was calling the servlet like this : http://localhost:2006/examples/servlet/TestServlet
But when I installed my own WAR file in the server , the servlet is not working now. now the new location of my servlets is : Tomcat 4.1\webapps\MyApp\WEB-INF\classes\
and I'm trying to call the servlet like this : http://localhost:2006/MyApp/servlet/TestServlet
The error , what i'm getting is :
description :The requested resource (/MyApp/servlet/TestServlet) is not available.
Some body please tell where I'm making the mistake ? I believe this may have something to do with the servlet context path setting. If anybody has any idea , how to set the path..will be much appreciated.Thanx for your reply , at first I was not using any web.xml(since not mandatory) but even after using the web.xml file the error is coming . Please have a look into the contents of the web.xml file and let me know if you find any problem...
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>TestServlet</servlet-name>
<servlet-class>TestServlet</servlet-class>
</servlet>
</web-app>
one more thing I would like to tell you here. I was just looking into the configuration of Iplanet web server..I found that , there are options to set the servlet container path (like : - Prefix: /servlet
Servlet Directory: /ecomm/iplanet/nes60/product/docs/container )
so from here I came to know that "container " is the folder where we should put our servlets and it has URI as "servlet" but yet I'm not able to find any option in the Tomcat Web server to set the servlet container to any different directory.
If you have any idea please let me know. -
How to set new Tomcat Environment variable?
I have an imported class used by my servlet that is supposed to look for an environment variable like "xxx.app.logdir". I'm having trouble setting it in Tomcat. I have tried the following (stopping and starting Tomcat with each change):
1) In \conf\server.xml file, adding under <GlobalNamingResources> <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<Environment name="xxx.app.logdir" type="java.lang.String" value="C:\\Tomcat-4-1\\logs"/>2) In my app's web.xml file <env-entry>
<env-entry-name>xxx.app.logdir</env-entry-name>
<env-entry-value>C:\\Tomcat-4-1\\logs</env-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry> 3) In my \bin\startup.bat file
set xxx.app.logdir=C:\\Tomcat-4-1\\
4) On my PC's Environment variables.
Nothing has worked. In my code I have the lines
logMsg("System.getProperty('mmm.app.logdir')=" +
System.getProperty("xxx.app.logdir"));
logMsg("System.getProperty('simpleValue')=" +
System.getProperty("simpleValue")); with the output :System.getProperty('xxx.app.logdir')=null
System.getProperty('simpleValue')=null I've searched forums and the Tomcat docs, but no luck. Any ideas?I tried that as well, but maybe I didn't define my DefaultContect correctly. Do I need any other parameters? Couldn't find it in the Tomcat docs. <DefaultContext>
<Environment name="matt" type="java.lang.String" value="value1" />
</DefaultContext>My new code (I simplified the variable name for testing):
System.out.println("System.getProperty('matt')=" + System.getProperty("matt"));
System.out.println("System.getProperty('MATT')=" + System.getProperty("MATT"));Results:
System.getProperty('matt')=null
System.getProperty('MATT')=null -
How to set the JMX Engine parameter in Process Administation?
Hi, All,
I installed OBPM10gR3 over WLS 10gR3 clusting environment. OBPM Engines started successfully.
There is one admin server running on localhost: 10101, one manager server running on localhost:10103, another managed server running on localhost:10105.
I wonder how to set the JMX Engine configuration in Process Administration. How about the port? 10101 or 10103,10105? How about the Credentials, weblogic as the default user?
I'm appreciated you can share me the JMX Engine configuration in Process Administation for weblogic clusting. Thanks in advance.
Best Regards,
BillHi, All,
Here is more detail error when I set the JMX host/port to weblogic admin server/port, actually the BPM server is started, and the status of engine in process administation is started and I can run the process normally. I don't know why there is "null" url:
[<D> 0518 16:22:32.930] Main (<3> http-8686-Processor15): should not recreate if it has not been disconnected
[<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): JspLocationStatus:fuego.jsfcomponents.ui.JspLocationStatus@18a270a
[<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): ---------------------- UILocation ------------------------------------
[<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): jspNode label Edit Engine {0} NODE LABEL = Edit Engine {0}
[<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): HelpRenderer.encodeEnd
[<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): 1. rendered = null
[<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): 2. renderedObj = true
[<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): href = http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/admin_guide/index.html?t=modules/proc_adm_ref/c_Engines.html
[<W> 0518 16:22:32.945] Main (<3> http-8686-Processor15): Error BPM-1242665762773
[ (cont) ] Main: Error
[ (cont) ] Main: Caused by: Cannot reach engine 'OBPMClusterEngine' at URL: 'null'.
[ (cont) ] Main: Caused by: ALBPM.mami.ServerManagement:type=Server,server=OBPMClusterEngine,*
[ (cont) ] Main: fuego.mami.exception.MAMIException: Error
[ (cont) ] Main: at fuego.mami.exception.MAMIException.wrap(MAMIException.java:48)
[ (cont) ] Main: at fuego.mami.engine.j2ee.J2EEAdminEngineAccessImpl.getEngineManagement(J2EEAdminEngineAccessImpl.java:72)
[ (cont) ] Main: at fuego.mami.engine.j2ee.J2EEAdminEngineAccessImpl.getEngineManagement(J2EEAdminEngineAccessImpl.java:88)
[ (cont) ] Main: at fuego.mami.Engine.getEngineManagement(Engine.java:1391)
[ (cont) ] Main: at fuego.mami.Engine.updateEngineProperties(Engine.java:1327)
[ (cont) ] Main: at fuego.webconsole.model.J2EEJSFEngine.applyPropertiesAction(J2EEJSFEngine.java:150)
[ (cont) ] Main: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ (cont) ] Main: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[ (cont) ] Main: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ (cont) ] Main: at java.lang.reflect.Method.invoke(Unknown Source)
[ (cont) ] Main: at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
[ (cont) ] Main: at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
[ (cont) ] Main: at javax.faces.component.UICommand.broadcast(UICommand.java:312)
[ (cont) ] Main: at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
[ (cont) ] Main: at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
[ (cont) ] Main: at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
[ (cont) ] Main: at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
[ (cont) ] Main: at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
[ (cont) ] Main: at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
[ (cont) ] Main: at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
[ (cont) ] Main: at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
[ (cont) ] Main: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
[ (cont) ] Main: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
[ (cont) ] Main: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
[ (cont) ] Main: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
[ (cont) ] Main: at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
[ (cont) ] Main: at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
[ (cont) ] Main: at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
[ (cont) ] Main: at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
[ (cont) ] Main: at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
[ (cont) ] Main: at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
[ (cont) ] Main: at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
[ (cont) ] Main: at java.lang.Thread.run(Unknown Source)
[ (cont) ] Main: Caused by: fuego.papi.impl.EngineNotAvailableException: Cannot reach engine 'OBPMClusterEngine' at URL: 'null'.
[ (cont) ] Main: ... 36 more
[ (cont) ] Main: Caused by: javax.management.InstanceNotFoundException: ALBPM.mami.ServerManagement:type=Server,server=OBPMClusterEngine,*
[ (cont) ] Main: at fuego.mami.engine.j2ee.J2EEAdminEngineAccessImpl.getJmxEngineManagement(J2EEAdminEngineAccessImpl.java:147)
[ (cont) ] Main: at fuego.mami.engine.j2ee.J2EEAdminEngineAccessImpl.getEngineManagement(J2EEAdminEngineAccessImpl.java:68)
[ (cont) ] Main: ... 35 more
[ (cont) ] Main:
Thanks in advance.
Best Regards,
Bill -
Environment Variables: How to set
I deploy my application to Tomcat. My application uses environment variables that are set in the server.xml file as follows:
<?xml version="1.0" encoding="UTF-8"?>
<Server>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
<Environment
name="simpleValue"
type="java.lang.Integer"
value="30"/>
Note: in JBoss it would a little different:
<env-entry>
<description>The maximum number of tax exemptions allowed </description>
<env-entry-name>simpleValue</env-entry-name>
<env-entry-type>java.lang.Integer</env-entry-type>
<env-entry-value>30</env-entry-value>
</env-entry>
The application works fine when deployed to Tomcat. However, I can not find where in JSC or the embedded Sun server to set these environment variables? Anyone know? Thanks in advance.
KellySorry, that document talks about deploying to JBoss. That was not my question. My question was:
I can not find where in JSC or the embedded Sun server to set environment variables? Anyone know? Thanks in advance.
Well, I found a partial answer. You can add environment variables to the Web.xml as follows:
<env-entry>
<env-entry-name>UploadDirectory</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>\logs\tqs6</env-entry-value>
</env-entry>
That puts them at the application level. I am looking for how to set them at the server level for Suns Java Application Server that is bundled in JSC. -
How to setup Context in Tomcat 5.x as compare to 4.x
Hi All,
I am having a slight problem in understanding how to set a new context using tomcat 5.x.
What I used to do with tomcat4.x is that add the collowing
<Context path="/ddrive" docBase="D:/" reloadable="true"
crossContext="true" allowLinking="true"/>
in the server.xml file and from my btowser when I entered
localhost:8888/ddrive, it would give me directory listing for the mapped drive.
Now I want to do the same for tocat5.x, however am not being successfull, have tried few options but no success. Wonder if anybody here can point me in right direction so that I can get this done..thanksand thats what is driving me nuttttz...cus it does seem like I am doing the right thing but.... here is what I get when I write the following in my browser window.
http://localhost/ddrive
Error:
HTTP Status 404 - /ddrive/
type Status report
message /ddrive/
description The requested resource (/ddrive/) is not available.
Apache Tomcat/5.5.15 -
HOW TO: Set up your application server to run BC4J
How To set up your application server to run BC4J.
INTRODUCTION
A running BC4J application is actually the combination of:
* Your own application files
* BC4J runtime libraries
In order to successfully run your BC4J application in local mode, the first requirement is
that your application server contains the necessary BC4J libraries.
This How To describes the steps required to ensure that you have a functional
BC4J runtime environment installed on your application server.
Oracle IAS 1.0.2 and Tomcat 3.1 will be used as examples.
THE BC4J RUNTIME LIBRARIES
Whatever application server you deploy to, the following libraries
are required in the following order to be in the classpath.
BC4J Libraries:
xmlparserv2.jar
jdev-rt.zip
jbojdbcpatch.zip
connectionmanager.zip
jbohtml.zip
jboimdomains.zip
ordim817.zip
ordvir817.zip
ordhttp.zip
jbomt.zip
jbodomorcl.zip
jboremote.zip
jndi.jar
jbodatum12.zip
These libraries can be found in <JDEV_HOME>/lib/
INSTALLING THE LIBRARIES ON IAS:
Installing the libraries is simply a matter of copying them to the
application server's filesystem and adding them to the classpath.
IAS's classpath can be modified by editing the file:
<IAS_HOME>\Apache\Jserv\conf\jserv.properties
In this file you'll find the existing pre-installed BC4J libraries which
looks like this:
wrapper.classpath=<IAS_HOME>\Apache\BC4J\lib\ordvir817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\lib\ordim817.zip
etc.
Note! These BC4J libraries correspond to JDeveloper 3.1.1.
In order to run JDev 3.2 based applications you will have to update these libraries
to JDeveloper 3.2 production.
Steps:
1. Copy (or FTP) the JDev 3.2 BC4J libraries from <JDEV_HOME>\lib to a NEW directory on the
appserver's filesystem called:
<IAS_HOME>\Apache\BC4J\newlib
2. Modify the classpath by editing <IAS_HOME>\Apache\Jserv\conf\jserv.properties.
Example: (modified classpath entries)
# New 3.2 BC4J Runtime libraries
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\xmlparserv2.jar
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jdev-rt.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbojdbcpatch.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\connectionmanager.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbohtml.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jboimdomains.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordim817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordvir817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordhttp.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbomt.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbodomorcl.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jboremote.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jndi.jar
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbodatum12.zip
Note: Make sure to remove or comment out the existing 3.1.1 BC4J library entries!
To see the changes, you must restart IAS and that's it, your IAS will be updated with
the JDev 3.2 BC4J libraries which allow you to run BC4J Data Tags among other
things!
INSTALLING THE LIBRARIES ON TOMCAT
As before, this process involves both the copying of the libraries
and modifying the classpath.
After copying the BC4J libraries to a path accessible from Tomcat,
you can modify Tomcat's classpath by editing it's startup script:
<TOMCAT_HOME>\bin\tomcat.bat (NT)
<TOMCAT_HOME>\bin\tomcat.sh (Unix)
Here is a portion of a modified tomcat.bat (on NT)
rem Add BC4J libraries
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\xmlparserv2.jar
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jdev-rt.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbojdbcpatch.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\connectionmanager.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbohtml.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jboimdomains.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\or dim817.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\ordvir817.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\ordhttp.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbomt.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbodomorcl.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jboremote.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jndi.jar
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbodatum12.zip
rem Add Oracle JDBC library
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\classes12.zip
Note: I also added the Oracle JDBC library since Tomcat does not have it.
It is found at:
<JDEV_HOME>\jdbc\lib\oracle8.1.7\classes12.zip
And That's It!
When Tomcat is restarted using this script, the necessary BC4J libraries
will be in the classpath..
A follow up How To:"How To Deploy a BC4J JSP Application on IAS and Tomcat"
will be posted shortly!I copied the following files in jserv classpath
bc4jct.jar
bc4jctejb.jar
bc4jdomorcl.jar
bc4jhtml.jar
bc4jimdomains.jar
bc4jmt.jar
bc4jmtejb.jar
bc4juixtags.jar
collections.jar
datatags.jar
jdev-cm.jar
regexp.jar
share.jar
uix2.jar
cabo.war
classes12.jar
nls_charset12.jar
ordim.jar
ordhttp.jar
runtime12.jar
jdev-rt.jar
xmlparserv2.jar
bc4j_jclient_common.jar
webapp.war
I got this list from Jdev 9031 on-line help
I also copied the new DataTags.tld file to /webapp directory
When i run my jsp page i get this error..
java.lang.NoClassDefFoundError: java/util/TimerTask
at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:693)
at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:148)
at jspapp.odrjsp__html._menu._jspService(Compiled Code)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
at oracle.jsp.JspServlet.doDispatch(Compiled Code)
at oracle.jsp.JspServlet.internalService(Compiled Code)
at oracle.jsp.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at oracle.portal.provider.v1.http.JspRenderer.renderBody(JspRenderer.java:116)
at oracle.portal.provider.v1.RenderManager.render(RenderManager.java:164)
at oracle.portal.provider.v1.http.ServletProviderResponse.showPortlet(Compiled Code)
at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(Compiled Code)
at oracle.portal.provider.v1.http.HttpProvider.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jserv.JServConnection.processRequest(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
In the JDK 1.3 APi docs, i found that TimerTask was introduced only in JDK 1.3
Does this mean that BC4J (in jdev 9031) will only work
with JDK 1.3 or later?
Thanks for your time.
Harish -
How to set up Planning on Multiple Servers
Hi,
1) I am trying to install a Finance Planning application so that it runs on one Planning Web Server and the other operations Planning application on another Planning 9.3.1 web server. Is that possilbe?
2) May be unrelated question:
HP_Windows_Install.pdf has only a few lines explaining how to set up Planning on Multiple Servers. Is it as simple as that?
Here are the "few lines" from install.pdf:
Perform the same installation and configuration process on your secondary servers, making sure to choose
Planning Web Server component for any secondary server.
Make sure you select Reuse existing tables when prompted during the Configure a Database task
in the Configuration utility.Tomcat.
But it will be nice to know the steps for Weblogic too - as Weblogic will be bundled "free" with future releases of Planning. -
How to set the CLASSPATH in Unix Server
Hi, everyone~
Do anyone noe how to set the CLASSPATH in the hp-ux server? I tried the setenv CLASSPATH, but not working.. I think should use export. But my jsp pages still cannot working, dunnoe y?
I wonder is the hp-ux support jsp and servlet or not?
In order to let the jsp and servlet to run properly in the unix server, what kinds of steps should taken ?
Hope somemore who experience with this situation b4 can give me some guidance.. Thanks~~
regards,
tzeyikTomcat ignores any and all CLASSPATH environment variables. Even if you could figure out how to set it, Tomcat wouldn't use it.
Better to learn how Tomcat's CLASSPATH works and how to deploy Web apps properly. - MOD -
How to set Alias name for URL or change URL..
Hi:
I am using Apache Tomcat as web server, it contains multiple web applications.
Url for one of this application is, e.g. http://localhost:8080/myapplication. This particular url work fine.
But i want to use only mypage word instead of all the above url.
So how to set or map this?
Thank You,
Anup Desai.Thank you.
I tried to set the displayname (using setPersonal function)
Still its not working.
I feel it is because during authentication we give the login name (which is taken as the display name).
Is there any way to change without touching configuration level properties in exchange server 2007.
thanks in advance
Maybe you are looking for
-
How to get your contacts to your new phone
These days, most of us live ane die by our mobile phones - our personal and business lives revolve around them; and yet technology moves so fast that our phones become outdated and are replaced so quickly. Luckily, the days when buying a new phone me
-
I pre-ordered an iPhone 6 Plus and the delivery date now says October 14th. The point of the pre-order is to get it on release day (or shortly thereafter). Can I go to a Verizon store to pick up my new phone on release day?
-
Hi guys, one day I turned my MacBook Pro on and it was frozen at the login screen, so I did a hard shutdown and restarted it just to get a blank white screen that didn't change. So I took it to the apple store for a genius appointment and they diagno
-
Music Library shared on all accounts on Mac
I just bought a Mac book and copied all my music from my PC. I then set up accounts for different family members but they there is no music in their libraries. All the music is in the admin account. How do I share the music with all accounts on my MA
-
Linux doesn't seem to know battery status
I have a sony vaio vgn-p11z. The first thing I mentioned was the broken status display of notion after an update, but this wasn't that bad. acpitool says there is no battery present, acpi however displays valid data about battery 0. The thing that re