Cannot run tomcat
After I installed tomcat-4.1.12-src and i try to run the startup
then it say
cannot find -Djava.endorsed.dirs=
my system environment varibale are:
CATALINA_HOME = D:\Program Files\Apache Group\jakarta-tomcat-4.1.12-src\catalina\src
classpath = .;C:\jsdk2.1\servlet.jar;C:\jsdk2.1\server.jar
JAVA_HOME = C:\j2sdk1.4.1\bin
path = C:\j2sdk1.4.1\bin;D:\Program Files\Apache Group\jakarta-ant-1.5\bin;D:\Program Files\Apache Group\jakarta-tomcat-4.1.12-src\catalina\src\bin
what is going wrong?
thx
Thomas
Don't you want the binaries and not the src?
download the binaries from:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/
Similar Messages
-
Why cannot run tomcat after installing j2ee
I use tomcat 4.0, and it was working properly before. after I installed J2ee 1.4, it doesnt work when running startup.bat. I dont know what is going on. Can any body encounter this and tell me how to solve it please. thanx
It's possible that both Tomcat and the Application Server are configured to use the same port (probably 8080). If the Application Server is running, Tomcat won't be able to bind to port 8080 and will throw an error.
Check that the Application Server is shut down before starting Tomcat.
-Ian Evans -
Hi experts - cannot run HTTPS on tomcat as a service application
I have configured HTTPS on my tomcat 4.1 web server.
Now, when I run Tomcat as a console application it works fine and there is no problem. But When I run Tomcat as a service application, the server starts as a service properly but when I try to access the pages it says that "The Page Cannot Be Displayed"
The configuration for HTTPS in conf/server.xml file is like this:
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debug="0" scheme="https" secure="true"
useURIValidationHack="false" disableUploadTimeout="true" >
<Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
clientAuth="false" protocol="TLS" keystorefile="C:\Documents and Settings\deepak\"/>
</Connector>M using tomcat 4.1
Please experts help me with this.And what does your catalina.out logfile say?
-
Java.lang.UnsatisfiedLinkError: running tomcat on java headless?
Dear all,
I'm using the iText library to generate pdfs from a database on the fly. Whenever I use some of it's features that require simple things like java.awt.Color, I get an java.lang.UnsatisfiedLinkError as shown:
java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre/lib/amd64/libawt.so: libmlib_image.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
at java.awt.Color.<clinit>(Color.java:250)
at tablereport.processRequest(tablereport.java:55)
at tablereport.doGet(tablereport.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
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:874)
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(Thread.java:595)After some research and verifying that libawt.so physically exists I read somewhere that whenever java is installed no a linux box without x (in my case it's a remote vps) java omits certain graphics related libraries like AWT (naturally).
I also read that you can run java headless to avoid the dependencies to X. Now is there a way to run tomcat (or add variables to tomcat's startup.sh) to avoid having these dependencies?
Thanks for your help,
William[Googling the exception|http://www.google.com/search?q=java.lang.UnsatisfiedLinkError+at+java.awt.Color.%3Cclinit%3E%28Color.java%3A250%29+tomcat] learns me it's a bug in the mentioned Tomcat + JDK combo.
Upgrade to the latest if possible. -
Eroor in eclipse when i have run TOMCAT in debuge mode web service debuging
hello all,
i have a serious problem with debug my web service. I set local variable in eclipse (-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000). And now if i run TOMCAT in normal mode all worked fine and i run remote java application fine, but if i run TOMCAT in debug mode, eclipse in console return error:
"Error occurred during initialization of VM
agent library failed to init: jdwp
ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options."
If anyone have this problem please tell me how to resolved it.
Thank for help.Eclipse is kind of a competing product so this is not the best place to ask the question. With that most will be nice enough to lend a hand. I suggest ensuring that all other instances of tomcat are stopped then try again. In the Debug perspective ensure there are no servers running with the same name as the one you are attempting to use. If all else fails ensure there are no tomcat process running if they are kill them. Finally, if you cant get it to work reboot. If still no good the Eclipse might be a better place to go.
-
hi, all,
We have developped an application on Flex Build 3 (run
successfully), but failed when we try to deploy it on Tomcat with
LCDS 2.5 ES because some components cannot be resolved correctly on
LCDS 2.5. We then downloaded a 2.6 ES Beta 2, but still cannot run
the application, the error msg is "Unable to resolve resource
bundle "datamanagement" for locale "en_US".
anyone knows how to deploy the application on LCDS 2.6 ES?
Many thanks.In your WEB-INF/flex/locale/en_US dir there should be a file
called fds_rd.swc. Is that there? -
Cannot run eclipse,plz help
hello, guys. i cannot run eclipse on my federa core 3. it says that the program cannot display
I am not sure about jserv but Apache Tomcat is all you need to serve html/jsp/servlets. Here is the link to the Tomcat site...
http://jakarta.apache.org/
Zac -
Hi,
I have, up until now, been running tomcat 5.xx without any problems, however, when I tried to run it recently, my system returned an error:
" The system cannot find the file -Djava .endorsed.dirs=."
I was hoping someone out there might know what the problem may be.
ThanksDid you modify any of your startup scripts in the bin directory or did you recently try to change any environment variables related to Tomcat such as JAVA_OPTS, CATALINA_OPTS and several others?
This really sounds like your batch or shell file (you don't mention the O/S) isn't working the way you want. This could be because of environment variables or it could be that the script has been modified. -
Running Tomcat As a Stand Alone with IIS
Hi,
I am currently running a servlet from Tomcat 4.0.1 as a standalone concurrently with IIS 5.0. I found that I was able to access the servlet page (http://adt.barra.com:8080/examples/Test1) from computers within my company but when I tried to display the page at my home computer, I get a page cannot be displayed error�The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. Do I need to run Tomcat as a service or do I actually have to incorporate the two using isapi_redirect.dll? Or maybe it�s just that computer. The machines at work runs WinNT and Win2K but my home computer runs Win98. Thanks.As a previous poster stated the Firewall at your work is probebly stopping the traffic from coming in. You might be able to get away with this using the IIS isapi that tomcat provides, however you may still have firewall issues. If your network/security guys are not to anal about it, they might be able to open up pot 8080 for incoming traffic to that server only. Otherwise, you may want to try the Tomact isapi.
Hope that helps to clarify it a bit... ;)
rb -
I cannot install itunes on my windows 8 computer. I get the message that the app cannot run on my computer.
Hi mlheidt,
If you are having trouble installing iTunes on your Windows 8 computer you may want to use the following article to help you get it up and running -
Issues installing iTunes or QuickTime for Windows
http://support.apple.com/kb/HT1926
Thanks for using Apple Support Communities.
Best,
Brett L -
App cannot run on Windows Server 2012 R2
I have an application that runs well on Windows Server 2012. The application has two editions 32-bit and 64-bit, both are from the same code base.
However, on Windows Server 2102 R2, the x64 version of the application works, but the 32-bit version does not run. Invoking the 32-bit of the application generates the "This app cannot run on you PC" message.
I tried the compatibility troubleshooting, and it does not help.
Any suggestion on what could be the problem?
Thanks.
jwang<moved from Downloading, Installing, Setting Up to Photoshop General Discussion>
-
"The application needs to be serialized with a royalty bearing serial number."
I have done everything recommended in all of the other threads relating to this issue -
Uninstalled the entire CS and used the Adobe cleaner tool - to no avail.
Uninstalled just Encore and re-installed, nothing.
And multiple combinations of the above mentioned.
Really need this to work, ASAP. We've tried to contact Adobe via phone, chat, and other means. They are very to receive an audience from, it appears. Can anyone offer a different solution?
This is for a brand new edit suite that is running Windows 7 pro, 32 GB of RAM, and the [email protected] GHz.I did not see this earlier. Forums are a bit odd today.
Do you have a subscription (to the cloud) or is this a perpetual license? You cannot run Encore in trial mode.
Generally, with CS6 suite (or earlier?) this indicated that Premiere is not activated, or there is a problem with activation. What version are you trying to install?
Unfortunately, the link that tells you how to fix this went missing in action some time ago. -
Cannot run workbook from desktop
Greetings All,
Discoverer version 10.1.2.0.2,
Disco Admin has created business areas and workbooks. Admin has also shared workbook with a user. When user tried to run workbook user is not prompted for parameters. WHen user refreshes worksheet still not prompted for paramater and user gets a blank worksheet. Basically, cannot run any shared workbook.(NOTE: do not even get msg that query returned no data).
When user tries to create a workbook by selecting items for a folder in business area, then again the same result - does not didplay any data (NOTE: do not even get msg that query returned no data).
User has select from all tables priv.
Any suggestion?
JP.Hi,
Does the workbook bring back data for any other user?
Does this user have the Create/Edit query (Desktop/Plus privilege?)
Thanks. -
Hi everyone.
Can anyone tell me what is wrong in this code below?
Code:
function NO_DAYSFormula return Number is
begin
IF TO_CHAR(TO_DATE(:P_FR_DT, 'DD-MM-RRRR'), 'RRRR') =TO_CHAR(TO_DATE(:ACCT_OPN_DT, 'DD-MM-RRRR'), 'RRRR')
AND :P_TO_DT<:MATURITY_DATE
AND :ACCT_OPN_DT>:P_FR_DT
THEN RETURN (:P_TO_DT-:ACCT_OPN_DT+1);
ELSIF TO_CHAR(TO_DATE(:P_FR_DT, 'DD-MM-RRRR'), 'RRRR') =TO_CHAR(TO_DATE(:ACCT_OPN_DT, 'DD-MM-RRRR'), 'RRRR')
AND :P_TO_DT<:MATURITY_DATE
AND :ACCT_OPN_DT<:P_FR_DT
THEN RETURN (:P_FR_DT-:P_TO_DT+1);
ELSIF TO_CHAR(TO_DATE(:P_FR_DT, 'DD-MM-RRRR'), 'RRRR') =TO_CHAR(TO_DATE(:ACCT_OPN_DT, 'DD-MM-RRRR'), 'RRRR')
AND :P_TO_DT>:MATURITY_DATE
AND :ACCT_OPN_DT<:P_FR_DT
THEN RETURN (:P_FR_DT-:MATURITY_DATE+1);
END IF;
END;
It gets compiled successfully but when i run the report, i get 2 errors.
Error 1:
REP-1401: 'no_daysformula':Fatal PL/SQL error occurred.
ora-06503: PL/SQL : Function returned without value.
Error 2:
REP-0619: You cannot run without a layout.
Should i use only 1 return statement?
Can i use as many return statements as i want?
What is the exact mistake? Please let me know.
Thank You.Let me clear you the first thing...
If you get any fatal errors while running the report (e.g., function returned without value,no value etc.,) the report will show
REP-0619: You cannot run without a layout.
So you just correct the function 'no_daysformula' .
First of all you run the report without that formula column.
If it works fine then , Check the return value of your formula column (Your formula column properties --> Return value --> value (It will be DATE as i think so).
As function will always return a single value, Check your formula 'no_daysformula' returns the same.
declare a return variable say for example..
DECLARE
V_DATE DATE;
BEGIN
--YOUR CODE---
RETURN V_DATE := (RETURN VALUE)
END;
Last but not least ... use Else condition to return (NULL or any value ) in your code and check..
If any Problem persists let me know
Regards,
Soofi. -
iTunes will not open because a dialog box pops up with "Itunes cannot run because some of its required files are missing. Please reinstall iTunes.". I have done so a few times to no avail. Any solutions for this problem?
No you will not lose your content reinstalling iTunes.
Do this:
1: Download and run the Registry Cleaner of the free Ccleaner.
http://www.piriform.com/ccleaner/download/standard
2: Next follow this Apple document to un-install iTunes
http://support.apple.com/kb/HT1923
3: Just for good measure, run Ccleaner again
4: Reinstall iTunes.
5: Come back here and click my "Correct answer" button.
Maybe you are looking for
-
neither my ipad or ipod are being recognized by itunes so i can't transfer songs from itunes playlists to the two devices. this is new, as far as a week ago i transferred music from the computer to the ipod. can anyone help?
-
How to change pdf page in an iframe content automatically
I open a pdf in my web page with <iframe> and the pdf-option for example #page=2 equals week number 2 of a year. How could I change the viewable page as a function of the actual week number of a year (#1 - 52) At the moment my html code looks like: <
-
I am currently deployed to Afghanistan. As we do not have CDMA in this country, I cannot use my phone. If I suspend my plan, will there be any negative impacts? If I lose my unlimited data plan, I will definitely definitely definitely move my account
-
Excel 2013 PowerPivot add-in crashes
Running into a serious problem with little help on solving the issue. Any time I try doing anything with DAX Excel crashes and gives me the following error: Please HELP! Error #1 Excel is running into problems with the 'microsoft office powerpivot fo
-
Hi All, I was trying to build an array for an XIRR formula and was running into issues. I've never built an array and the formulae are challenging to understand if you're trying to learn! Basically, there are two items you need in an XIRR formula --