Help for TOMCAT startup -- urjent

Hi
I installed TOMCAT, and already set the environment variables
we I type startup from bin directory TOMCAT window flashes for a
second ( I am not sure if is started properly ) ??
and when I want to check the server with below command
http://localhost:8080
it asks username and password which username and password
do I need to enter ?
Thanks for writing me back

I think your Tomcat must have started. But it is strange how you got that page when you entered http://localhost:8080. Instead you should get the default page with some text and links to Tomcat admin and Tomcat Manager.
I am not sure if this works but go to TOMCAT_HOME/conf and look at the tomcat-users.xml. This file usually contains usernames and passwords used to login to the admin site of Tomcat. I use Tomcat that came off JWSDP 1.1 hence not sure if this would help.
Good luck!

Similar Messages

  • Set JAVA_OPTS for Tomcat in unix

    Hi all,
    I've faced a problem on setting multiple system properties in the JAVA_OPTS for Tomcat in Unix.
    Example:
    JAVA_OPTS=-Dmypath="/home/" -Dmypath2="/home2/"
    I've tried in Windows and it works fine but not sure why in Unix it can't be done. Will be very appreciate if someone can help.

    Nope. If your application requires more than one retrieval from System Property, it will require more than one -D in the startup. However, it only works for Windows environment not unix.

  • Need help for using DPS

    Hi All - I am new to DPS and have few questions to clarify.
    I know DPS is Adobe tool for publishing digital content magazines to Tablet devices. What I want to know is – Is DPS is a desktop version of tool and can be installed like I did with CQ5.5 on my local machine?
    I have requirement to do the integration between CQ(AEM) and DPS. I found some materials on Adobe site for integrating AEM5.6 (via Media Publisher) to DPS. I do see similar options in AEM5.5 under Tools > Cloud Services  > Adobe Digital Publishing Suite. I did created a connection configuration using an Adobe Id. Now my questions are –In CQ 5.5. when I click the “Go to Adobe Digital Publishing Suite” (on
                   Cloud Services  > Adobe Digital Publishing Suite page ) I go to the Adobe online                site https://digitalpublishing.acrobat.com/app.html#. Is this the actual DPS ?
    On this above DPS online tool, Why the options “DPS App Builder For Mac, Analytics, Account Administration and Notifications” are disabled?
    I tried to publish the sample Folio and Article from CQ Publication page http://localhost:4502/publishingadmin#/content/publications/geometrixx-media/geometrixx-un limited/2013/january but it gave some error and I don’t see them to be pushed to DPS Folio Producer folder on https://digitalpublishing.acrobat.com/app.html#. What I am doing wrong here?
    I have CQ5.5 and what I can do with CQ available functionality in “Publication” (like Folio, Article)? Can I create a full magazine and publish it to DPS ?
    If yes how can I see the published content on desktop without using InDesign CS6 DPS tools (Adobe Content Viewer)? (I don’t have tablet device for testing)?
    Many Thanks for your help!!

    Hi,
    You can use Memory leak scenarios view in JavaProfiler for finding probable leaks in your application. Check out the Scenario view. You can run a scenario for your application, and it will show you all the instances that were allocated during scenario but were not garbage collected. You can then take Heap Snapshot and checkout all the objects that are reported as probable leak in your application. You can check out Incoming references of the concerned objects and check out what is holding back the instances from getting garbage collected.
    I am unable to understand the other part of your question regarding not being able to get the URL matched after running the Java Profiler. Can you provide more details on that? Do you mean you are not able to browse to your application while JavaProfiler is running? Please provide details like which AppServer are you running, and was the server started completely from JavaProfiler before you tried accessing your application. If not please wait for server startup to complete before trying to access your application through browser.
    For any furthur queries contact [email protected] From my personal experience I can assure you that the support team at AppPerfect is simply superb. You will get response to your queries almost immediately.
    Hope this helps.
    Regards,
    Kamlesh.

  • Mod_rewrite for Tomcat 5?

    Hi all
    I'm learning JSP right now; till now I worked with PHP, and with my used WAMP (XAMPP) I had the possibility to use the Apache mod mod_rewrite to rewrite URL's.
    Can I use this module also for Tomcat? I tested it with a .htaccess file in a folder, but it didn't seem to be recognised in any way by the server.
    Thank you for information.
    Josh

    thank you for your infos.
    i found a tomcat addon to my xampp apache/php installation, so now i can use
    http://localhost/java/
    to parse my java files. but sadly .htaccess files don't seem to be regarded... tomcat lists it like every other file in the directory listing... so i think this dir is not being handled by apache anymore, and so i don't seem to be able to use .htaccess files so far...
    any help would be greatly appreciated! Josh

  • Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem

    Hi,
    I failed to connect Tomcat 5.0.24 with Postgresql
    7.4.2. The files created by me and the changes i had
    made in the existing files are rates.jsp,
    conversionDAO.java, web.xml and server.xml. The error
    message on the top of the rest of it was "The value of
    useBean class attribute converter.conversionDAO is
    invalid". So far I found out that the coding for
    database connectivity purpose in conversionDAO.java
    cause the error. Another thing is Postgresql jdbc
    driver is required to set in the CLASSPATH for the
    java file to access the Postgresql database. I don't
    know where should I put it in Tomcat for web
    application. Anyway, I put it in
    $CATALINA_HOME/shared/lib according the book i
    refered. I do the database connectivity coding refer
    to the Tomcat Kick Start book from Sams Publishing.
    Below are the coding involved, please show me the
    mistake i had made. Thank you.
    ----server.xml----
    <Context path="/database"
    docBase="${catalina.home}/webapps/database" debug="0"
    reload="true">
    <ResourceParams name="jdbc/conversion">
    <parameter>
    <name>username</name>
    <value>myusername</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>mypassword</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>org.postgresql.Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:postgresql://localhost/conversion</value>
    </parameter>
    </ResourceParams>
    </Context>
    ----web.xml----
    <servlet>
    <servlet-name>conversionDAO</servlet-name>
    <servlet-class>converters.conversionDAO</servlet-class>
    </servlet>
    <resource-ref>
    <res-ref-name>jdbc/conversion</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    ----conversionDAO.java----
    public conversionDAO() throws SQLException,
    NamingException
    Context init = new InitialContext();
    Context ctx = (Context)
    init.lookup("java:comp/env");
    DataSource ds = (DataSource)
    ctx.lookup("jdbc/conversion");
    con = ds.getConnection();
    select = con.prepareStatement(
    "SELECT rate FROM Exchange WHERE src= ? AND dst =

    Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem (cont.)
    Errors log
    2004-06-06 01:07:53 StandardContext[servlets-examples]SessionListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[servlets-examples]ContextListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[jsp-examples]SessionListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[jsp-examples]ContextListener: contextDestroyed()
    2004-06-06 01:07:59 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2004-06-06 01:08:00 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2004-06-06 01:08:01 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /rates/rates.jsp(5,0) The value for the useBean class attribute converters.conversionDAO is invalid.
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)
         at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:141)
         at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1217)
         at org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Generator.generate(Generator.java:3261)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:507)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    ----more----

  • Does anyone have a good server.xml file for tomcat?

    I am trying to link apache and tomcat on a RedHat 9 computer. I previously posted a message stating that I could not get tomcat to "automagically" make the configuration files (mod_jk.conf-auto) that all the manuals promised it would. However, I found that my problem was the lack of an ApacheConfig tag in the server.xml file. After looking at my server.xml file, I found that it was much more simplistic than I would hoped = it did not have enough comments or commented out options. It had none of the directives that the manuals said it included by default.
    In short, does anyone who has apache and tomcat linked have a server.xml file that I can look at so that I can figure out what I must add to mine to get tomcat working with apache? I would greatly appreciate it if you could copy and paste the whole thing here.
    Thank you very much in advance.
    Edward S. Rice

    Hi!
    I am having the Apache-Tomcat4.0 version installed on a Win2000 machine. I am pasting here my server.xml. Hope it will be useful to you. I even didnot do much modifications to my server.xml except for adding a context.
    Please come back if problem persists.
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN" debug="0">
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Tomcat-Standalone">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 4.0 documentation bundle for more detailed
    instructions):
    * Download and install JSSE 1.0.2 or later, and put the JAR files
    into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8080" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="60000"/>
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to -1 -->
    <!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8443" minProcessors="5" maxProcessors="75"
    enableLookups="true"
         acceptCount="10" debug="0" scheme="https" secure="true">
    <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
    clientAuth="false" protocol="TLS"/>
    </Connector>
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <!--
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
    port="8009" minProcessors="5" maxProcessors="75"
    acceptCount="10" debug="0"/>
    -->
    <!-- Define a Proxied HTTP/1.1 Connector on port 8081 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8081" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="10" debug="0" connectionTimeout="60000"
    proxyPort="80"/>
    -->
    <!-- Define a non-SSL HTTP/1.0 Test Connector on port 8082 -->
    <!--
    <Connector className="org.apache.catalina.connector.http10.HttpConnector"
    port="8082" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0"/>
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Standalone" defaultHost="localhost" debug="0">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.3
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Global logger unless overridden at lower levels -->
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="catalina_log." suffix=".txt"
    timestamp="true"/>
    <!-- Because this Realm is here, an instance will be shared globally -->
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority?user=test;password=test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL?user=scott;password=tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host -->
    <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn"
    debug="0"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common"/>
    <!-- Logger shared by all Contexts related to this virtual host. By
    default (when using FileLogger), log files are created in the "logs"
    directory relative to $CATALINA_HOME. If you wish, you can specify
    a different directory with the "directory" attribute. Specify either a
    relative (to $CATALINA_HOME) or absolute path to the desired
    directory.-->
    <Logger className="org.apache.catalina.logger.FileLogger"
    directory="logs" prefix="localhost_log." suffix=".txt"
         timestamp="true"/>
    <!-- Define properties for each web application. This is only needed
    if you want to set non-default properties, or have web application
    document roots in places other than the virtual host's appBase
    directory. -->
    <!-- Tomcat Root Context -->
    <!--
    <Context path="" docBase="ROOT" debug="0"/>
    -->
              <Context path="/vijay" docBase="D:\Java\servlets" debug="0"/>
    <!-- Tomcat Manager Context -->
    <Context path="/manager" docBase="manager"
    debug="0" privileged="true"/>
    <!-- Tomcat Examples Context -->
    <Context path="/examples" docBase="examples" debug="0"
    reloadable="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_examples_log." suffix=".txt"
         timestamp="true"/>
    <Ejb name="ejb/EmplRecord" type="Entity"
    home="com.wombat.empl.EmployeeRecordHome"
    remote="com.wombat.empl.EmployeeRecord"/>
    <!-- PersistentManager: Uncomment the section below to test Persistent
              Sessions.
    saveOnRestart: If true, all active sessions will be saved
    to the Store when Catalina is shutdown, regardless of
    other settings. All Sessions found in the Store will be
    loaded on startup. Sessions past their expiration are
    ignored in both cases.
    maxActiveSessions: If 0 or greater, having too many active
    sessions will result in some being swapped out. minIdleSwap
    limits this. -1 means unlimited sessions are allowed.
    0 means sessions will almost always be swapped out after
    use - this will be noticeably slow for your users.
    minIdleSwap: Sessions must be idle for at least this long
    (in seconds) before they will be swapped out due to
    maxActiveSessions. This avoids thrashing when the site is
    highly active. -1 or 0 means there is no minimum - sessions
    can be swapped out at any time.
    maxIdleSwap: Sessions will be swapped out if idle for this
    long (in seconds). If minIdleSwap is higher, then it will
    override this. This isn't exact: it is checked periodically.
    -1 means sessions won't be swapped out for this reason,
    although they may be swapped out for maxActiveSessions.
    If set to >= 0, guarantees that all sessions found in the
    Store will be loaded on startup.
    maxIdleBackup: Sessions will be backed up (saved to the Store,
    but left in active memory) if idle for this long (in seconds),
    and all sessions found in the Store will be loaded on startup.
    If set to -1 sessions will not be backed up, 0 means they
    should be backed up shortly after being used.
    To clear sessions from the Store, set maxActiveSessions, maxIdleSwap,
    and minIdleBackup all to -1, saveOnRestart to false, then restart
    Catalina.
    -->
              <!--
    <Manager className="org.apache.catalina.session.PersistentManager"
    debug="0"
    saveOnRestart="true"
    maxActiveSessions="-1"
    minIdleSwap="-1"
    maxIdleSwap="-1"
    maxIdleBackup="-1">
    <Store className="org.apache.catalina.session.FileStore"/>
    </Manager>
              -->
    <Environment name="maxExemptions" type="java.lang.Integer"
    value="15"/>
    <Parameter name="context.param.name" value="context.param.value"
    override="false"/>
    <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
    type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/EmployeeAppDb">
    <parameter><name>user</name><value>sa</value></parameter>
    <parameter><name>password</name><value></value></parameter>
    <parameter><name>driverClassName</name>
    <value>org.hsql.jdbcDriver</value></parameter>
    <parameter><name>driverName</name>
    <value>jdbc:HypersonicSQL:database</value></parameter>
    </ResourceParams>
    <Resource name="mail/Session" auth="Container"
    type="javax.mail.Session"/>
    <ResourceParams name="mail/Session">
    <parameter>
    <name>mail.smtp.host</name>
    <value>localhost</value>
    </parameter>
    </ResourceParams>
    </Context>
    </Host>
    </Engine>
    </Service>
    <!-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
    as its servlet container. Please read the README.txt file coming with
    the WebApp Module distribution on how to build it.
    (Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
    To configure the Apache side, you must ensure that you have the
    "ServerName" and "Port" directives defined in "httpd.conf". Then,
    lines like these to the bottom of your "httpd.conf" file:
    LoadModule webapp_module libexec/mod_webapp.so
    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy examples warpConnection /examples/
    The next time you restart Apache (after restarting Tomcat, if needed)
    the connection will be established, and all applications you make
    visible via "WebAppDeploy" directives can be accessed through Apache.
    -->
    <!-- Define an Apache-Connector Service -->
    <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
    port="8008" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="10" debug="0"/>
    <!-- Replace "localhost" with what your Apache "ServerName" is set to -->
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
    name="Apache" debug="0" appBase="webapps">
    <!-- Global logger unless overridden at lower levels -->
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="apache_log." suffix=".txt"
    timestamp="true"/>
    <!-- Because this Realm is here, an instance will be shared globally -->
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    </Engine>
    </Service>
    </Server>

  • RequestInterceptor for Tomcat 5.5 server.xml ?

    Hello,
    Tomcat 3X server.xml has RequestInterceptor element for preventing classloader. What is the equivalent for tomcat 4X, 5X? and Where to add this equivalent ? I am using Tomcat5.5 and I encountered error in my servlet Naming class. It was said it workd with tomcat3.2.1 by adding the RequestInterceptor.
    Thanks for help,
    Wayne

    i am posting the Car.xml which i created in
    /conf/catalina/localhost directory in Tomcat 5.5.7
    ?xml version='1.0' encoding='utf-8'?>
    <Context path ="/Car" docBase="C:\Program
    Files\Apache Software Foundation\Tomcat
    5.5\webapps\Car" debug="0" />Rather than have you working directory under webapps, you can have it elsewhere in your system and refer to it using the docBase attribute. For example, say you have your work directory in d:\work\car,
    then
    <?xml version='1.0' encoding='utf-8'?>
    <Context  path ="/Car" docBase="d:/work/car"  />would suffice.
    cheers,
    ram.

  • FileVault 2 encryption for the startup disk not a good idea for server?

    Hello,
    in the Mac OS X Lion help files it states the following:
    With Mac OS X Lion Server, encryption isn’t recommended for the startup disk or any disk that stores service data. If these disks are encrypted, the server can’t restart until you go to the server and enter the password at the server’s keyboard. If you use Lion Server to share an encrypted disk, the disk isn’t available to users until you enter the password at the server’s keyboard.
    Does this also apply to regular Mac OS X Lion? I would like to be able to wake up my iMac from sleep through SSH, and occasionally be able to restart the system remotely if I need to. If the above is true it seems like it would disable me from doing this.
    Thanks

    Does anyone have an answer?

  • Problem with the Installation of the Runtime Libraries for Tomcat

    Hi all,
    I'm using JDeveloper 10.1.3.41.57. I want to install the runtime Libraries for TOMCAT, unfortunately, I get the following error message:
    Can not Archive C:\Programme\Apache Software Foundation\Tomcat 5.5\common\lib\adfcm.jar to instance C:\Programme\Apache Software Foundation\Tomcat 5.5\BC4JAR.10.1.3.41.57\\common\lib\adfcm.jar
    I can install the Libraries manually, however, this solution is unacceptable for me, because then I get the error message, when i try to deploy the application:
    26.02.2008 11:22:38 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Context [ADFSampleKonRAd] startup failed due to previous errors
    Does somebody have an idea, how can I solve the problem?
    Thanks in advance!
    buFka

    hi,
    I am also getting the same problem, If you got any solution please update me.
    error message: Can not Archive D:\Tomcat 5.0\common\lib\adfcm.jar to instance D:\Tomcat 5.0\BC4JAR.10.1.3.36.73\\common\lib\adfcm.jar
    thanks in advance,
    Naga.

  • Security Manager Setting for Tomcat.

    Hi,
    Can anyone show me how to setup Security Manager for Tomcat step by step ?
    What do we need to set in server.xml and tomcat policy?
    After setting, how do run Tomcat?
    I did refer to the Tomcat Security Guide, but I didn't success to setup Security Manager.
    Can anyone explain in layman term to me?
    Your help will be appreciated.
    Thank you.

    I've solved my problem.
    For those who have are interested,
    you can refer to :
    http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat-security.html

  • How to create a script for DB Startup

    Hi to all,
    I need to create a script for DB Startup with this command:
    sqlplus /nolog
    conn sys/mypwd as sysdba;
    startup;
    exit
    It is possible ?
    At now, when I run Sqlplus /nolog I see only the prompt sql>.
    I Hope in Your help.
    Best Regards
    Gaetano

    Hi,
    Assuming you are on Windows environment. You may use the following two scripts to startup the database.
    startup.bat
    ========
    net start OracleServiceYOUR_INSTANCE_NAME
    set oracle_sid=YOUR_INSTANCE_NAME
    D:\oracle\product\10.2.0\db_1\bin\sqlplus /nolog @C:\DBA\startDB.sql
    net start OracleOraDb10g_home1TNSListener
    pause
    startDB.sql
    =========
    connect sys/your_password as sysdba
    startup pfile=D:\ORACLE\ORADBA\pfile\init.ora
    exit
    Similarly, you may write your own shutdown script.

  • Run servlet automatically when tomcat startup

    Dear all
    I need help to run servlet automatically when tomcat startup without starting even the application containing the servlet
    thanks in advance

    lol
    i've the same problem with my car,I want it to go ahead but without starting the engine and using all this gasoline...
    Seriously... the servlet IS almost your application
    when you start the server, the application starts to
    check the init() method of the servlet Interface
    and the "load-on-startup" parameter of the servlet in the deployment descriptor

  • Do i require JDK for tomcat to run

    hello,
    i have developed an application and am providing it to my client with JRE , and the java compiler javac and tools.jar file as my application when run creates a web app every time and also creates 2 .java servlet files internally and then compiles them.
    i provide him with tomact 4.0 , as this web-app is to be deployed , now when i try to run tomcat it is unable to run and asks for java.exe path . so i have set the classpath & path from dos and then try to run tomcat / catalina
    C:\>catalina start
    Using CATALINA_BASE: c:\progra~1\apache~1.0
    Using CATALINA_HOME: c:\progra~1\apache~1.0
    Using CATALINA_TMPDIR: c:\progra~1\apache~1.0\temp
    Using JAVA_HOME: c:\progra~1\java\j2re1.4.0_01
    Bad command or file name
    the above error is coming.
    please help as i have to hand over the software to him tommorrow and am unable to get tomcat running .
    do i require the JDK to be installed too sincce i am running tomcat or do i require some specific files from jdk for tomcat to run

    THIS IS SERIOUS!!!!!!!!! READ THIS!!!!!!!!!!!!!!!!!!! HEY PEOPLE JUST READ AND TRY THIS IT REALLY
    WORKS!!!!!
    THIS REALLY WORKS, SEE HOW THIS TEACHER
    MADE XTRA BUCKS IN WEEKS!!!SIMPLE AND IT'S
    LEGAL!!!!!!! I found this on a bulletin board and
    decided to try it a little while back, I was
    browsing through news groups just as you are
    right now and came across a article similar to
    this saying that you could make thousands of
    dollars within weeks with only an initial
    investment of $6.00!! So, I thought yeah right.
    This must be a scam, but like most of us, I was
    curious, so I kept reading. Anyway, it said that
    you send one dollar to each of the six names and
    addresses stated in the article. You then delete
    the first address and change the numbers. ( 2
    becomes 1, 3 becomes 2, etc.) place your own name
    and address on the bottom of the list at number 6
    and post the article to at least 200 news
    groups. (there are thousands) No catch that was
    it. Therefore, after talking to a few people and
    thinking it over I decided to try it. What do I
    have to lose except 6 stamps and $6.00 right?
    Then I invested the measly six dollars. WELL
    GUESS WHAT!!! Within 7 days, I started getting
    money in the mail!!! I was shocked. I thought it
    was going to stop but it just kept coming. In my
    first week, I made $25.00. By the end of the
    second week, I had $900.00. In the end of the
    third week, I made $5,000.00!!! It's still
    growing right now. This is now my fourth week and
    I have made a total of just over $38,000.00!
    Moreover, it's still coming in rapidly. This is
    certainly worth $6.00 and 6 stamps. I have spent
    more than that on the lottery!! Let me tell you
    how this works nd most importantly why it
    works...Also make sure that you print a copy of
    this article NOW so you can get the information
    off of it as you need it. I promise you that if
    you follow the directions exactly, that you will
    start making more money than you possibly thought
    just by doing something so easy!! SUGGESTION:
    READ THIS ENTIRE MESSAGE CAREFULLY (Print it
    out or down load it) Follow the simple directions
    and watch the money come in! It's easy. It's
    legal. And your investment is only $6.00(plus
    postage) IMPORTANT: This is not a rip off; it is
    not indecent; it isn't illegal; and it is
    virtually no risk - it really works!!!!! If all
    of the following instructions are adhered to, you
    will receive extraordinary dividends. PLEASE
    NOTE: please follow these directions exactly and
    $1,000's or more can be yours in 20 to 60 days.
    This program remains successful because of the
    honesty and integrity of the participants. Please
    continue its success by carefully adhering to the
    instructions. You will now become a part of the
    mail order business. In this business, your
    product is not solid and tangible, it's a
    service. You are in the business of developing a
    mailing list. Many large corporations are happy
    to pay big bucks for quality list. However, the
    money made from the mailing list is secondary to
    the income, which is made from people like you
    and me asking to be included to that list. Here
    are the four steps to success: STEP 1: Get 6
    separate pieces of paper write the following on
    each piece of paper "PLEASE PUT ME ON YOUR
    MAILING LIST." Now get 6 us 1dollar bills and
    place ONE inside EACH of the six pieces of paper
    so the bill will not be seen through the envelope
    to prevent thievery. Next, place one paper in
    each of the 6 envelopes and seal them. MAKE SURE
    THERE ARE ENOUGH STAMPS ON YOUR ENVELOPES. You
    should now have 6 sealed envelopes, each with a
    piece of paper stating the above phrase your name
    and address and a $1.00 bill. What you are doing
    is creating a service. THIS IS ABSOLUTELY LEGAL!
    You are requesting a legitimate service and you
    are paying for it! Like most of us, I was a
    little skeptical and a little worried about the
    legal aspects of it all. So, I checked it out
    with the U.S. Post Office (1-800-725-2161) and
    they confirmed that it is indeed legal!!!!! Mail
    the six envelopes to the following addresses: #1) John Hernandez 1600 Maiden Lane Richmond Tx. 77469
    #2) Matt Schumacher P.O.Box 936 Ogden KS. 66517 #3) TRB 14135 Armant Place Dr. Cypress Tx. 77429
    #4) Chuks Orji, Samuel Opara 8304 S. Course, #506
    Houston, Tx. 77072
    #5). Malcolm Williamson 502 E Michigan Apt#10
    Urbana, IL 61801
    #6) Eric Ogles 416 Arbor Ridge Dr. Stone Mountain GA. 30087
    STEP 2: Now take the #1 name off the list that
    you see above, move the other names up (6
    becomes 5, 5 becomes 4, etc...) and add YOUR name
    as number 6 on the list. STEP 3: Change anything
    you need to but try to keep this article as
    original as possible. Now post your amended
    article to at least 200 news groups. ( I think
    there are 24,000 groups) All you need is 200, but
    remember, the more you post , the more money you
    make! ** EVERYBODY AROUND THE WORLD CAN DO THIS
    BUT REMEMBER TO PUT ENOUGH STAMPS ON YOUR
    ENVELOPES!!!!** This is perfectly legal! If you
    have any doubts, refer to title 18 sec. 1302 &
    1341 of the postal lottery laws. Keep a copy of
    these steps for your self and whenever you need
    money, you can use it again and again. PLEASE
    REMEMBER that this program remains successful
    because of the honesty and integrity of the
    participants and by carefully adhering to the
    directions. Look at it this way, if you are of
    integrity, the program will continue and the
    money that so many others have received will come
    your way. NOTE: You may want to retain every name
    and address sent to you, on either a computer or
    a hard copy and keep the notes people sent you.
    This verifies that you are truly providing a
    service. (Remember to wrap the $1 bill in the
    note to prevent mail theft.) So, as each post is
    downloaded and the directions carefully followed,
    six members will be reimbursed for their
    participation as a list developer with one dollar
    each. Your name will move up the list
    geometrically so that when your name reaches the
    #1 spot you will be receiving thousands of
    dollars in CASH!!!!! What an opportunity for only
    $6.00 ($1 for each of the six people listed
    above) Send it now, add your own name to the list
    and you're in business! DIRECTIONS: HOW TO POST
    TO NEWS GROUPS STEP 1: You do not need to retype
    this entire letter to do your own posting. Simply
    put your cursor at the beginning of this letter
    and drag your cursor to the bottom of this
    document, and select "copy" from the edit menu.
    This will copy the entire letter into the
    computer's memory. STEP 2: Open a blank notepad
    file and place your cursor at the top of the
    blank page. From the edit menu, select "paste."
    This will paste the copy of the letter into
    notepad so you can add your name to the list.
    STEP 3: Save your new notepad file as a .txt
    file. If you want to do your postings in
    different settings, you'll always have this file
    to come back to. STEP 4: Use Netscape and
    Internet Explorer and try searching for various
    news groups (on-line forums, message boards,
    chat sites,discussions.) STEP 5: Visit these
    message boards and post this article as a new
    message by highlighting the text of this letter
    and selecting "paste" from the edit menu. Fill in
    the subject, this will be the header that
    everyone sees as they scroll through the list of
    postings in a particular group, click the post
    message button. You're done with the first one!
    CONGRATULATIONS,...THAT'S IT! All you have to do
    is jump to different news groups and post away,
    after you get the hang of it, it will take 30
    seconds for each news group! **REMEMBER, THE MORE
    NEWS GROUPS YOU POST IN (MESSAGE BOARDS ETC.) THE
    MORE MONEY YOU WILL MAKE!! BUT YOU HAVE TO POST A
    MINIMUM OF 200. That's it! You will begin
    receiving money from around the world within
    days! You may eventually want to rent a P.O. Box
    due to the large amount of mail you will receive.
    If you wish to stay anonymous, you can invent a
    name to use as long as the postman will deliver
    it. **JUST MAKE SURE THE ADDRESS IS CORRECT** Let
    me break it down, say I receive only 5 replies,
    so then I made $5 with my name at #6 on the
    letter. Now each of the 5 persons who just sent
    me $1 made the MINIMUM 200 postings, each with my
    name at #5 and only 5 people respond to the
    original 5 people. That is another $25 for me.
    Now those 25 people make the MINIMUM 200 post
    with my name at number 4 and only 5 replies each,
    I will make $125. Now, those 125 people post the
    MINIMUM 200 postings with my name at #3 and only
    get 5 replies each, I will make an additional
    $626! OK, now here's the fun part each of those
    625 people post a MINIMUM 200 with my name at #2
    and they only get 5 replies that just made me
    $3,125!!! Those 3125 people send a MINIMUM 200
    postings and they only get 5 replies each with my
    name at #1, I will receive $15,625!!! With an
    original investment of $6!!!! AMAZING!!!! . When
    your name is no longer on the list, you just take
    the latest postings in the news groups and send
    out another $6 to names on the list putting
    yourself at #6 and start posting again. Thousands
    of people are joining the internet each day and
    they are reading articles like these just as you
    are right now. So this can never be played out
    just keep it going and you can make tons of money
    too!!!! Please try it now and make big bucks in a
    few short weeks!!!!!! What do you have to lose?

  • How to set DISPLAY for tomcat service inorder to run reports using rwrun.sh

    Here is my problem..
    I came to know that its not possible to invoke rwrun.sh without setting the DISPLAY environment variable from the servlet or any java program. But some one proposed me a solution that to set the DISPLAY variable for TOMCAT service from where my servlet invokes the shell script written for report generation using rwrun.sh. The user for tomcat service is wwwrun ..
    Do i need to set this variable in the logon script for this user ..but I couldn't find the .profile file for that.
    Is there any way to set this variable for tomcat service and get the report successfully.

    i gave export DISPLAY=aatsv001.local:0.0 in $ORACLE_HOME/bin/reports.sh
    but it gives me the following error when i invoke the report
    Xlib: connection to "aatsv001.local:0.0" refused by server
    Xlib: No protocol specified
    REP-0069: Internal error
    REP-3000: Internal error starting Oracle Toolkit.
    I also tried giving localhost and also aatsv001 (without .local)
    some one help me..

  • Creating search help for a field in AdHoc Query

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

Maybe you are looking for

  • How to populate a tilelist via my remote xml file?

    I have a mysql database set up and have produced it's contents into an xml format via php. Here is the xml data:- http://www.coolvisiontest.com/getcategories.php In my app I've set up a http request pointing to this url but I now need to assign this

  • Command S works inconsistently and displays no warning dialogue box when closing

    I am having a very strange issue with Photoshop CS6 - OSX 10.7 and 10.8 (recently upgraded). I havent been able to figure out how to reproduce this bug though it happens all the time every day while i work.  I work on a file maybe for 10 minutes to 1

  • Recovery mode loop please help(wont let me restore)

    I need help. About two hours ago i tried updating my iphone 4, ios 7 to the latest firmware. I tried doing this straight from my device. after several minutes my device seemed to be frozen.  I read online to put it in recovery mode. after i did this

  • Newbie question: how to send mails on a Solaris 10 machine?

    Good morning all, I am responsible of a lab, containing some Solaris machines. On one of those machines, a collegue would like to send mails, using following command: echo "something" | mailx -v -s "subject" <collegue>@<domain>.comThe mentioned e-mai

  • Manufacturer of Lenovo mice

    What company manufactures the Lenovo USB Optical Wheel Mouse, model MO28UOL and the Lenovo ScrollPoint Mouse, model MO09BO? There have been a number of mice made for IBM and Lenovo that have similar model numbers. Is it Logitech, Primax, or another c