Starting tomcat with bootstrap.jar
I want to start Tomcat 4.1 with bootstrap.jar and calling the main function from my simple java program. How can I do it and what all parameters are required by the main function so that it can start the Tomcat?
Can I supply the catalina.policy file while starting it up?
Thanks for the reply. I downloaded the tar.qz and move it to /usr/local/
with apache-tomcat-6.0.18 at the root
I've always done things without netbeans IDE. I just like the netbeans because it came with tomcat.
I get the following error when I start tomcat
tma apache-tomcat-6.0.18 # /usr/local/apache-tomcat-6.0.18/bin/startup.sh
Using CATALINA_BASE: /usr/local/apache-tomcat-6.0.18
Using CATALINA_HOME: /usr/local/apache-tomcat-6.0.18
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp
Using JRE_HOME: /etc/java-config-2/current-system-vm
touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out': No such file or directory
/usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292: /usr/local/apache-tomcat-6.0.18/logs/catalina.out: No such file or directory
#cwc 090129
export CATALINA_HOME=/usr/local/apache-tomcat-6.0.18
export PATH=$PATH:$CATALINA_HOME/bin
Edited by: cwcoleman on Jan 30, 2009 5:38 AM
Edited by: cwcoleman on Jan 31, 2009 8:02 AM
Similar Messages
-
I have read all the help. I cannot figure out how to start tomcat such that it is using the ovjm. Please help.
Hi All,
I have changes the code to this:
try
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("C:\\apache-tomcat-5.5.27\\bin\\startup.bat");
InputStream stderr = proc.getErrorStream();
InputStreamReader isr = new InputStreamReader(stderr);
BufferedReader br = new BufferedReader(isr);
String line = null;
System.out.println("<ERROR>");
Thread.sleep(3000);
System.exit(0);
while ( (line = br.readLine()) != null)
System.out.println(line);
System.out.println("</ERROR>");
int exitVal = proc.waitFor();
System.out.println("Process exitValue: " + exitVal);
} catch (Throwable t)
t.printStackTrace();
}What is happening is that this piece of code is running perfectly on my machine but not on production server. JDK, Apache Tomcat are of same version (same replica) and also I am the administrator of both machines. On production server this does not throw any exception also. The path to startup.bat is same in both my machine and production. If I go on Start > Run > C:\apache-tomcat-5.5.27\bin\startup.bat it works but not with Java Application.
Completely perplexed. Please help me out for possible solution.
Thanks and Regards,
Vikash Anand -
Issue with starting tomcat in windows for webcenter sites installation
Hello All,
I have been trying to install oracle webcenter sites on windows 7, I followed all the steps in the documentation for the configuration and setup. but anytime I start the tomcat using the startup.bat script I get errors as shown below.
C:\WCS11gR1\tomcat\bin>catalina debug
Using CATALINA_BASE: "C:\WCS11gR1\tomcat"
Using CATALINA_HOME: "C:\WCS11gR1\tomcat"
Using CATALINA_TMPDIR: "C:\WCS11gR1\tomcat\temp"
Using JAVA_HOME: "C:\Program Files\Java\jdk1.7.0_21"
Using CLASSPATH: "C:\WCS11gR1\home\bin;C:\Program Files\Java\jdk1.7.0_21\l
ibtools.jar;;C:\WCS11gR1\tomcat\bin\bootstrap.jar"
Initializing jdb ...
runrun org.apache.catalina.startup.Bootstrap start
java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The
system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
at java.lang.Runtime.exec(Runtime.java:615)
at java.lang.Runtime.exec(Runtime.java:483)
at com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLau
ncher.java:180)
at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:132)
at com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLaunche
r.java:235)
at com.sun.tools.example.debug.tty.VMConnection.launchTarget(VMConnectio
n.java:495)
at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:3
26)
at com.sun.tools.example.debug.tty.Commands.commandRun(Commands.java:559
at com.sun.tools.example.debug.tty.TTY.executeCommand(TTY.java:491)
at com.sun.tools.example.debug.tty.TTY.<init>(TTY.java:765)
at com.sun.tools.example.debug.tty.TTY.main(TTY.java:1067)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:288)
at java.lang.ProcessImpl.start(ProcessImpl.java:133)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
... 11 more
Fatal error:
Unable to launch target VM.
If I run it by clicking on the bat file directory I get this error in my catalina log file below:
May 27, 2013 5:04:48 PM org.apache.catalina.startup.Catalina start
SEVERE: Cannot start server. Server instance is not configured.
Kindly advise me on what to do to resolve this issue.Yes I did that all the commands give me error.
If I use the startup.bat I get a list of errors ending with:
org.apache.catalina.startup.Catalina start SEVERE: Cannot start server. Server instance is not configured.
but I have configured the instance using the following settings for windows:
SET CATALINA_HOME = C:\WCS11gR1\tomcat
SET CATALINA_BASE = C:\WCS11gR1\tomcat
SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_21
SET JAVA_OPTS=-Xmx1500m
SET CS_HOME=C:\WCS11gR1\home
SET CATALINA_OPTS=-XX:MaxPermSize=192m -Dfile.encoding=UTF-8 -Dnet.sf.ehcache.enableShutdownHook=true -Djava.net.preferIPv4Stack=true -
Start Tomcat 5.5 with Security Manager
Recently, i have installed Tomcat version 5.5.8 but i have problem to start tomcat with a Securiy manager.
For Tomcat version 4.xx we could start Tomcat with SecurityManager by using the "-security" option at "%CATALINA_HOME%\bin\startup.bat" after configured the catalina.policy file.
But i couldn't do so at Tomcat 5.5.8. Any idea? Many Thanks.Start it yourself with
java -Dcatalina.home=$CATALINA_HOME -Djava.security.manager -Djava.security.policy=="your.policy" -cp your.classpath org.apache.catalina.startup.Bootstrap
Cheers,
Arnaud -
Unable to start tomcat from Windows 98
I just downloaded and installed tomcat on my Windows 98 machine. But when I click on start Tomcat, a DOS window opens and closes imeediately - the server does not seem to have started. I tried pasting this in a new DOS Window:
D:\jdk1.2.2\bin\java.exe -jar -Duser.dir="D:\Tomcat" "D:\Tomcat\bin\bootstrap.jar" start
But then I get the following error:
Bootstrap: Class loader creation threw exception
java.lang.IllegalMonitorStateException: current thread not owner
I have jdk 1.2.2 installed on my machine and JAVA_HOME pointing to this. Can anyone tell me what the problem is?
Thanks in Advance
JayIt's not TOMCAT_HOME, it's CATALINA_HOME
Add
set CATALINA_HOME=full_path_to_tomcat_installation
to AUTOEXEC.bat, or type it at command line before typing startup in TOMCAT_HOME/bin (however if you do this you will lose this variable when you close the command line). Putting it in autoexec is best solution. Reboot.
Probably a good idea to add
set JAVA_HOME=full_path_to_java_installation
in autoexec.bat as well.
hth
steve -
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.
% -
Strange Error when starting tomcat 5.5.7
Hello,
on WinXP SP2 I am using JavaStudio Enterprise 8, with J2SE 1.5 update 9. I am trying to run the tomcat-servlet-example. The project compile properly, but when i run the project i get the error below. Since i have no clue how to overtake this, i ask assistance on fixing it.
TIA,
Luca
Using CATALINA_BASE: C:\Documents and Settings\luca.C64\.jstudio\Ent8\jakarta-tomcat-5.5.7_base
Using CATALINA_HOME: D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\jakarta-tomcat-5.5.7
Using CATALINA_TMPDIR: C:\Documents and Settings\luca.C64\.jstudio\Ent8\jakarta-tomcat-5.5.7_base\temp
Using JAVA_HOME: C:\Programmi\Java\jdk1.5.0_09
13-ott-2006 18.56.05 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
13-ott-2006 18.56.05 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1297 ms
13-ott-2006 18.56.05 org.apache.tomcat.util.digester.Digester fatalError
GRAVE: Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 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.tomcat.util.digester.Digester.parse(Digester.java:1580)
at org.apache.catalina.users.MemoryUserDatabase.open(MemoryUserDatabase.java:370)
at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:97)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:129)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:792)
at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:138)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:108)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:80)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:676)
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)
13-ott-2006 18.56.05 org.apache.naming.NamingContext lookup
AVVERTENZA: Unexpected exception resolving reference
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1580)
at org.apache.catalina.users.MemoryUserDatabase.open(MemoryUserDatabase.java:370)
at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:97)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:129)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:792)
at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:138)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:108)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:80)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:676)
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)
13-ott-2006 18.56.05 org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans
GRAVE: Exception processing Global JNDI Resources
javax.naming.NamingException: Content is not allowed in prolog.
at org.apache.naming.NamingContext.lookup(NamingContext.java:804)
at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:138)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:108)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:80)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:676)
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)
13-ott-2006 18.56.05 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
13-ott-2006 18.56.05 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
13-ott-2006 18.56.05 org.apache.tomcat.util.digester.Digester fatalError
GRAVE: Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 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.tomcat.util.digester.Digester.parse(Digester.java:1580)
at org.apache.catalina.users.MemoryUserDatabase.open(MemoryUserDatabase.java:370)
at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:97)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:129)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:792)
at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:222)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)
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)
13-ott-2006 18.56.05 org.apache.naming.NamingContext lookup
AVVERTENZA: Unexpected exception resolving reference
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1580)
at org.apache.catalina.users.MemoryUserDatabase.open(MemoryUserDatabase.java:370)
at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:97)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:129)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:792)
at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:222)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)
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)
13-ott-2006 18.56.05 org.apache.catalina.realm.UserDatabaseRealm start
GRAVE: Exception looking up UserDatabase under key UserDatabase
javax.naming.NamingException: Content is not allowed in prolog.
at org.apache.naming.NamingContext.lookup(NamingContext.java:804)
at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:222)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)
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)
13-ott-2006 18.56.05 org.apache.catalina.startup.Catalina start
GRAVE: Catalina.start:
LifecycleException: No UserDatabase component found under key UserDatabase
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:228)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)
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)
13-ott-2006 18.56.05 org.apache.catalina.startup.Catalina start
INFO: Server startup in 391 ms
13-ott-2006 18.56.05 org.apache.catalina.core.StandardServer await
GRAVE: StandardServer.await: create[8025]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:346)
at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
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)
13-ott-2006 18.56.05 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080Hello,
I have set the verbosity of Ant to Debug, and the resulting log after clicking on the Run Main Project button is here below. The same error happens in Debug Maing Project.
It seems to be difficult to get it working, and i cant understand why. After all, i used it for 1 year without problems, and now i m struggling...
See you,
Luca
Adding reference: ant.PropertyHelper
Detected Java version: 1.5 in: C:\Programmi\Java\jdk1.5.0_09\jre
Detected OS: Windows XP
Adding reference: ant.ComponentHelper
parsing buildfile jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml with URI = jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml
+Datatype nbbrowse org.netbeans.modules.ant.browsetask.NbBrowse
parsing buildfile jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml with URI = jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml
+Datatype antlib:org.netbeans.modules.ant.browsetask:nbbrowse org.netbeans.modules.ant.browsetask.NbBrowse
parsing buildfile jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml with URI = jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml
+Datatype nbjpdaconnect org.netbeans.modules.debugger.jpda.ant.JPDAConnect
+Datatype nbjpdastart org.netbeans.modules.debugger.jpda.ant.JPDAStart
+Datatype nbjpdareload org.netbeans.modules.debugger.jpda.ant.JPDAReload
parsing buildfile jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml with URI = jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml
+Datatype antlib:org.netbeans.modules.debugger.jpda.ant:nbjpdaconnect org.netbeans.modules.debugger.jpda.ant.JPDAConnect
+Datatype antlib:org.netbeans.modules.debugger.jpda.ant:nbjpdastart org.netbeans.modules.debugger.jpda.ant.JPDAStart
+Datatype antlib:org.netbeans.modules.debugger.jpda.ant:nbjpdareload org.netbeans.modules.debugger.jpda.ant.JPDAReload
parsing buildfile jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml with URI = jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml
+Datatype nbdeploy org.netbeans.modules.j2ee.ant.Deploy
+Datatype nbverify org.netbeans.modules.j2ee.ant.Verify
parsing buildfile jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml with URI = jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml
+Datatype antlib:org.netbeans.modules.j2ee.ant:nbdeploy org.netbeans.modules.j2ee.ant.Deploy
+Datatype antlib:org.netbeans.modules.j2ee.ant:nbverify org.netbeans.modules.j2ee.ant.Verify
parsing buildfile jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml with URI = jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml
+Datatype sun-appserv-deploy org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask
+Datatype sun-appserv-undeploy org.apache.tools.ant.taskdefs.optional.sun.appserv.UndeployTask
+Datatype sun-appserv-instance org.apache.tools.ant.taskdefs.optional.sun.appserv.InstanceTask
+Datatype sun-appserv-component org.apache.tools.ant.taskdefs.optional.sun.appserv.ComponentTask
+Datatype sun-appserv-admin org.apache.tools.ant.taskdefs.optional.sun.appserv.AdminTask
+Datatype sun-appserv-input org.apache.tools.ant.taskdefs.Input
+Datatype sun-appserv-jspc org.apache.tools.ant.taskdefs.optional.sun.appserv.SunJspc
+Datatype sun-appserv-update org.apache.tools.ant.taskdefs.optional.sun.appserv.UpdateTask
parsing buildfile jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml with URI = jar:file:/D:/Programmi/Sun/jstudio_ent8/ide/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml
+Datatype antlib:org.netbeans.modules.j2ee.sun.ide:sun-appserv-deploy org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask
+Datatype antlib:org.netbeans.modules.j2ee.sun.ide:sun-appserv-undeploy org.apache.tools.ant.taskdefs.optional.sun.appserv.UndeployTask
+Datatype antlib:org.netbeans.modules.j2ee.sun.ide:sun-appserv-instance org.apache.tools.ant.taskdefs.optional.sun.appserv.InstanceTask
+Datatype antlib:org.netbeans.modules.j2ee.sun.ide:sun-appserv-component org.apache.tools.ant.taskdefs.optional.sun.appserv.ComponentTask
+Datatype antlib:org.netbeans.modules.j2ee.sun.ide:sun-appserv-admin org.apache.tools.ant.taskdefs.optional.sun.appserv.AdminTask
+Datatype antlib:org.netbeans.modules.j2ee.sun.ide:sun-appserv-input org.apache.tools.ant.taskdefs.Input
+Datatype antlib:org.netbeans.modules.j2ee.sun.ide:sun-appserv-jspc org.apache.tools.ant.taskdefs.optional.sun.appserv.SunJspc
+Datatype antlib:org.netbeans.modules.j2ee.sun.ide:sun-appserv-update org.apache.tools.ant.taskdefs.optional.sun.appserv.UpdateTask
Setting ro project property: ant.file -> C:\Documents and Settings\luca.C64\TomcatServletExample1\build.xml
Setting ro project property: ant.version -> Apache Ant version 1.6.2 compiled on July 16 2004
Setting ro project property: ant.home -> D:\Programmi\Sun\jstudio_ent8\ide\ide5\ant
Setting ro project property: forceRedeploy -> false
Setting ro project property: build.compiler.emacs -> true
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile C:\Documents and Settings\luca.C64\TomcatServletExample1\build.xml with URI = file:///C:/Documents%20and%20Settings/luca.C64/TomcatServletExample1/build.xml
Setting ro project property: ant.project.name -> TomcatServletExample
Adding reference: TomcatServletExample
Setting ro project property: ant.file.TomcatServletExample -> C:\Documents and Settings\luca.C64\TomcatServletExample1\build.xml
Project base dir set to: C:\Documents and Settings\luca.C64\TomcatServletExample1
+Target:
Importing file nbproject/build-impl.xml from C:\Documents and Settings\luca.C64\TomcatServletExample1\build.xml
parsing buildfile C:\Documents and Settings\luca.C64\TomcatServletExample1\nbproject\build-impl.xml with URI = file:///C:/Documents%20and%20Settings/luca.C64/TomcatServletExample1/nbproject/build-impl.xml
Setting ro project property: ant.file.TomcatServletExample-impl -> C:\Documents and Settings\luca.C64\TomcatServletExample1\nbproject\build-impl.xml
+Target: default
+Target: -pre-init
+Target: -init-private
+Target: -init-user
+Target: -init-project
+Target: -do-ear-init
+Target: -do-init
+Target: -post-init
+Target: -init-check
+Target: -init-macrodef-property
+Target: -init-macrodef-javac
+Target: -init-macrodef-junit
+Target: -init-macrodef-java
+Target: -init-macrodef-nbjpda
+Target: -init-macrodef-debug
+Target: init
+Target: deps-module-jar
+Target: deps-ear-jar
+Target: deps-jar
+Target: -pre-pre-compile
+Target: -pre-compile
+Target: -do-compile
+Target: -copy-manifest
+Target: -post-compile
+Target: compile
+Target: -pre-compile-single
+Target: -do-compile-single
+Target: -post-compile-single
+Target: compile-single
+Target: compile-jsps
+Target: -do-compile-single-jsp
+Target: compile-single-jsp
+Target: -pre-dist
+Target: -do-dist-without-manifest
+Target: -do-dist-with-manifest
+Target: do-dist
+Target: library-inclusion-in-manifest
+Target: library-inclusion-in-archive
+Target: do-ear-dist
+Target: -post-dist
+Target: dist
+Target: dist-ear
+Target: run
+Target: run-deploy
+Target: verify
+Target: run-display-browser
+Target: run-main
+Target: debug
+Target: debug-display-browser
+Target: debug-single
+Target: -debug-start-debugger
+Target: -debug-start-debuggee-single
+Target: debug-single-main
+Target: -pre-debug-fix
+Target: -do-debug-fix
+Target: debug-fix
+Target: javadoc-build
+Target: javadoc-browse
+Target: javadoc
+Target: -pre-pre-compile-test
+Target: -pre-compile-test
+Target: -do-compile-test
+Target: -post-compile-test
+Target: compile-test
+Target: -pre-compile-test-single
+Target: -do-compile-test-single
+Target: -post-compile-test-single
+Target: compile-test-single
+Target: -pre-test-run
+Target: -do-test-run
+Target: -post-test-run
+Target: test-report
+Target: -test-browse
+Target: test
+Target: -pre-test-run-single
+Target: -do-test-run-single
+Target: -post-test-run-single
+Target: test-single
+Target: -debug-start-debuggee-test
+Target: -debug-start-debugger-test
+Target: debug-test
+Target: -do-debug-fix-test
+Target: debug-fix-test
+Target: deps-clean
+Target: do-clean
+Target: check-clean
+Target: -post-clean
+Target: clean
+Target: clean-ear
Build sequence for target `run' is [-pre-init, -init-private, -init-user, -init-project, -init-macrodef-property, -do-ear-init, -do-init, -post-init, -init-check, -init-macrodef-javac, -init-macrodef-junit, -init-macrodef-java, -init-macrodef-nbjpda, -init-macrodef-debug, init, deps-module-jar, deps-ear-jar, deps-jar, -pre-pre-compile, -pre-compile, -copy-manifest, library-inclusion-in-archive, library-inclusion-in-manifest, -do-compile, -post-compile, compile, compile-jsps, -do-compile-single-jsp, -pre-dist, -do-dist-with-manifest, -do-dist-without-manifest, do-dist, -post-dist, dist, run-deploy, run-display-browser, run]
Complete build sequence is [-pre-init, -init-private, -init-user, -init-project, -init-macrodef-property, -do-ear-init, -do-init, -post-init, -init-check, -init-macrodef-javac, -init-macrodef-junit, -init-macrodef-java, -init-macrodef-nbjpda, -init-macrodef-debug, init, deps-module-jar, deps-ear-jar, deps-jar, -pre-pre-compile, -pre-compile, -copy-manifest, library-inclusion-in-archive, library-inclusion-in-manifest, -do-compile, -post-compile, compile, compile-jsps, -do-compile-single-jsp, -pre-dist, -do-dist-with-manifest, -do-dist-without-manifest, do-dist, -post-dist, dist, run-deploy, run-display-browser, run, debug-display-browser, -post-compile-test-single, -pre-test-run, -pre-compile-single, -do-compile-single, -post-compile-single, compile-single, run-main, -pre-pre-compile-test, -pre-compile-test, -do-compile-test, -post-compile-test, compile-test, debug, javadoc-build, compile-single-jsp, -debug-start-debugger-test, -debug-start-debuggee-test, debug-test, -do-test-run, test-report, debug-single, do-clean, check-clean, -pre-test-run-single, javadoc-browse, javadoc, default, -pre-compile-test-single, -do-compile-test-single, compile-test-single, -do-test-run-single, do-ear-dist, -post-test-run-single, -post-test-run, -test-browse, test, dist-ear, deps-clean, -post-clean, clean, -pre-debug-fix, -do-debug-fix, debug-fix, -do-debug-fix-test, -debug-start-debuggee-single, clean-ear, -debug-start-debugger, verify, debug-fix-test, test-single, debug-single-main, ]
-pre-init:
-init-private:
Loading C:\Documents and Settings\luca.C64\TomcatServletExample1\nbproject\private\private.properties
Setting project property: javac.debug -> true
Setting project property: javadoc.preview -> true
Setting project property: j2ee.platform.classpath -> D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\jakarta-tomcat-5.5.7\common\lib\jsp-api.jar:D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\jakarta-tomcat-5.5.7\common\lib\servlet-api.jar
Setting project property: j2ee.server.instance -> tomcat55:home=$bundled_home:base=$bundled_base
Setting project property: user.properties.file -> C:\Documents and Settings\luca.C64\.jstudio\Ent8\build.properties
-init-user:
Loading C:\Documents and Settings\luca.C64\.jstudio\Ent8\build.properties
Setting project property: libs.absolutelayout.src ->
Setting project property: libs.absolutelayout.classpath -> D:\Programmi\Sun\jstudio_ent8\ide\ide5\modules\ext\AbsoluteLayout.jar
Setting project property: wsclientuptodate.classpath -> D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\ant\extra\wsclientuptodate.jar
Setting project property: default.javac.target -> 1.5
Setting project property: libs.jstl11.classpath -> D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\config\TagLibraries\JSTL11\standard.jar;D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\config\TagLibraries\JSTL11\jstl.jar
Setting project property: libs.jstl11.src ->
Setting project property: libs.absolutelayout.javadoc ->
Setting project property: libs.PortletBuilder.src ->
Setting project property: copyfiles.classpath -> D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\ant\extra\copyfiles.jar
Setting project property: libs.PortletBuilder.javadoc ->
Setting project property: libs.junit.src ->
Setting project property: default.javac.source -> 1.5
Setting project property: libs.junit.javadoc -> D:\Programmi\Sun\jstudio_ent8\ide\ide5\docs\junit-3.8.1-api.zip
Setting project property: libs.junit.classpath -> D:\Programmi\Sun\jstudio_ent8\ide\ide5\modules\ext\junit-3.8.1.jar
Setting project property: libs.jstl11.javadoc -> D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\docs\jstl-1.1.2-javadoc.zip
Setting project property: jspc.classpath -> D:\Programmi\Sun\jstudio_ent8\ide\ide5\ant\lib\ant.jar:D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\jakarta-tomcat-5.5.7\common\lib\jsp-api.jar:D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\jakarta-tomcat-5.5.7\common\lib\servlet-api.jar:D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\modules\autoload\ext\jasper-compiler-5.5.7.jar:D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\modules\autoload\ext\jasper-runtime-5.5.7.jar:D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\modules\autoload\ext\commons-el.jar:D:\Programmi\Sun\jstudio_ent8\ide\ide5\modules\ext\commons-logging-1.0.4.jar
Setting project property: libs.PortletBuilder.classpath -> D:\Programmi\Sun\jstudio_ent8\ide\portletbuilder1\modules\ext\common.jar;D:\Programmi\Sun\jstudio_ent8\ide\portletbuilder1\modules\ext\container.jar;D:\Programmi\Sun\jstudio_ent8\ide\portletbuilder1\modules\ext\jdom.jar;D:\Programmi\Sun\jstudio_ent8\ide\portletbuilder1\modules\ext\portlet.jar;D:\Programmi\Sun\jstudio_ent8\ide\portletbuilder1\modules\ext\portletappengine.jar;D:\Programmi\Sun\jstudio_ent8\ide\portletbuilder1\modules\ext\portletcontainercommon.jar;D:\Programmi\Sun\jstudio_ent8\ide\portletbuilder1\modules\ext\portlettl.jar;D:\Programmi\Sun\jstudio_ent8\ide\portletbuilder1\modules\ext\psrun.jar
Override ignored for property default.javac.source
Override ignored for property default.javac.target
-init-project:
Loading C:\Documents and Settings\luca.C64\TomcatServletExample1\nbproject\project.properties
Setting project property: javac.deprecation -> true
Setting project property: build.test.results.dir -> build/test/results
Setting project property: javadoc.nonavbar -> false
Setting project property: war.name -> TomcatServletExample.war
Setting project property: run.test.classpath -> :build/web/WEB-INF/classes:D:\Programmi\Sun\jstudio_ent8\ide\ide5\modules\ext\junit-3.8.1.jar:build/test/classes
Setting project property: javac.target -> 1.5
Setting project property: j2ee.server.type -> Tomcat55
Setting project property: client.urlPart ->
Setting project property: display.browser -> true
Setting project property: javadoc.noindex -> false
Setting project property: web.docbase.dir -> web
Setting project property: source.root -> src
Setting project property: build.classes.dir -> build/web/WEB-INF/classes
Setting project property: javadoc.author -> false
Setting project property: test.src.dir -> test
Setting project property: build.dir -> build
Setting project property: build.ear.web.dir -> build/ear-module
Setting project property: resource.dir -> setup
Setting project property: war.ear.name -> TomcatServletExample.war
Setting project property: build.test.classes.dir -> build/test/classes
Setting project property: platform.active -> default_platform
Setting project property: javac.compilerargs ->
Setting project property: javadoc.use -> true
Setting project property: lib.dir -> web/WEB-INF/lib
Setting project property: build.web.excludes -> **/*.java,**/*.form
Setting project property: debug.test.classpath -> :build/web/WEB-INF/classes:D:\Programmi\Sun\jstudio_ent8\ide\ide5\modules\ext\junit-3.8.1.jar:build/test/classes
Setting project property: dist.dir -> dist
Setting project property: build.classes.excludes -> **/*.java,**/*.form
Setting project property: javadoc.splitindex -> true
Setting project property: javadoc.encoding ->
Setting project property: javac.source -> 1.5
Override ignored for property javadoc.preview
Setting project property: debug.classpath -> :build/web/WEB-INF/classes
Setting project property: compile.jsps -> false
Setting project property: build.web.dir -> build/web
Setting project property: runmain.jvmargs ->
Setting project property: conf.dir -> src/conf
Setting project property: build.generated.dir -> build/generated
Setting project property: jar.compress -> false
Setting project property: javac.test.classpath -> :build/web/WEB-INF/classes:D:\Programmi\Sun\jstudio_ent8\ide\ide5\modules\ext\junit-3.8.1.jar
Setting project property: javadoc.private -> false
Override ignored for property javac.debug
Setting project property: war.content.additional ->
Setting project property: jspcompilation.classpath -> D:\Programmi\Sun\jstudio_ent8\ide\ide5\ant\lib\ant.jar:D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\jakarta-tomcat-5.5.7\common\lib\jsp-api.jar:D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\jakarta-tomcat-5.5.7\common\lib\servlet-api.jar:D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\modules\autoload\ext\jasper-compiler-5.5.7.jar:D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\modules\autoload\ext\jasper-runtime-5.5.7.jar:D:\Programmi\Sun\jstudio_ent8\ide\enterprise1\modules\autoload\ext\commons-el.jar:D:\Programmi\Sun\jstudio_ent8\ide\ide5\modules\ext\commons-logging-1.0.4.jar:
Setting project property: build.ear.classes.dir -> build/ear-module/WEB-INF/classes
Setting project property: dist.javadoc.dir -> dist/javadoc
Setting project property: src.dir -> src
Setting project property: javac.classpath ->
Setting project property: j2ee.platform -> 1.4
Setting project property: javadoc.version -> false
Setting project property: javadoc.windowtitle ->
Setting project property: dist.war -> dist/TomcatServletExample.war
Setting project property: javadoc.notree -> false
Setting project property: dist.ear.war -> dist/TomcatServletExample.war
-init-macrodef-property:
+Datatype http://www.netbeans.org/ns/web-project/1:property org.apache.tools.ant.taskdefs.MacroInstance
-do-ear-init:
Skipped because property 'dist.ear.dir' not set.
-do-init:
Unable to find test
Condition false; not setting have.tests
Condition false; not setting netbeans.home+have.tests
Condition false; not setting no.javadoc.preview
Override ignored for property javac.compilerargs
Property ${no.dependencies} has not been set
Condition false; not setting no.deps
Condition true; setting no.dist.ear.dir to true
Setting project property: no.dist.ear.dir -> true
Override ignored for property build.web.excludes
Condition false; not setting do.compile.jsps
Condition true; setting do.display.browser to true
Setting project property: do.display.browser -> true
Unable to find src\conf\MANIFEST.MF to set property has.custom.manifest
Setting project property: build.meta.inf.dir -> build/web/META-INF
Setting project property: build.classes.dir.real -> build/web/WEB-INF/classes
Setting project property: build.web.dir.real -> build/web
-post-init:
-init-check:
-init-macrodef-javac:
+Datatype http://www.netbeans.org/ns/web-project/2:javac org.apache.tools.ant.taskdefs.MacroInstance
-init-macrodef-junit:
+Datatype http://www.netbeans.org/ns/web-project/2:junit org.apache.tools.ant.taskdefs.MacroInstance
-init-macrodef-java:
Property ${main.class} has not been set
+Datatype http://www.netbeans.org/ns/web-project/1:java org.apache.tools.ant.taskdefs.MacroInstance
-init-macrodef-nbjpda:
Property ${main.class} has not been set
+Datatype http://www.netbeans.org/ns/web-project/1:nbjpdastart org.apache.tools.ant.taskdefs.MacroInstance
+Datatype http://www.netbeans.org/ns/web-project/1:nbjpdareload org.apache.tools.ant.taskdefs.MacroInstance
-init-macrodef-debug:
Property ${main.class} has not been set
Property ${application.args} has not been set
+Datatype http://www.netbeans.org/ns/web-project/1:debug org.apache.tools.ant.taskdefs.MacroInstance
init:
deps-module-jar:
deps-ear-jar:
Skipped because property 'dist.ear.dir' not set.
deps-jar:
-pre-pre-compile:
-pre-compile:
-copy-manifest:
Skipped because property 'has.custom.manifest' not set.
library-inclusion-in-archive:
library-inclusion-in-manifest:
Skipped because property 'dist.ear.dir' not set.
-do-compile:
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for type cvsversion
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
fileset: Setup scanner in dir C:\Documents and Settings\luca.C64\TomcatServletExample1\src with patternSet{ includes: [] excludes: [] }
CookieExample.java omitted as CookieExample.class is up to date.
HelloWorldExample.java omitted as HelloWorldExample.class is up to date.
LocalStrings.properties skipped - don't know how to handle it
LocalStrings_en.properties skipped - don't know how to handle it
LocalStrings_es.properties skipped - don't know how to handle it
LocalStrings_fr.properties skipped - don't know how to handle it
RequestHeaderExample.java omitted as RequestHeaderExample.class is up to date.
RequestInfoExample.java omitted as RequestInfoExample.class is up to date.
RequestParamExample.java omitted as RequestParamExample.class is up to date.
SessionExample.java omitted as SessionExample.class is up to date.
compressionFilters\CompressionFilter.java omitted as compressionFilters/CompressionFilter.class is up to date.
compressionFilters\CompressionFilterTestServlet.java omitted as compressionFilters/CompressionFilterTestServlet.class is up to date.
compressionFilters\CompressionResponseStream.java omitted as compressionFilters/CompressionResponseStream.class is up to date.
compressionFilters\CompressionServletResponseWrapper.java omitted as compressionFilters/CompressionServletResponseWrapper.class is up to date.
filters\ExampleFilter.java omitted as filters/ExampleFilter.class is up to date.
filters\RequestDumperFilter.java omitted as filters/RequestDumperFilter.class is up to date.
filters\SetCharacterEncodingFilter.java omitted as filters/SetCharacterEncodingFilter.class is up to date.
listeners\ContextListener.java omitted as listeners/ContextListener.class is up to date.
listeners\SessionListener.java omitted as listeners/SessionListener.class is up to date.
util\HTMLFilter.java omitted as util/HTMLFilter.class is up to date.
fileset: Setup scanner in dir C:\Documents and Settings\luca.C64\TomcatServletExample1\src with patternSet{ includes: [] excludes: [**/*.java, **/*.form] }
LocalStrings.properties omitted as LocalStrings.properties is up to date.
LocalStrings_en.properties omitted as LocalStrings_en.properties is up to date.
LocalStrings_es.properties omitted as LocalStrings_es.properties is up to date.
LocalStrings_fr.properties omitted as LocalStrings_fr.properties is up to date.
omitted as is up to date.
compressionFilters omitted as compressionFilters is up to date.
filters omitted as filters is up to date.
listeners omitted as listeners is up to date.
util omitted as util is up to date.
fileset: Setup scanner in dir C:\Documents and Settings\luca.C64\TomcatServletExample1\web with patternSet{ includes: [] excludes: [**/*.java, **/*.form] }
META-INF\context.xml omitted as META-INF/context.xml is up to date.
WEB-INF\web.xml omitted as WEB-INF/web.xml is up to date.
cookies.html omitted as cookies.html is up to date.
helloworld.html omitted as helloworld.html is up to date.
images\code.gif omitted as images/code.gif is up to date.
images\execute.gif omitted as images/execute.gif is up to date.
images\return.gif omitted as images/return.gif is up to date.
index.html omitted as index.html is up to date.
reqheaders.html omitted as reqheaders.html is up to date.
reqinfo.html omitted as reqinfo.html is up to date.
reqparams.html omitted as reqparams.html is up to date.
sessions.html omitted as sessions.html is up to date.
omitted as is up to date.
META-INF omitted as META-INF is up to date.
WEB-INF omitted as WEB-INF is up to date.
images omitted as images is up to date.
-post-compile:
compile:
compile-jsps:
Skipped because property 'do.compile.jsps' not set.
-do-compile-single-jsp:
Skipped because property 'jsp.includes' not set.
-pre-dist:
-do-dist-with-manifest:
Skipped because property 'has.custom.manifest' not set.
-do-dist-without-manifest:
Setting project property: dist.jar.dir -> C:\Documents and Settings\luca.C64\TomcatServletExample1\dist
fileset: Setup scanner in dir C:\Documents and Settings\luca.C64\TomcatServletExample1\build\web with patternSet{ includes: [] excludes: [] }
META-INF\context.xml omitted as META-INF/context.xml is up to date.
WEB-INF\classes\CookieExample.class omitted as WEB-INF/classes/CookieExample.class is up to date.
WEB-INF\classes\HelloWorldExample.class omitted as WEB-INF/classes/HelloWorldExample.class is up to date.
WEB-INF\classes\LocalStrings.properties omitted as WEB-INF/classes/LocalStrings.properties is up to date.
WEB-INF\classes\LocalStrings_en.properties omitted as WEB-INF/classes/LocalStrings_en.properties is up to date.
WEB-INF\classes\LocalStrings_es.properties omitted as WEB-INF/classes/LocalStrings_es.properties is up to date.
WEB-INF\classes\LocalStrings_fr.properties omitted as WEB-INF/classes/LocalStrings_fr.properties is up to date.
WEB-INF\classes\RequestHeaderExample.class omitted as WEB-INF/classes/RequestHeaderExample.class is up to date.
WEB-INF\classes\RequestInfoExample.class omitted as WEB-INF/classes/RequestInfoExample.class is up to date.
WEB-INF\classes\RequestParamExample.class omitted as WEB-INF/classes/RequestParamExample.class is up to date.
WEB-INF\classes\SessionExample.class omitted as WEB-INF/classes/SessionExample.class is up to date.
WEB-INF\classes\compressionFilters\CompressionFilter.class omitted as WEB-INF/classes/compressionFilters/CompressionFilter.class is up to date.
WEB-INF\classes\compressionFilters\CompressionFilterTestServlet.class omitted as WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class is up to date.
WEB-INF\classes\compressionFilters\CompressionResponseStream.class omitted as WEB-INF/classes/compressionFilters/CompressionResponseStream.class is up to date.
WEB-INF\classes\compressionFilters\CompressionServletResponseWrapper.class omitted as WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class is up to date.
WEB-INF\classes\filters\ExampleFilter.class omitted as WEB-INF/classes/filters/ExampleFilter.class is up to date.
WEB-INF\classes\filters\RequestDumperFilter.class omitted as WEB-INF/classes/filters/RequestDumperFilter.class is up to date.
WEB-INF\classes\filters\SetCharacterEncodingFilter.class omitted as WEB-INF/classes/filters/SetCharacterEncodingFilter.class is up to date.
WEB-INF\classes\listeners\ContextListener.class omitted as WEB-INF/classes/listeners/ContextListener.class is up to date.
WEB-INF\classes\listeners\SessionListener.class omitted as WEB-INF/classes/listeners/SessionListener.class is up to date.
WEB-INF\classes\util\HTMLFilter.class omitted as WEB-INF/classes/util/HTMLFilter.class is up to date.
WEB-INF\web.xml omitted as WEB-INF/web.xml is up to date.
cookies.html omitted as cookies.html is up to date.
helloworld.html omitted as helloworld.html is up to date.
images\code.gif omitted as images/code.gif is up to date.
images\execute.gif omitted as images/execute.gif is up to date.
images\return.gif omitted as images/return.gif is up to date.
index.html omitted as index.html is up to date.
reqheaders.html omitted as reqheaders.html is up to date.
reqinfo.html omitted as reqinfo.html is up to date.
reqparams.html omitted as reqparams.html is up to date.
sessions.html omitted as sessions.html is up to date.
do-dist:
-post-dist:
dist:
run-deploy:
In-place deployment at C:\Documents and Settings\luca.C64\TomcatServletExample1\build\web
Server returned HTTP response code: 403 for URL: http://localhost:8080/manager/deploy?config=file:/C:/DOCUME~1/luca.C64/IMPOST~1/Temp/context33857.xml&path=/TomcatServletExample1
C:\Documents and Settings\luca.C64\TomcatServletExample1\nbproject\build-impl.xml:355: Deployment failed.
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:85)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.e -
Problem in ant script (starting tomcat)...
Hi,
in my ant script (build.xml) I have some targets to start/stop tomcat:
<!-- ================================ -->
<!-- start/stop tomcat servlet engine -->
<!-- ================================ -->
<!-- check whether server is already running -->
<target name="-started">
<condition property="server.started">
<and>
<socket port="${tomcat.port}" server="${tomcat.server}"/>
</and>
</condition>
</target>
<!-- start tomcat -->
<target name="start" depends="-started" description="start tomcat server"
unless="server.started">
<echo message="Starting tomcat servlet engine..."/>
<java classname="org.apache.catalina.startup.Bootstrap" fork="yes">
<jvmarg value="-Djava.endorsed.dirs=${catalina.dir}/common/endorsed"/>
<jvmarg value="-Dcatalina.base=${catalina.dir}"/>
<jvmarg value="-Dcatalina.home=${catalina.dir}"/>
<jvmarg value="-Djava.io.tmpdir=${catalina.dir}/temp"/>
<arg value="start"/>
<classpath>
<pathelement location="${java.home}/../lib/tools.jar"/>
<pathelement location="${catalina.dir}/bin/bootstrap.jar"/>
</classpath>
</java>
</target>
<!-- check whether server is still running -->
<target name="-stopped">
<condition property="server.stopped">
<and>
<socket port="${tomcat.port}" server="${tomcat.server}"/>
<not>
<isset property="server.started"/>
</not>
</and>
</condition>
</target>
<!-- stop tomcat -->
<target name="stop" depends="-stopped" description="stop tomcat server"
if="server.stopped">
<echo message="Stopping tomcat servlet engine..."/>
<java classname="org.apache.catalina.startup.Bootstrap" fork="yes">
<jvmarg value="-Djava.endorsed.dirs=${catalina.dir}/common/endorsed"/>
<jvmarg value="-Dcatalina.base=${catalina.dir}"/>
<jvmarg value="-Dcatalina.home=${catalina.dir}"/>
<jvmarg value="-Djava.io.tmpdir=${catalina.dir}/temp"/>
<arg value="stop"/>
<classpath>
<pathelement location="${java.home}/../lib/tools.jar"/>
<pathelement location="${catalina.dir}/bin/bootstrap.jar"/>
</classpath>
</java>
</target>The problem I have is, when using another target which depends on the tomcat start target, for example my list target:
<target name="list" depends="start" description="list installed web applications">
<list url="${url}" username="${username}"
password="${password}"/>
</target>When executing the list target, tomcat starts up correctly but the list target is not executed.
Any help would be greatly appreciated.
Best regards
- StephanNo, I don't think that's the problem.
In my opinion, the problem has something to do with
fork="yes"in the start target.
But how can I tell ant to first execute another target (the target that starts tomcat) and then execute for example the list target (which lists all the installed web apps)? When using the depends attribute it doesn't work:
<target name="list" depends="start">
<list url=.../>
</target>When executing the list target, tomcat starts automatically (start target) but the list target is not executed after that :-(
Any ideas?
Best regards
- Stephan -
Eclipse 3.0 can't start Tomcat 5.0...
Hi,
I've installed Tomcat 5.0, Eclipse 3.0 and Sysdeo-Plugin ( com.sysdeo.eclipse.tomcat_3.0.0).
After opening Eclipse I've tried to start Tomcat within Eclipse.
I got the following error-message:
java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
Next a pop-up-alert was displayed with the following content:
Java Virtual Machine Launcher: Could not find the main class. Program will exit.
After trying to start Tomcat agin, errLog showed the following 2 errors:
1.
Message: Start Tomcat...
Exception Stack Trace: An exception stack trace could not be found.
Session Data:
eclipse.buildId=M200409161125
java.version=1.4.2_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
2.
Message: Stop Tomcat...
Exception Stack Trace: An exception stack trace could not be found.
Session Data:
eclipse.buildId=M200409161125
java.version=1.4.2_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
After closing Eclipse, the error-message (Java Virtual Machine Launcher: Could not find the main class. Program will exit.) was shown, again...
Do you have any idea, in order to fix the bug...?
bye
ChrisNow I've installed Tomcat 5.5.7 and set CATALINA_HOME and PATH.
The ErrorLogs by starting and stopping Tomcat were still displayed.
By starting Tomcat 5.5.7 wihin Eclipse 3.0.1., the Console shows this:
13.02.2005 14:33:07 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
13.02.2005 14:33:07 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1201 ms
13.02.2005 14:33:08 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
13.02.2005 14:33:08 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
13.02.2005 14:33:08 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
13.02.2005 14:33:10 org.apache.catalina.startup.ContextConfig applicationWebConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Lomb]
13.02.2005 14:33:11 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Tomcat_5_5_7\webapps\ZT\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
13.02.2005 14:33:11 org.apache.catalina.startup.ContextConfig applicationWebConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ZT]
13.02.2005 14:33:11 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
13.02.2005 14:33:11 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
13.02.2005 14:33:12 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/120 config=null
13.02.2005 14:33:12 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
13.02.2005 14:33:12 org.apache.catalina.startup.Catalina start
INFO: Server startup in 4517 msSome INFO's look strange:
INFO: validateJarFile(C:\Tomcat_5_5_7\webapps\ZT\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offendingor
INFO: Missing application web.xml, using defaults onlyor
INFO: XML validation disabledDo you know, what's the reason for it?
bye
Chris -
Problem to start tomcat in Business Objects Edge 3.1
I can not start Tomcat 5.5 installed and deployed from the Business Objects BI Edge 3.1.
BO installs normally, but Tomcat does not start.
I tried to start tomcat from the control panel -> administrative tools -> services. But also not start.
You receive the following message: Windows could start in Apache Tomcat 5.5.20 on the local computer.
The log is:
[06/05/2011 10:22:37] [409 javajni.c] [error] Failed CreateJavaVM
[06/05/2011 10:22:37] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
[06/05/2011 10:22:37] [prunsrv.c 1179] [error] ServiceStart returned 2
[06/05/2011 10:28:42] [409 javajni.c] [error] Failed CreateJavaVM
[06/05/2011 10:28:42] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
[06/05/2011 10:28:42] [prunsrv.c 1179] [error] ServiceStart returned 2
[06/05/2011 10:30:40] [409 javajni.c] [error] Failed CreateJavaVM
[06/05/2011 10:30:40] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
[06/05/2011 10:30:40] [prunsrv.c 1179] [error] ServiceStart returned 2
[06/05/2011 13:43:16] [409 javajni.c] [error] Failed CreateJavaVM
[06/05/2011 13:43:16] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
[06/05/2011 13:43:16] [prunsrv.c 1179] [error] ServiceStart returned 2
[06/05/2011 13:43:20] [409 javajni.c] [error] Failed CreateJavaVM
[06/05/2011 13:43:20] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
[06/05/2011 13:43:20] [prunsrv.c 1179] [error] ServiceStart returned 2
[06/05/2011 13:53:58] [409 javajni.c] [error] Failed CreateJavaVM
[06/05/2011 13:53:58] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
[06/05/2011 13:53:58] [prunsrv.c 1179] [error] ServiceStart returned 2
[06/05/2011 14:00:16] [409 javajni.c] [error] Failed CreateJavaVM
[06/05/2011 14:00:16] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
[06/05/2011 14:00:16] [prunsrv.c 1179] [error] ServiceStart returned 2
[06/05/2011 14:00:45] [409 javajni.c] [error] Failed CreateJavaVM
[06/05/2011 14:00:45] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
[06/05/2011 14:00:45] [prunsrv.c 1179] [error] ServiceStart returned 2
Help me, what should I do?Hi
By default the BO install tomcat with:
Initial memory pool: 0 and
Maximum memory pool: 1024
I changed the settings in the Tomcat to:
Tomcat -> Tomcat configuration -> java>
Initial memory pool: 128 and
Maximum memory pool: 256
Then I accessed services.msc and start the Apache Tomcat. -
hello guys
I'm developing a servlet with JBuilder Enterprise but when I try to run it tomcat 5.5 doesn't start . The application raises this exception
"java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
I added the bootstrap.jar to the project's "required librairies"
I also added the path to that file to my windows PATH environment variable but I'm still getting that error.
I'm able to run tomcat independently however
What am I missing?
Thanks for any informationMy prefered solution in your situation would be to ditch JBuilder and user Eclipse with the sysdeo Tomcat plugin, but maybe that's not an option.
The bootstrap.jar is required to start Tomcat, but should not be required by your project. I haven't used JBuilder for years now, but in Eclipse you definte a Run target and add bootstrap.jar to the run target's classpath
The main class to launch tomcat is org.apache.catalina.startup.Bootstrap and you may need the following VM arguments
-Dcatalina.home="C:\Apps\jakarta-tomcat-5.5.4" -Djava.endorsed.dirs="C:\Apps\jakarta-tomcat-5.5.4\common\endorsed" -Dcatalina.base="C:\Apps\jakarta-tomcat-5.5.4" -Djava.io.tmpdir="C:\Apps\jakarta-tomcat-5.5.4\temp"
You'll probably need a load of other jars in your classpath too. -
Starting tomcat problem, please help urgent
I installed jwsdp on windowsXP . The log file gives this following error when i try to start tomcat:
java.util.zip.ZipException: Access is denied
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:138)
at java.util.jar.JarFile.<init>(JarFile.java:80)
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1081)
at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:141)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: Access is denied
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1109)
at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:141)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
PLEASE HELP ,URGENTLY NEEDED TO SHOW SOME WORK ON THIS.
THANKS
jimHi,
I have a similar problem, i try to deploy a JAR file built on AIX 5.2 platform (jvm 14.1) into Tomcat 5.5.7 running on Windows platform when i try start Tomcat it's fail with the fellowing message
SEVERE: Error deploying web application directory usi
java.lang.IllegalArgumentException
at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:299)
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:238)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
at java.util.jar.JarInputStream.<init>(JarInputStream.java:58)
at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:368)
at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:187)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3942)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:872)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1106)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1019)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)
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) -
Hi,
This may be a very basic question on tomcat server:
What is the difference between creating a server (through the server View provided in eclipse) and using the three icons (at the top, just below the main menu) to start tomcat? I am new to Tomcat and am developing a web appln on tomcat.
Another question that i have is,
1. To which folder is my application deployed in Tomcat? For.e.g in Jboss the application as a war file can be fond in Jboss/server/default(or all)/deploy.
2. In Jboss i have an option to publish the project, if i start Tomcat by the 3 icon buttons provided at the top, how can i ensure that my latest code is published to the tomcat server.
3. What is this Tomcat manager screen for? How can i make use of this?
Apart from these, i am getting a few exceptions when i start tomcat (both by the 3 buttons and by creating a server in the server view), here is the list (from the console);
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service-name': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Le Nom service-name n'est pas li� � ce Contexte
Caused by: javax.naming.NameNotFoundException: Le Nom service-name n'est pas li� � ce Contexte
at org.apache.naming.NamingContext.lookup(NamingContext.java:768)
at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:124)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:86)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:122)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:147)
at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:90)
at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:101)
at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:164)
at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:151)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:308)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:252)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:221)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:115)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
2007-11-22 13:59:16 StandardContext[/directory-prod]La servlet /directory-prod a g�n�r� une exception "load()"
javax.servlet.ServletException: "Servlet.init()" pour la servlet ws a g�n�r� une exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1071)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
----- Root Cause -----
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service-name': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Le Nom service-name n'est pas li� � ce Contexte
Caused by: javax.naming.NameNotFoundException: Le Nom service-name n'est pas li� � ce Contexte
at org.apache.naming.NamingContext.lookup(NamingContext.java:768)
at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:124)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:86)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:122)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:147)
at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:90)
at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:101)
at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:164)
at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:151)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:308)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:252)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:221)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:115)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)Hi.
In order to run a web project, you have first to create a server in eclipse. Normally, this is done only the first time: you don't have to do it for every project and/or run.
To run your project in aserver, you hava to select the project in the package explorer, pick the middle-button :(green circle, play without overlays), and select Run As -> Run on server.
There, you should select a server if you already configured one or create a new one.
Now, I think that the error you're getting has nothing to do with JSF. It's more likely a Spring configuration error. You may have declared a JNDI DataSource for example named "service-name" in applicationContext.xml but not in your Container (Tomcat, JBoss, etc.).
Regards. -
How to use JDBC to connect Tomcat with database server?(Urgent!)
I try to deploy the tomcat and make it connect with databaser server.
I am using mysql connector J 3.0. I added the CLASSPATH of mysql-connector-java-3.0.7-stable-bin.jar in the tomcat.sh .
I also add the web application in server.xml.
When I start tomcat, I can see using Classpath including mysql-connector-java-3.0.7-stable-bin.jar .
But when i browse my jsp including the jdbc, wait for a while, I get a message as following: Timeout on server localhost. My web server and database server is same computer.
Could you tell me what's wrong?Did you check to see that the MySQL database was indeed up and running, and accepting connections when you started Tomcat? Did you make sure that your firewall permits connections to the database?
Timeout errors generally occur when you send a request to a server and the server does nothing with it - i.e., it doesn't respond to it in any way. Most firewalls are configured this way. If I telnet to your machine and I get "connection refused", I know your machine exists and I can try hacking into it. If I telnet and get nothing at all, then I will either assume either there's no actual machine at that address or it's unresponsive. -
I m facing a problem starting tomcat server in winxp.every time i run startup from the command window,it gives the message "windows cannot find 'c:\sun\appserver\bin\java'.I have set the following environment variables:
CATALINA_HOME=C:\tomcat
TOMCAT_HOME=C:\tomcat
CLASSPATH=c:\Sun\AppServer\lib\j2ee.jar
JAVA_HOME=C:\Sun\AppServer
Path=c:\Sun\AppServer\bin
I have installed tomcat in c:\tomcat.Whats the thing i m doing wrong.
Pls reply asap.Thanx in advance.Get rid of that CLASSPATH environment variable for one thing. You don't need it, and Tomcat ignores it.
Open a command shell and type "java -version". Make sure that the version that comes back is the one you think you should have.
If the OS can't find the java.exe, it means you've got a PATH problem.
Your PATH in WinXP should have a lot more than that in it. Where exactly did you set these values? Using the Control Panel, or in the command shell itself? I have mine set with the Control Panel. - MOD
Maybe you are looking for
-
Reason for rejection for sale order stock existing line item
Hi, I am giving reason for rejection for a line item where there is already sale order stock. Then I am getting a warning message like " there is sale order stock assigned". I want this message to be as error message. Any customisation (SPRO) is
-
Zoom in-out and rotation in trackpad doesn't work in iPhoto and Aperture. Any solution?
Zoom in-out and rotation in trackpad doesn't work in iPhoto and Aperture. Any solution?
-
Setting proxy-user credentials
Hi! I'm trying to make database reads through the proxy account ('main' proxy user) and writes through 'normal' proxy user depending on what user is logged in application and make this writes. Proxy user is authenticated by name and password. 1) I've
-
Undeleting files in Mac OS X 10.4
How do you undelete files in Tiger? Are there Operating System functions that do that (if not, why aren't there any?) or do I need 3rd party software to do this. If I need the second, which program should I buy? I believe Norton is no longer availabl
-
How to add language to a 9780 using Mac desktop software
Hi, I recently updated my Bold 9780 on Mac and the updated deleted all my languages, I need to know, how to add language using mac desktop software.