Why...about  TOMCAT config

i use tomcat 3.2.4
to run my .jsp application i add
<if exist "%TOMCAT_HOME%\lib\IAO.jar" set CP=%CP%;%TOMCAT_HOME%\lib\IAO.jar> in tomcat_home\bin\tomcat.bat
and then i add IAO.jar package into tomcat_home\lib\
so i run startup.bat well
but once i add j2ee.jar as same steps as i do with IAO.jar,
the tomcat can not run at all
is j2ee has confilct with tomcat ....
i am fightting about this problem about 2 hours
pls give me some idea and solve the problem

Here's my a.e.bat - Hope this helps;-
SET CLASSPATH=C:\jdk1.3.1\jakarta-tomcat-3.2.3\lib\servlet.jar
SET TOMCAT_HOME=C:\jdk1.3.1\jakarta-tomcat-3.2.3
set JAVA_HOME=C:\jdk1.3.1
PATH C:\WINDOWS;C:\WINDOWS\WINDOWS;C:\DOS;C:\jdk1.3.1\BIN
I've linked Tomcat in the same place as my java bin - but I also have j2sdkee1.3 where I've written servlets for testing

Similar Messages

  • Apache/SSL Tomcat config weirdness...

    I thought I read a post related to this recently, but I can't find it (the forum search is flaky lately), so I'm making my own post...
    We have Apache 1.3 with mod_ssl for SSL, Tomcat 4.1.24 and mod_jk set up. Things work fine for most of this setup, except this weird thing happening with our pushlet servlet. The pushlet is a servlet that never closes and we push data to an applet client in the browser.
    The JSP and other servlets (one that creates a chart image, for example) work fine. The weird thing is the pushlet servlet, on the other hand, will not work fine. It has multiple output modes: Javascript, Serialized Object and XML, and we use the Serialized Object mode with the client applet, but for some reason it is disregarding what mode we ask for only when using SSL. When we connect to Tomcat directly (we have port 8080 open for testing) without SSL, the pushlet stuff works fine as well. It seems that when we connect to the pushlet (testing by typing the URL in the browser) with SSL, it defaults to the Javascript mode no matter what we put in the query string of the URL, and Javascript not being serialized objects, the client barfs. (XML mode doesn't work either.)
    It's made more weird because the debug statements we put in the doGet method of the pushlet servlet don't get written either in SSL mode, but they do in non-SSL mode. Very strange, cuz basically we figured the pushlet servlet is somehow not getting the parameters of the query string in the request (which is what I thought I saw a thread about that I mentioned before).
    So clearly the obvious answer is that something isn't configured correctly between Apache and Tomcat. But I can't seem to figure out what. Any ideas?

    I wouldn't say most... you've been pretty busy yourself...
    One possible conclusion we've come up with is: We are using RedHat Linux 9, and I rebuilt Apache, mod_ssl and mod_jk myself on that system. But someone else installed it, and I recall (vaguely, and the someone else no longer around) that he had some issue running them with the mod_jk I built for RH9, so he ended up using the one we had from a RH7.2 installation (which the whole thing on a RH7.2 system works fine, SSL or not). He had said it was working with the RH7.2 mod_jk, but maybe he didn't check the right things, and I didn't follow up on it at the time cuz it wasn't important at the time.
    So the thought is that maybe it's the mod_jk that's really causing a problem for some reason. Some incompatability in the builds for the OS versions. Why it's only during SSL connections, I don't know, but the rest of the config seems to be correct.
    As for the SSL How-To, yes, I've looked thru it again (as I said, though, we have the same thing on an RH7.2 system is working fine, and in both cases I built Apache, mod_ssl and mod_jk from source for both systems). I'm considering setting up stand-alone SSL on Tomcat and taking Apache out of the loop to see if it works that way.
    We have, however, pretty much ruled out the pushlet servlet (it's 3rd party code) as the problem. We have the source, and it's too simple in what it does to be messed up, and debug statements we put in don't seem to indicate any problem.
    Well, more investigations tomorrow.

  • Where can i find the doc about xml config file of 9ias?

    i cant find the "Oracle9iAS Containers for J2EE User&#8217;s Guide",
    it should contains the info about the xml config file, i dont
    know why oracle launch a product without the config guide, i
    have read ton of material for learning the configuration of 9ias
    but still have not find the answer!
    i cant find it in otn:
    http://otn.oracle.com/tech/java/oc4j/content.html#technicaldocs,
    it have jsp, servlet....etc guide but no config guide, if
    someone seen it in microsoft or sun or borland website, please
    call me :)

    i mean the deployment config file in the application server like: server.xml, application.xml, web.xml, it is the J2EE standard, and can be used between all application server, tomcat, 9ias, weblogic........

  • Basic questions about Tomcat

    Hi all, I'm new to Tomcat and I have a few questions...
    1) I have a HttpServlet class in my server. Will an instance of this class be created for each request?. For performance reasons, can I specify a number of instances to be pre-created before user requests? (creating them at user request may be too slow)
    2) I'd like to know more about threads in Servlet Containers. If my HttoServlet class has an instance of a class, will the attributes of this class be thread-safe? How does this work?
    thank you in advance

    1) I have a HttpServlet class in my server. Will an
    instance of this class be created for each request?.No. There is one instance of each servlet object.
    For performance reasons, can I specify a number of
    instances to be pre-created before user requests?
    (creating them at user request may be too slow)On my laptop creating a simple object takes 0.00000001 seconds. Object creation is fast in Java; don't worry about it (unless you really are trying to create a hundred million objects per second and profiling shows that's the bottleneck in your application.)
    2) I'd like to know more about threads in Servlet
    Containers. If my HttoServlet class has an instance
    of a class, will the attributes of this class be
    thread-safe? How does this work?Don't put fields in servlets. Synchronize access to any data that are shared between threads.

  • Tomcat config problem: jsp can't find a bean class

    I've been working within a JSP/Javabeans/JDBC/MySQL architecture with Windows XP and Websphere. So far everything works perfectly. Now I need to get the same project and make it run with a Tomcat server.
    I've already set the Tomcat server but its not working properly. I have a problem when a jsp tries to access any class inside my project's package.
    For example, when I make the next call:
    <jsp:useBean id="ctrl" class="myPack.myBean" scope="page"/>
    I get an error saying:
    Error: 500
    Location: /myproj/login.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile C:\Program Files\jakarta-tomcat-3.3.1\work\DEFAULT\myproj\login_1.java:64: Class myPack.myBean not found.
    myPack.myBean ctrl = null;
    ^
    I believe that my problem cames when setting the Tomcat environment. So far what I have done is:
    * install j2sdk-1.3.1.03
    * install jakarta-tomcat-3.3.1
    * install mysql-max-3.23.51-win
    * set the environment variable JAVA_HOME
    * set the environment variable TOMCAT_HOME
    * set the environment variable MYSQL_HOME
    * add the %JAVA_HOME%\bin to the PATH
    * create 'myproj' directory inside TOMCAT_HOME\webapps
    * create into 'myproj' the subdirectory WEB-INF\classes and copy into it the jar file with my java classes (myPack.jar).
    * copy into TOMCAT_HOME\lib\apps the JDBC driver for MySQL.
    * copy my project files (jsp, html, images, etc.) and its structure into 'myproj' directory.
    I haven't include anything into the CLASSPATH because so far I've read that Tomcat will automatically include all the classes that are inside the directories TOMCAT_HOME\myproj\WEB-INF\classes and TOMCAT_HOME\lib\apps.
    I really don't have a clue about what I'm doing wrong. I'd apreciate if anyone can help me out with this one ;) ... I thank you in advance!

    Hi, it's me again!.
    Since nobody replied to me I'm replying myself :D
    Ok, seriously is just to let you know that I have solved my problem and I would like to tell you how I solved it ... somebody might be doing the same mistake than I was doing and could found this helpful. I just forgot to mention that I was using Tomcat 3.3.
    Well, first of all let me tell you that there was nothing wrong with the previous configuration that I post in my first message. Everything is ok except that in the TOMCAT_HOME\webapps\myproj\WEB-INF\classes directory I was putting my classes as a jar file, so I deleted it and instead I put the directory myPack with its unpacked class files. THIS SOLVED MY PROBLEM!!!
    First I was trying to do some complicated things editing bat and xml files, but as a matter of fact I found it's quite simple. Furthermore, I was really surprised by the performance of Tomcat. I'm relly happy for that !! ;)
    Hope it works for you,
    Ernesto

  • Question about struts-config.xml

    Hi,
    In the struts-config.xml,
    What is the difference about "redirect="true" and redirect="false" ?
    thanks,
    happybaobao

    Hello,
    redirect = truemeans that the ActionForward () statement in your execute method of the Action class will perform a response.sendRedirect. You can see that the URL is getting altered in the clients browser
    redirect = false means the vice-versa.
    I would recommend that you go through the Struts official site and see the DTD specifications in the URL
    http://struts.apache.org/dtds/struts-config_1_2.dtd
    for more details.
    Thanks and regards,
    Pazhanikanthan. P

  • About Tomcat problem

    ITS URGENT,please can anyone tell me how to install tomcat including how we developing an application in tomcat.I am already installed tomcat in an anither computer ,it works properly,but now it is not working so please anyone help me in this matter.

    Bishnu_Panda wrote:
    ITS URGENTCompletely irrelevant. That's your problem, not ours.
    please can anyone tell me how to install tomcat Tomcat comes along with good documentation. Start here: [http://tomcat.apache.org/tomcat-6.0-doc/index.html]. There's a section called 'Setup'.
    including how we developing an application in tomcat.You normally don't develop for a specific application server. Just follow the JSP/Servlet standard. All you need to do is to create a WAR of the application and deploy it.
    I am already installed tomcat in an anither computer,it works properly, You are installed?
    but now it is not working so please anyone help me in this matter.You need to elaborate a bit more about "not working". What happens and what happens not? Do you get any error messages or exceptions? Do you have read the server's logs? Those are really helpful in understanding the cause of the problem so that you can solve it easily.

  • Why does Tomcat cause IE to load Cyrillic language pack? How do I stop it?

    I have found a bug with IE 5.5 and IE 6.0, that if you hit my JSP page
    running on a Tomcat server, it asks you to load the Cyrillic language
    pack. If you say sure, and go get the Win2K CD, everything works fine.
    If you say never bother me with this stupid question, you get a
    blank page. If you do view source, the HTML is there just fine, and
    if you click the address bar and press enter, the page paints fine.
    I dont want to force all visitors to my page to install a language
    pack, and I dont see why its needed because my pages dont use it!
    I have to believe Tomcat is causing it somehow but I need help
    turning it off.
    Thanks,
    Wayne

    AHHH! I wish I could give myself 10 Duke Dollars. It turns out that
    <%@ page contentType="text/html; charset=ISO-8859-5" %> tells
    Tomcat to tell the browser that the content is Cyrillic. I had
    mistakenly copied the line into my page and not noticed the -5
    should have been a -1.

  • Does anyone know anything about Tomcat security policy?

    I already searched the forum, but no help:(
    Any expert out there that can help me a little on Catalina.policy file?
    Thanks
    Please see this thread:
    http://forum.java.sun.com/thread.jsp?forum=33&thread=510173

    the tomcat is the container of servlets. Catalina.policy is filed under conf. i think this is where you grant the permission for the servlets contained therein. i hop this helps.

  • Question about Tomcat?

    Hello,
    In the webapps folder of tomcat I setup my file structure for my application.
    This being:
    tomcat/webapps/dbtest
    tomcat/webapps/dbtest/src/ ----- src contains the .java files
    tomcat/webapps/dbtest/web/ ------ web contains the .jsp and html files
    tomcat/webapps/dbtest/web/web-inf/ ---- web-inf contains web.xml
    tomcat/webapps/dbtest/web/web-inf/classes/code/ ------- contains the .class file
    Placing the jsp and html files in the web folders, I discovered allows these files to be accessed using something like:
    http://localhost/dbtest/addfiles.jsp
    But for security reasons should the .jsp files be placed in the web-inf folder, and called by a servlet. So the jsp pages cannot be directly accessed by the user?
    Or if I move the jsp files to the web-inf folder would I need to add the jsp pages in the web.xml?
    Thanks

    move the class file to
    C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\WEB-INF\classes
    change the HTML to
    FORM action='http://localhost:8080/servlet/HTTPGetServlet' METHOD = 'GET'>
    The servlet classes need to be under WEB-INF/classes and accessed with /servlet in the url.

  • Question about networking config

    Hi all
    i am about to setup a remote server with arch and i was wondering if the following rc.conf entries will work.
    eth0="eth0 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx broadcast xxx.xxx.xxx.xxx"
    eth0:0="eth0 yyy.yyy.yyy.yyy netmask xxx.xxx.xxx.xxx broadcast xxx.xxx.xxx.xxx"

    juliousdean wrote:
    Hi all
    i am about to setup a remote server with arch and i was wondering if the following rc.conf entries will work.
    eth0="eth0 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx broadcast xxx.xxx.xxx.xxx"
    eth0:0="eth0 yyy.yyy.yyy.yyy netmask xxx.xxx.xxx.xxx broadcast xxx.xxx.xxx.xxx"
    I think you need
    eth0:0="eth0:0 yyy.yyy.yyy.yyy netmask xxx.xxx.xxx.xxx broadcast xxx.xxx.xxx.xxx
    , and you need
    INTERFACES=(lo eth0 eth0:0)
    in your rc.conf.
    but it should work...

  • Tomcat Config Issues ::

    I am currently studying JAVA, and just built my 1st applet using NetBeans IDE 5.0.
    All of my code is accurate, but I am unable to use Tomcat for some reason.
    I have read some instructs online, and have tried many different things to no avail, so this is my last hope at this point.
    Basically, I continue to run into 2 things:
    Starting server Bundled Tomcat (5.5.9)
    Starting Tomcat process...
    Waiting for Tomcat...
    Starting of Tomcat failed.
    C:\Program Files\netbeans-5.0\test_projects\HelloWeb\nbproject\build-impl.xml:413: Deployment error:
    Starting of Tomcat failed.
    See the server log for details.
    BUILD FAILED (total time: 11 seconds)
    And then if Apache (port 80) is in use I get this error (I actually stopped my Apache service to free up port 80, and the result was the above message. Below is if port 80 is in use by Apache).
    Starting server Bundled Tomcat (5.5.9)
    Starting of Tomcat failed, the server port 80 is already in use.
    C:\Program Files\netbeans-5.0\test_projects\HelloWeb\nbproject\build-impl.xml:413: Deployment error:
    Starting of Tomcat failed, the server port 80 is already in use.
    See the server log for details.
    BUILD FAILED (total time: 0 seconds)
    Thanks in advance for any helpful replies.

    Angrycat, just got things ticking ..
    I am also running Apache .. Main main conflict was these to severs where bumping into eachother .. Soo I stopped the Apache service, and updated server.xml , and now I get my form field page, a new issue which I am in the middle of trying to resolve .. When I try to process my form :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Cannot find any information on property '' in a bean of type 'org.me.hello.NameHandler'
         org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:363)
         org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)
         org.apache.jsp.response_jsp._jspService(response_jsp.java:67)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.

  • Question about backendobject-config.xml file

    Hello,
    I am trying to register a backend object in xcm/customer/backendobject-config.xml
    file,
    my entry looks like:
    <backendobject xmlns:isa="com.sapmarkets.isa.core.config" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xml="http://www.w3.org/XML/1998/namespace">
         <configs>
         <!-- customer changes in backendobject-config should be done here by extending/overwriting the base configuration-->
         <xi:include href="$/modification/backendobject-config.xml#xpointer(backendobject/configs/*)"/>
              <config isa:extends="../config[@id='crmdefault']">
              <businessObject
              type="PricingBEO"
              name="PricingBEO" className="com.isa.pricing.beo.PricingBEO" connectionFactoryName="JCO" defaultConnectionName="ISAStateless"/>
              </config>
         </configs>
    </backendobject>
    but when I am debugging, the backend objet is null. Can somebody please tell me
    what is wrong with my entry?
    Thanks,
    Harsha

    Are you using crm as a backend? One option is that you are extending wrong config...

  • About Tomcat 4.0.1 setting.....

    Hi all,
    Since I setup a tomcat on win98 workstation, I can open the a JSP and store the data into database successfully, within my workstation (http://localhost:8080/test). However, the other workstation in LAN can't access my application via my IP (http://xxx.xxx.xxx.xxx/test).
    And the following error occur........
    HTTP Error 405
    405 Method Not Allowed
    The method specified in the Request Line is not allowed for the resource identified by the request. Please ensure that you have the proper MIME type set up for the resource you are requesting.
    Please contact the server's administrator if this problem persists.
    Do my tomcat seting or any computer setting wrong?
    Kindly please help :)

    Hi All, (Tung)
    1.
    The error is because the request method is NOT implemented.For example, I want a get, but the servlet did not have a doGet.
    http://localhost:8080/servlet/get
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class get extends HttpServlet
         public void doPost(HttpServletRequest request, HttpServletResponse response)
              throws ServletException , IOException
    HTTP Status 405 - HTTP method GET is not supported by this URL
    The specified HTTP method is not allowed for the requested resource
    (HTTP method GET is not supported by this URL).
    2. Check your code, if the method that you want (doGet, doPost, doDelete, doOptions, doPut, doHead, doTrace, ect..)
    are implemented.
    -- Paul

  • Central Search - why are my config criteria settings not showing?

    Hi
    I have set up the central search feature and and it works well. The SAP standard criteria attributes are displayed. Using the configuration tool on component BP_HEAD_SEACH I have chosen to display only:
    Name1 / Last Name
    Account ID
    Employe Resp - Last Name
    Marketing Attribute
    Contact - Last Name
    Role Config Key: ZGL_AB_BM
    Component Name: BP_HEAD_SEARCH
    Component Usage: Search
    Object Type: <DEFAULT>
    Object Subtype: <DEFAULT>
    In the selected search criteria both the Displayed and Use in Central Search columns have been checked.
    When I go to test my changes, the 5 search criteria above are shown in the drop down boxes in the work center page but the drop down context menu underneath My Saved Searches continues to show the standard SAP criteria. It does not seem to implement the config changes I made.
    Am I missing something?
    Regards
    Declan

    I have now got this working.
    The central search will work with SAP note 1293695: Central Search Menu - Use Configuration of UI Object Type implemented and with the following config attributes:
    Role Config Key: <Role Config Key>
    Component Usage: <DEFAULT>
    UI Object type: <DEFAULT>
    Object Subtype:<DEFAULT>
    Also worth mentioning is that the search objects offered in the central search menu is cached in a server cookie by role and language. By default it expires after an hour and the next user who starts the application after this rebuilds the cache - which may take usually 30 seconds up to a minute for a particular user and a business role.
    As a consequence customizing changes related to the central search are not visible right away. The cache can be invalidated manually via method CL_CRM_CENTRAL_SEARCH=>CLEAR_CACHE using the SE24 and its Test-Button. Alternatively you may set the user parameter 'CRM_CENTRAL_SEARCH' to 'REBUILD_MENU': In this case the menu is rebuilt with each application start for the corresponding user and the business role used.
    Hope this helps other users.
    Cheers
    Declan

Maybe you are looking for

  • My Next button is not working. Please Help!

    Hello, everyone. Thank you very much for stopping by my question. I'm trying to make this work all day today. I'm out of idea... SortedMap m = new TreeMap()is used to sort the collection. I want to show next record(name and payrate) in the collection

  • Exporting iCal to MacBook Pro

    I have an iMac at home and a MacBook Pro that we use while traveling. When I try to export my calendar data from the iMac to the macBook Pro I get duplicate entries for items that had already been in that calendar. I have tried to restore a backed up

  • Eye Dropper tool in After Effects Not working Properly

    I am using Adobe After Effects CS5 on a mac. And most all of the eyedropper tools in the software are not working properly. They always select a way different color than it should be. What is wrong? One day they just all decided to not work. Its real

  • CSS padding problems

    Hi I am building a site for a client that has had the page designed by a graphic designer and she is being EXCEPTIONALLY picky about the font size, spacing and many other things. The problem I have is, that on some browsers, the space between the tex

  • 3rd generation iPod nano white screen

    I have my iPod plugged into the computer and the screen is all white. Now my iTunes is still reading the device with all the music on it. I do not want to lose my music because I know I can simply restore it and have this problem go away but I never