Problem in starting Apache Tomcat 4.0
I have recently installed Apache Tomcat 4.0 (on Windows 2000). When i try to run the server i get the following message. Can someone help me in figuring this out?
Catalina.start: LifecycleException: null.open: java.net.BindException: Address
in use: JVM_Bind
LifecycleException: null.open: java.net.BindException: Address in use: JVM_Bin
d
at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1116)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:552)
at org.apache.catalina.startup.Catalina.start(Catalina.java:775)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:218)
----- Root Cause -----
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.net.DefaultServerSocketFactory.createSocket(Defau
ltServerSocketFactory.java:118)
at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.j
ava:946)
at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1114)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:552)
at org.apache.catalina.startup.Catalina.start(Catalina.java:775)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:218)
Hi Syed,
Did you set up 2 environment variables:
JAVA_HOME points to your jdk
CATALINA_HOME points to your tomcat
--Paul
Similar Messages
-
Problem while starting Apache/Tomcat as a NT Service
We are having a virtual folder which is mapped to a network physical folder.In this case while starting Apache/Tomcat as NT service it fails to map that folder.If we start the Tomcat as a Standalone service(using start menu) it works fine.I don't know which one is best whether starting tomcat as standalone or NT service.Provide a better solution
You want to run it as an NT Service if you want Tomcat running when you are logged off. Otherwise, you can just run it manually.
-
Problem while starting Apache Tomcat Server (Ports already in use)...
Hi,
I am using an Eclipse IDE for web service Client creation.. Also I have used Apache Tomcat5.5 Server inorder to run the application*...*
While starting Tomcat Server, I am getting an error that the port numbers are already in use.
So, I have changed the port numbers in the Server.xml file.
But, still it is throwing the same error , even though the port numbers are not in use.
Can any one please provide some suitable solution for this ASAP....
I need very urgent and so please provide some solution..
Thanks in Advance,
roopaHey...
Did u start restarting your machine after you changed the ports..
Is your tomcat server running perfectly after you changed the port number...
I had a similar prob.. But i jus reinstalled both and gave different port numbers while re-installling.
Jus give it it a try.. The ports need to be refreshed.. So try rebooting yr machine first !
All the best ! -
Problem in configuring Apache Tomcat Server
Hi, I am facing problem in configuring Apache Tomcat server. I have downloaded its version 4.1.18 from the Internet. After unzipping and installing it, I have enabled the Root Context, enabled the Invoker Servlet, haven't changed the port to 80 from default 8080, have turned on the Servlet Reloading, have set the Java_Home variable in autoexec.bat, and have changed the DOS memory setting to 4096.
Also, the concerned lines in my autoexec.bat file look like this:
path c:\windows;c:\windows\command;c:\jdk1.2;c:\jsdk2.0;
c:\JavaWebServer2.0;c:\jakarta-tomcat-4.1.18
set java_home=c:\jdk1.2
set tomcat_home-c:\jakarta-tomcat-4.1.18
set classpath=.;c:\ServDevel;.;c:\jakarta-tomcat-4.1.18\common\lib\servlet.jar;.;c:\jsdk2.0\lib\servlet.jar;.;
Still, after having done all this, when I start the server using startup.bat (which happens without any problems) and type in http://localhost:8080/ on the browser to test the server, nothing happens. It doesn't show me the Tomcat Welcome screen. I get an error page saying "This page is not available". Why? Where am I going wrong?
Sushant1) Try http://127.0.0.1:8080
2) set tomcat_home-c:\jakarta-tomcat-4.1.18
Is the minus-sign after tomcat_home also in the autoexec.bat?
Replace it with an equals-sign
3) When you run startup.bat, is a new command window opened and are the following three lines displayed at the end? It should stay open, otherwise something is wrong (unless running as a service).
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18 -
I get a error when starting Apache Tomcat 6.0 service
Hi Friends,
I get a error when starting Apache Tomcat 6.0 service. Do you help me?
Kind regards.
Fatih Temiz
First Step:
Second Step:
Thanks for helps...It seems like the JVM is pointing to incorrect .dll file.
Goto Apache bin directory, and from there open Apache[version]W.exe
Click the "Java" tab and ensure the first textbox "Java Virtual Machine" is pointed to the correct jvm.dll
If it was pointed to the JDK then it is wrong. Repoint it to the jre jvm located at \jre6\bin\client\jvm.dll
Let me know if it resolves the issue. -
Problem i starting Apache web server
# service httpd start
Got message like :--------------------------
Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
on checkig log file :: -----------------------------------------------i found this.
# journalctl -xn
-- Logs begin at Sun 2013-01-27 20:38:14 IST, end at Mon 2013-01-28 13:57:43 IST. --
Jan 28 13:56:50 nitk.admin systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jan 28 13:56:50 nitk.admin httpd[26019]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf.d/aeolus-conductor.con
Jan 28 13:56:50 nitk.admin httpd[26019]: httpd (no pid file) not running
Jan 28 13:56:50 nitk.admin systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
-- Unit httpd.service has failed.
-- The result is failed.
Jan 28 13:56:50 nitk.admin systemd[1]: Unit httpd.service entered failed state
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 3377
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 49
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 8
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 INFO nova.compute.resource_tracker [-] Compute_service record updated for nitk.admin
Jan 28 13:57:43 nitk.admin nova-compute[1318]: 2013-01-28 13:57:43 1318 INFO nova.compute.manager [-] Updating host status
(END)
Can anyone help me to decide, where is the problem???????????
content of the file ; /usr/lib/systemd/system/httpd.service
[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=notify
PIDFile=/var/run/httpd/httpd.pid
EnvironmentFile=/etc/sysconfig/httpd
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop
PrivateTmp=true
[Install]
WantedBy=multi-user.target
Last edited by hunter.ashish (2013-01-28 08:32:52)Could you check if you have this directory? (It can be empty):
/var/run/httpd
permissions should be root:root, mod:755 -
empty
Michael,
The balancer web app that comes with tomcat is a software load balancer that
is deployed automatically by default and that is not definitely not needed
or required. You can disable it by removing the balancer.xml file from
D:\devtools\jakarta-tomcat-5.0.24\conf\Catalina\localhost.
Sami
"Michael Mok" <[email protected]> wrote in message
news:[email protected]...
HiI installed Nitrox 1.0 and fould the following problem when starting up
Tomcat. If appears the Tomcat 5.0.24 contains a balancer application
which need to load the commons digester class. I am not sure if this
application is optional. Any suggestion on how to resolve this problem?
Thanks in advance.
D:\DEVTOOLS\J2SDK1.4.2\bin\java -classpath
D:\devtools\jakarta-tomcat-5.0.24\bin\bootstrap.jar;D:\DEVTOOLS\J2SDK1.4.2\l
ib\tools.jar
-Dcatalina.home=D:\devtools\jakarta-tomcat-5.0.24org.apache.catalina.startup.Bootstrap -config
D:\devtools\NitroX\eclipse\plugins\com.m7.nitrox_1.0.0\data\scratch\efleet_f
cdba9ea8a_221e7ef2016fb2a1\._fcdba9ea8a_8722f8069da105d8\.m7debugger\tomcat5
\efleet\conf\m7.auto.server.xml
start6/06/2004 10:47:16 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
6/06/2004 10:47:16 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1202 ms
6/06/2004 10:47:16 org.apache.catalina.core.StandardService start
INFO: Starting service NitroX
6/06/2004 10:47:16 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.24
6/06/2004 10:47:16 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
6/06/2004 10:47:17 org.apache.struts.util.PropertyMessageResources <init
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
6/06/2004 10:47:17 org.apache.struts.util.PropertyMessageResources <init
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
6/06/2004 10:47:17 org.apache.struts.util.PropertyMessageResources <init
INFO: Initializing, config='application', returnNull=true
6/06/2004 10:47:17 com.fsoft.efleet.struts.server.eFleetDatabasePlugIn
init
INFO: eFleet Server Plug In started
6/06/2004 10:47:17 org.apache.struts.validator.ValidatorPlugIn
initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
6/06/2004 10:47:17 org.apache.struts.validator.ValidatorPlugIn
initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
6/06/2004 10:47:17 org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
6/06/2004 10:47:17 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /balancer from URL
file:D:\devtools\jakarta-tomcat-5.0.24\webapps\balancer
StandardContext[balancer]Exception starting filter BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
at
org.apache.webapp.balancer.RulesParser.createDigester(RulesParser.java:65)
at org.apache.webapp.balancer.RulesParser.<init>(RulesParser.java:43)
at org.apache.webapp.balancer.BalancerFilter.init(BalancerFilter.java:79)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
Config.java:225)
atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
terConfig.java:308)
atorg.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
fig.java:79) -
Problem with starting Tomcat in debug Mode, Win XP
Hi,
if i go to cmd and C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin
and write: catalina jpda start, it says
C:\Documents and Settings\bartek>cd C:\Program Files\Apache Software Founda
C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>catalina jpda start
Using CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 5
Using CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 5
Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Tomcat 5
Using JAVA_HOME: C:\j2sdk1.4.2_09
C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>
And it finishes.... Server is off
If i write: catalina start , new Tomcat window opens and the server starts
This is my catalina.bat
@echo off
if "%OS%" == "Windows_NT" setlocal
rem ---------------------------------------------------------------------------
rem Start/Stop Script for the CATALINA Server
rem
rem Environment Variable Prequisites
rem
rem CATALINA_HOME May point at your Catalina "build" directory.
rem
rem CATALINA_BASE (Optional) Base directory for resolving dynamic portions
rem of a Catalina installation. If not present, resolves to
rem the same directory that CATALINA_HOME points to.
rem
rem CATALINA_OPTS (Optional) Java runtime options used when the "start",
rem "stop", or "run" command is executed.
rem
rem CATALINA_TMPDIR (Optional) Directory path location of temporary directory
rem the JVM should use (java.io.tmpdir). Defaults to
rem %CATALINA_BASE%\temp.
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem
rem JAVA_OPTS (Optional) Java runtime options used when the "start",
rem "stop", or "run" command is executed.
rem
rem JSSE_HOME (Optional) May point at your Java Secure Sockets Extension
rem (JSSE) installation, whose JAR files will be added to the
rem system class path used to start Tomcat.
rem
rem JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start"
rem command is executed. The default is "dt_shmem".
rem
rem JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start"
rem command is executed. The default is "jdbconn".
rem
rem $Id: catalina.bat,v 1.9.2.1 2004/08/21 15:49:47 yoavs Exp $
rem ---------------------------------------------------------------------------
rem Guess CATALINA_HOME if not defined
set CURRENT_DIR=%cd%
if not "%CATALINA_HOME%" == "" goto gotHome
set CATALINA_HOME=%CURRENT_DIR%
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
cd ..
set CATALINA_HOME=%cd%
cd %CURRENT_DIR%
:gotHome
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
echo The CATALINA_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
goto end
:okHome
rem Get standard environment variables
if exist "%CATALINA_HOME%\bin\setenv.bat" call "%CATALINA_HOME%\bin\setenv.bat"
rem Get standard Java environment variables
if exist "%CATALINA_HOME%\bin\setclasspath.bat" goto okSetclasspath
echo Cannot find %CATALINA_HOME%\bin\setclasspath.bat
echo This file is needed to run this program
goto end
:okSetclasspath
set BASEDIR=%CATALINA_HOME%
call "%CATALINA_HOME%\bin\setclasspath.bat"
rem Add on extra jar files to CLASSPATH
if "%JSSE_HOME%" == "" goto noJsse
set CLASSPATH=%CLASSPATH%;%JSSE_HOME%\lib\jcert.jar;%JSSE_HOME%\lib\jnet.jar;%JSSE_HOME%\lib\jsse.jar
:noJsse
set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar
if not "%CATALINA_BASE%" == "" goto gotBase
set CATALINA_BASE=%CATALINA_HOME%
:gotBase
if not "%CATALINA_TMPDIR%" == "" goto gotTmpdir
set CATALINA_TMPDIR=%CATALINA_BASE%\temp
:gotTmpdir
rem ----- Execute The Requested Command ---------------------------------------
echo Using CATALINA_BASE: %CATALINA_BASE%
echo Using CATALINA_HOME: %CATALINA_HOME%
echo Using CATALINA_TMPDIR: %CATALINA_TMPDIR%
echo Using JAVA_HOME: %JAVA_HOME%
set _EXECJAVA=%_RUNJAVA%
set MAINCLASS=org.apache.catalina.startup.Bootstrap
set ACTION=start
set SECURITY_POLICY_FILE=
set DEBUG_OPTS=
set JPDA=
if not ""%1"" == ""jpda"" goto noJpda
set JPDA=jpda
if not "%JPDA_TRANSPORT%" == "" goto gotJpdaTransport
set JPDA_TRANSPORT=dt_socked
:gotJpdaTransport
if not "%JPDA_ADDRESS%" == "" goto gotJpdaAddress
set JPDA_ADDRESS=8000
:gotJpdaAddress
shift
:noJpda
if ""%1"" == ""debug"" goto doDebug
if ""%1"" == ""run"" goto doRun
if ""%1"" == ""start"" goto doStart
if ""%1"" == ""stop"" goto doStop
if ""%1"" == ""version"" goto doVersion
echo Usage: catalina ( commands ... )
echo commands:
echo debug Start Catalina in a debugger
echo debug -security Debug Catalina with a security manager
echo jpda start Start Catalina under JPDA debugger
echo run Start Catalina in the current window
echo run -security Start in the current window with security manager
echo start Start Catalina in a separate window
echo start -security Start in a separate window with security manager
echo stop Stop Catalina
echo version What version of tomcat are you running?
goto end
:doDebug
shift
set _EXECJAVA=%_RUNJDB%
set DEBUG_OPTS=-sourcepath "%CATALINA_HOME%\..\..\jakarta-tomcat-catalina\catalina\src\share"
if not ""%1"" == ""-security"" goto execCmd
shift
echo Using Security Manager
set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
goto execCmd
:doRun
shift
if not ""%1"" == ""-security"" goto execCmd
shift
echo Using Security Manager
set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
goto execCmd
:doStart
shift
if not "%OS%" == "Windows_NT" goto noTitle
set _EXECJAVA=start "Tomcat" %_RUNJAVA%
goto gotTitle
:noTitle
set _EXECJAVA=start %_RUNJAVA%
:gotTitle
if not ""%1"" == ""-security"" goto execCmd
shift
echo Using Security Manager
set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
goto execCmd
:doStop
shift
set ACTION=stop
goto execCmd
:doVersion
%_EXECJAVA% -classpath "%CATALINA_HOME%\server\lib\catalina.jar" org.apache.catalina.util.ServerInfo
goto end
:execCmd
rem Get remaining unshifted command line arguments and save them in the
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs
rem Execute Java with the applicable properties
if not "%JPDA%" == "" goto doJpda
if not "%SECURITY_POLICY_FILE%" == "" goto doSecurity
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:doSecurity
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:doJpda
if not "%SECURITY_POLICY_FILE%" == "" goto doSecurityJpda
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xdebug -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:doSecurityJpda
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:endpaths with spaces in them are a problem. surround them with quotes and see if that helps.
why does the Java /bin appear twice?
why don't you use the JAVA_HOME variable that you set? don't repeat yourself.
% -
Apache Tomcat 5.5.20 could not start
Hi experts,
i have the following problem by starting TomCat. I have install BO Enterprise XI 3.0.
Before getting this problem it was very difficult to start the Server. I had to click at least five Minutes till the server starts.
Now it is not starting anymore.
SIA ist working without problem.
Could you please help?
Thank you in Advance
CheersI'm evaluating Crystal reports server 2008 in Windows 2003 R2 server (4Gb Ram). When upgrading Win 2003 to SP2 Tomcat service couldn't start.
"C:\Archivos de programa\Business Objects\Tomcat55\bin\tomcat5.exe" //RS//BOE120Tomcat -requestreport 8000
According to
http://www.forumtopics.com/busobj/viewtopic.php?p=554540&sid=112a146801723064a073894175a24404
http://commons.apache.org/daemon/procrun.html
I changed XX:MaxPermSize at HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\BOE120Tomcat\Parameters\Java\Options
-Djava.library.path=C:\WINDOWS\system32\;C:\Archivos de programa\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\
-Dcatalina.base=C:\Archivos de programa\Business Objects\Tomcat55\
-Dcatalina.home=C:\Archivos de programa\Business Objects\Tomcat55\
-Djava.endorsed.dirs=C:\Archivos de programa\Business Objects\Tomcat55\common\endorsed\
-Dbobj.enterprise.home=C:\Archivos de programa\Business Objects\BusinessObjects Enterprise 12.0\
-Xrs
-XX:MaxPermSize=50m
-Dbusinessobjects.olap.bin=
-Dbusinessobjects.olap.stylesheets=C:\Archivos de programa\Business Objects\OLAP Intelligence 12.0\stylesheets\
-Djava.awt.headless=true
nothing happened. It seemed --JvmMx was the parameter (jvmMx key?). It was 1024 then I set it to 128
tomcat service starts successfully again
Edited by: asaidel on Jun 17, 2009 11:19 PM -
Problem when rendering a report in BI Publisher deployed on Apache Tomcat
Hello for all.
First, I am going to tell you technical specifications about the software where I have deployed BI Publisher:
1. OS: Windows XP SP3
2. JDK and JRE: 1.6.0_24
3. Apache Tomcat: 5.5.33 (Set JVM Max Memory in 768MB)
4. BI Publisher EE: 10.1.3.4.1
I have deployed BI Publisher on Apache Tomcat without any problem, I uploaded Report files (both XDO and RTF), and I can see the reports in XML output format, but when I try to see the reports rendered by using the rtf file I have configured, BI Publisher shows me an Error; I checked the Apache Tomcat log and the following error is reported:
[042511_033325984][oracle.apps.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
<Line 3, Column 123>: XML-22002: (Fatal Error) Error while processing include XSL file (rtf2xsl://http_//localhost:8080/xmlpserver/SubTemplates/sub-template-parameters.rtf?sid=1&eaf=3).
<Line 296, Column 18>: XML-22000: (Error) Error while parsing XSL file (null).
[042511_033325984][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=247MB, total=44MB, free=15MB
[042511_033325984][][EXCEPTION] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.EmptyStackException
at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
... 39 more
[042511_033325984][][EXCEPTION] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.EmptyStackException
at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
... 39 more
I checked that the url http://localhost:8080/xmlpserver/SubTemplates/sub-template-parameters.rtf would be accesible via Internet Explorer, and It is accesible.
I am glad if you can tell me what could be the cause of the error.
Thanks.Finally, I stop working in the implementation of BIP over Apache Tomcat; I installed OC4J 10.1.3.5.0 (standalone installation) and I deployed BIP on it.
It seems the error I wrote in last post has been fixed, but actually I am obtaining the following error with the deployment on OC4J:
[042711_055706687][][ERROR] Namespace 'http://www.oracle.com/XSL/Transform/java/
oracle.com.xmlpublisher.reports.BIPExtension' failed Secure Java Extensions chec
k.
[042711_055706687][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=
494MB, total=46MB, free=21MB
[042711_055706687][][EXCEPTION] oracle.apps.xdo.XDOException: XSLT10gR1: Failed
Secure Java Extensions check.
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.j
ava:91)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.
java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.ja
va:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
hain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
er.java:94)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:644)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:662)
[042711_055706687][][EXCEPTION] oracle.apps.xdo.XDOException: XSLT10gR1: Failed
Secure Java Extensions check.
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.j
ava:91)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.
java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.ja
va:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
hain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
er.java:94)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:644)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:662)
May you know the cause of the error above?
Thanks, -
Io Exception connecting to Oracle from apache-tomcat-6.0.14 - weird problem
Hi all,
I'm in a desperate situation here. Trying to solve this problem for a week now. I have searched all over the internet but coul not find any solution. I developed an application using netbeans 5.5.1 with VWD pack and it works fine. The application accesses an oracle db on another server which works fine on my development machine. Now I deployed to oracle 9i and apache-tomcat-6.0.14 on a solaris machine and encountered this error :
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
on further troubleshooting I tried this code on the server.
java.sql.DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
java.sql.Connection conn = java.sql.DriverManager.getConnection("jdbc:oracle:thin:@servername:1521:sid", "username", "pswd");
and it works alright. The connection was established wothout error.
But when I try
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
javax.naming.Context init new javax.naming.Context();
javax.naming.Context ctx = (javax.naming.Context)init.lookup("java:comp/env");
javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("jdbc/dataSource");
java.sql.Connection conn = ds.getConnection();
I still get the same io Exception error.
Now I need to fetch the values from the context file, because my application uses :-
CachedRowSetXImpl portal_tabsRowSet= new CachedRowSetXImpl();
CachedRowSetDataProvider portal_tabsDataProvider= new CachedRowSetDataProvider();
as follows :-
portal_tabsRowSet.setDataSourceName("java:comp/env/jdbc/dataSource");
portal_tabsRowSet.setCommand("SELECT * FROM PORTAL_TABS");
portal_tabsRowSet.setTableName("PORTAL_TABS");
portal_tabsDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.portal_tabsRowSet}"));
here is my context.xml
<Context path="/AppPortal">
<Resource auth="Container" driverClassName="oracle.jdbc.driver.OracleDriver" m
axActive="20" maxIdle="10" maxWait="-1" name="jdbc/dataSource" password="pswd" ty
pe="javax.sql.DataSource" url="jdbc:oracle:thin:@servername:1521:sid" username="username"/>
</Context>
here is my web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"><context-param><param-name>javax.faces.STATE_SAVING_METHOD</param-name><param-value>server</param-value></context-param><context-param><param-name>javax.faces.CONFIG_FILES</param-name><param-value>/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml</param-value></context-param><context-param><param-name>com.sun.faces.validateXml</param-name><param-value>true</param-value></context-param><context-param><param-name>com.sun.faces.verifyObjects</param-name><param-value>false</param-value></context-param><filter><filter-name>UploadFilter</filter-name><filter-class>com.sun.rave.web.ui.util.UploadFilter</filter-class><init-param><description>
The maximum allowed upload size in bytes. If this is set
to a negative value, there is no maximum. The default
value is 1000000.
</description><param-name>maxSize</param-name><param-value>1000000</param-value></init-param><init-param><description>
The size (in bytes) of an uploaded file which, if it is
exceeded, will cause the file to be written directly to
disk instead of stored in memory. Files smaller than or
equal to this size will be stored in memory. The default
value is 4096.
</description><param-name>sizeThreshold</param-name><param-value>4096</param-value></init-param></filter><filter-mapping><filter-name>UploadFilter</filter-name><servlet-name>Faces Servlet</servlet-name></filter-mapping><servlet><servlet-name>Faces Servlet</servlet-name><servlet-class>javax.faces.webapp.FacesServlet</servlet-class><load-on-startup> 1 </load-on-startup></servlet><servlet><servlet-name>ExceptionHandlerServlet</servlet-name><servlet-class>com.sun.errorhandler.ExceptionHandler</servlet-class><init-param><param-name>errorHost</param-name><param-value>localhost</param-value></init-param><init-param><param-name>errorPort</param-name><param-value>24444</param-value></init-param></servlet><servlet><servlet-name>ThemeServlet</servlet-name><servlet-class>com.sun.rave.web.ui.theme.ThemeServlet</servlet-class></servlet><servlet-mapping><servlet-name>Faces Servlet</servlet-name><url-pattern>*.jspx</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ExceptionHandlerServlet</servlet-name><url-pattern>/error/ExceptionHandler</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ThemeServlet</servlet-name><url-pattern>/theme/*</url-pattern></servlet-mapping><session-config><session-timeout>5</session-timeout></session-config><welcome-file-list>
<welcome-file>JSCreator_index.jsp</welcome-file>
</welcome-file-list><error-page><exception-type>javax.servlet.ServletException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>java.io.IOException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>javax.faces.FacesException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>com.sun.rave.web.ui.appbase.ApplicationException</exception-type><location>/error/ExceptionHandler</location></error-page><jsp-config><jsp-property-group><url-pattern>*.jspf</url-pattern><is-xml>true</is-xml></jsp-property-group></jsp-config><resource-ref><description>Creator generated DataSource Reference</description><res-ref-name>jdbc/dataSource</res-ref-name><res-type>javax.sql.DataSource</res-type><res-auth>Container</res-auth></resource-ref></web-app>
This is really strange to me.
Please help!I haven't studied your problem in detail and don't actually use Tomcat 6, but in earlier versions of Tomcat the handling of JNDI leaves a lot to be desired. If you search this forum for posts about Tomcat and JNDI, you will find some useful information.
One thing I found was that you really need to use the context.xml file in your Meta-inf directory, putting the datasource anywhere else gets into one kind of trouble or another. I tried using server.xml, a context file for the application and the web-inf file. -
APACHE Tomcat server startup problem
When i'm trying to start Apache from Eclipse IDE, then accessing http://localhost:8080 , i got a Error 404 - The requested resource not available.
why is this?
when i'm starting from command line, everything it's ok, it's displaying the welcome screen
please help
ThanksIf you want to access the Tomcat root, then you need to let eclipse take over the full control of Tomcat. Doubleclick the Tomcat instance in the Servers dialogue, under the 'Server Locations' choose 'Use Tomcat installation' instead of the default 'Use workspace metadata'.
-
Problem starting apache web server [SOLVED]
when i start apache manually (sudo /etc/rc.d/./httpd start) i just get a fail, but when i start it through webmin i get the following:
stty: standard input: Inappropriate ioctl for device
Can someone tell me how i can fix this, or if it is too hard to fix, give me the name of the next best http server available?i had problems with apache too, but then i just did some changes:
in httpd.conf i changed user from nobody to httpd;
then added to system user httpd via adduser httpd in group nobody and it worked well -
hi
friends i am facing problem in starting tomcat jakarta-tomcat-4.1.24 , actually i think i am doing mistake in setting environment variable
set classpath=%classpath%;C:\tomcat\jakarta-tomcat-4.1.24\common\lib\servlet.jar;
set path=%path%;C:\j2sdk1.4.2_01\bin;C:\tomcat\jakarta-tomcat-4.1.24\common\lib\servlet.jar;
i woud really appriate if u people help me in sorting out this problem
tell me how to start using tomcat for servelet runnings.jindal wrote:
hi
friends i am facing problem in starting tomcat jakarta-tomcat-4.1.24 , actually i think i am doing mistake in setting environment variable
set classpath=%classpath%;C:\tomcat\jakarta-tomcat-4.1.24\common\lib\servlet.jar;
set path=%path%;C:\j2sdk1.4.2_01\bin;C:\tomcat\jakarta-tomcat-4.1.24\common\lib\servlet.jar;
i woud really appriate if u people help me in sorting out this problem
tell me how to start using tomcat for servelet running
I just type ./startup.sh, but then I am using a later version.
You would likely get better help at a Tomcat forum.
And then, you need to post what your error is. "Facing a problem" isn't helpful. -
Hi,
I am getting the following error mesage while try to run the tomcat on my machine.
" 'java' is not recognized as an internal or external command,
program or batch file.
'java' is not recognized as an internal or external command,
operable program or batch file."
my jdk & jre installed on the following path:
C:\Program Files\Java\jdk1.6.0_05
C:\Program Files\Java\jre1.6.0_05
my tomcat installed on the following path:
E:\xxxx\apache-tomcat-6.0.18
And I tried to run bebug.bat file:
path set on this file is given below:
set path=E:\nisha\apache-tomcat-6.0.18\\bin;C:\applications\Apache2\bin;C:\Program Files\Java\jdk1.6.0_06\bin;C:\Program Files\Java\jdk1.6.0_06\bin;C:
\applications\apache-ant-1.6.2\bin;.;
I already set the environment variable for java:
C:\Program Files\Java\jdk1.6.0_05
Any one can please help me to get out this problem.
Thanks in advance
Thanks,
learnTechpaths with spaces in them are a problem. surround them with quotes and see if that helps.
why does the Java /bin appear twice?
why don't you use the JAVA_HOME variable that you set? don't repeat yourself.
%
Maybe you are looking for
-
Transfer of GL a/cs manually from legacy system to SAP
How do you transfer GL a/cs manually from Legacy system to SAP, what offset a/c would you use. Also how would you open AR and AP transactions manually in SAP. Please help my email id is [email protected] Thanks
-
when I take a picture with my iphone, the date is not downloaded to my picute. Is there a way to get the date put on my pictures.
-
Down Payment processing for Sales orders using Milestone Billing Plan
Hi, The business scenario is as follows. The delivery for the sales orders are to be created only after the pre payment( a percentage of the total sales order value) is made by the customer. Hence the sales orders while creation are blocked for deliv
-
Firewire Camera problem - please help ;)
I've just recieved a sony HVR-Z1E to digitise some material. However when I connect it to the firewire bus (any lead, any port, with/without other firewire devices) the computer creates a high-pitched wine (not that unusual), but it also fails to rec
-
How do I return to my inbox after following a link
I have an iPhone 4s with OS7.1.2. I would like to know how to return to my inbox after viewing a link in an email. Right now the only way I can get back to the inbox is to close out the link without having to close and then reopen my email program. I