New  to Tomcat

Hi,
I am new to New to Tomcat. I have downloaded Tomcat3.3.2 and have set the env. Variables in Autoexec.bat (Win98).But i am having a problem in starting the Tomcat (Both from console and from the start icon).Please let me know the solution about the Installation and configuration.
================================================
The env. Variables in Autoexec.bat are:
================================================
set JAVA_HOME=c:\jdk1.2.2
set TOMCAT_HOME=c:\tomcat
set TOMCAT_INSTALL=c:\tomcat
set CATALINA_HOME=c:\tomcat
==================================================================
The following ERRORS are displayed on thge Server Console Screen
==================================================================
java:52)
at org.apache.tomcat.startup.Main.execute(Main.java:272)
at org.apache.tomcat.startup.Main.main(Main.java:98)
Root Exception: org.apache.tomcat.core.TomcatException: EmbededTomcat.initContex
tManager
org.apache.tomcat.core.TomcatException: EmbededTomcat.initContextManager
at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTom
cat.java:631)
at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:7
91)
at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:775)
at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12S
upport.java:166)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.
java:76)
at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:77
3)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.
java:52)
at org.apache.tomcat.startup.Main.execute(Main.java:272)
at org.apache.tomcat.startup.Main.main(Main.java:98)
=====================
Thanks

Hi evnafets,
Thanks for your King Assistance and help. Could you please let me know as to How to Configure Tomcat3.2.2 (Step by Step process). As i have ReInstalled Tomcat3.2.2 and i am already Using Jdk1.2.2. So I guess these two go along well But why this is showing the errors.
Please let me know te produre to Install Tomcat3.2.2.
Thanks in Advance,
Parimoj

Similar Messages

  • How do I add data to HTTP response headers in Tomcat?

    Hello
    I am in the process of making our site Platform for Privacy Preferences(P3P) compliant. We are running Tomcat 3.2.2(standalone) on a Linux box. I am looking for information regarding adding data to HTTP header responses(see example below). One of the aspects of P3P compliancy is referencing where a Policy is located and referencing the "Compact Policy" via the "CP" tag. I need to add these values and as I am
    new to Tomcat I need know where to find the header information.
    <!-- example -->
    HTTP/1.1 200 OK
    P3P: policyref="http://somesite.com/P3P/PolicyReferences.xml",
    CP="NON DSP COR CURa ADMa DEVa CUSa TAIa OUR SAMa IND"
    Content-Type: text/html
    Content-Length: 8104
    Server: ...
    ...content...
    <!-- end example -->
    Any suggestions would be appreciated.
    Joe Dalessandro
    e: [email protected]

    Hmm... If you check your server.xml -file, you'll probably find that Tomcat has been configured to use org.apache.tomcat.service.http.HttpConnectionHandler as the connection handler (right under the "Connector classname" value)...
    Would it be possible to tweak that handler or extend it in such a way that you could add your headers?
    Unfortunately I don't work with Tomcat myself, otherwise I could try it...
    If this seems too complicated, I'd just recommend you to install Apache, and do it there...

  • Error while starting Tomcat

    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.

  • Cannot compile JSP pages in Tomcat 5.0.28

    Hi,
    I'm new to Tomcat and this has been bothering me for days now.
    I have (seemingly) correctly installed Tomcat v5.0.28 and am currently in the process of testing my environment with simple html/jsp pages.
    My server starts up fine with no error messages.
    Testing the server I can access the .html file fine, however I get a HTTP 404 error for the .jsp: The requested resource (/hello/hello.jsp) is not availableI have done the following since installation:
    1. Installed Tomcat to C:\Program Files\jakarta-tomcat-5.0.282. Set the environment variable JAVA_HOME to the value C:\Program Files\Java\jdk1.5.0 (base directory of my java installation)
    3. Even added ;C:\Program Files\Java\jdk1.5.0\bin to the environment variable Path (just in case, for javac)
    4. Enabled the invoker sevlet by uncommenting:
        <servlet>
            <servlet-name>invoker</servlet-name>
            <servlet-class>
              org.apache.catalina.servlets.InvokerServlet
            </servlet-class>
        </servlet>and
        <servlet-mapping>
            <servlet-name>invoker</servlet-name>
            <url-pattern>/servlet/*</url-pattern>
        </servlet-mapping>in conf/web.xml
    5. Added an access log valve to locahost
    6. Set ant fork compiles to seperate JVMs:
        <servlet>
            <servlet-name>jsp</servlet-name>
            <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
            <init-param>
                <param-name>fork</param-name>
                <param-value>true</param-value>
            </init-param>
            <init-param>
                <param-name>xpoweredBy</param-name>
                <param-value>false</param-value>
            </init-param>
            <load-on-startup>3</load-on-startup>
        </servlet>6. Installed the .html and .jsp pages to folder %CATALINA_HOME%/webapps/ROOT/helloNow when I bin/startup.bat Tomcat starts without anu error messges. In a browser I can now access http://localhost:8080 and http://localhost:8080/hello/hello.html but not http://localhost:8080/hello/hello.jspHere are my logfiles (in debug mode) for performing the above actions and then shutting down:
    catalina_log.txt
    2006-04-29 18:29:02 EngineConfig: EngineConfig: Processing START
    2006-04-29 18:29:24 EngineConfig: EngineConfig: Processing STOPlocalhost_log.txt
    2006-04-29 18:29:01 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]]
    2006-04-29 18:29:01 StandardContext[/jsp-examples]ContextListener: contextInitialized()
    2006-04-29 18:29:01 StandardContext[/jsp-examples]SessionListener: contextInitialized()
    2006-04-29 18:29:02 StandardContext[/servlets-examples]ContextListener: contextInitialized()
    2006-04-29 18:29:02 StandardContext[/servlets-examples]SessionListener: contextInitialized()
    2006-04-29 18:29:24 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@14eaec9')
    2006-04-29 18:29:24 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@b533b8')
    2006-04-29 18:29:24 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@569c60')
    2006-04-29 18:29:24 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
    2006-04-29 18:29:24 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
    2006-04-29 18:29:24 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@d67067')
    2006-04-29 18:29:24 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@6db724')
    2006-04-29 18:29:24 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@112da40')
    2006-04-29 18:29:24 StandardContext[/jsp-examples]SessionListener: contextDestroyed()
    2006-04-29 18:29:24 StandardContext[/jsp-examples]ContextListener: contextDestroyed()localhost_access_log.txt
    127.0.0.1 - - [29/Apr/2006:18:29:13 +0930] "GET /hello/hello.html HTTP/1.1" 304 -
    127.0.0.1 - - [29/Apr/2006:18:29:19 +0930] "GET /hello/hello.jsp HTTP/1.1" 404 1000Also, my sourced test .html and .jsp files:
    hello.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <!--
    Simple HTML file to test server setup and configuration.
    Taken from Core Servlets and JavaServer Pages 2nd Edition
    from Prentice Hall and Sun Microsystems Press,
    http://www.coreservlets.com/.
    (C) 2003 Marty Hall; may be freely used or adapted.
    -->
    <HTML>
    <HEAD><TITLE>HTML Test</TITLE></HEAD>
    <BODY BGCOLOR="#FDF5E6">
    <H1>HTML Test</H1>
    Hello.
    </BODY></HTML>hello.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <!--
    Simple JSP file to test server setup and configuration.
    Taken from Core Servlets and JavaServer Pages 2nd Edition
    from Prentice Hall and Sun Microsystems Press,
    http://www.coreservlets.com/.
    (C) 2003 Marty Hall; may be freely used or adapted.
    -->
    <HTML>
    <HEAD><TITLE>JSP Test</TITLE></HEAD>
    <BODY BGCOLOR="#FDF5E6">
    <H1>JSP Test</H1>
    Time: <%= new java.util.Date() %>
    </BODY></HTML>I am getting so frustrated I feel like I have tried everything...

    Thanks for your feedback, I tried all suggestions but still no luck.
    One thing I didn't mention previously was I have also tried the following (note: I have omitted the prefix "%CATALINA_HOME%/webapps"
    to all directory references below):
    1. installed my .jsp directly into /ROOT
    2. installed my .jsp into subdirectory /ROOT/hello
    3. installed my .jsp into /root_copy (identified as a running application by Tomcat manager)
    I think there must a problem in my deployment because the JSP examples (http://localhost:8080/jsp-examples/) compile fine...
    This indicates that JAVA_HOME is set correctly.
    Since my first post I tried installing tomcat from a windows installer into c:\apache\tomcat5.0.28\ and set logging to debug.
    Here's a small dump of 5 logs in localhost_log.2006-05-01.txt:
    2006-05-01 20:08:31 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter]...
    2006-05-01 20:08:32 StandardContext[/jsp-examples]ContextListener: contextInitialized()
    2006-05-01 20:08:32 StandardContext[/jsp-examples]SessionListener: contextInitialized()
    2006-05-01 20:08:32 StandardContext[/servlets-examples]ContextListener: contextInitialized()
    2006-05-01 20:08:32 StandardContext[/servlets-examples]SessionListener: contextInitialized()Note there was no initialization of the context root_copy, but I'm unsure if there's any relevance here or not.

  • Embedding tomcat to run as a webserver

    Hi,
    I have compiled the Embedded.java source code to work in my environment.
    But the code includes the Thread.sleep , without that the code will terminate.
    So the webserver is running only for the time x,
    Thread.sleep(x)
    The sample code is:
    public static void main(String args[]) {
    try {
    EmbeddedTomcat tomcat = new EmbeddedTomcat();
         tomcat.setPath("d:/jakarta-tomcat-4.0.1");
    tomcat.startTomcat();
    Thread.sleep(1000000);
    tomcat.stopTomcat();
    how to avoid the thread.sleep so that the webserver is running continuously until it is shutdown explicitly
    Thanks

    Try running the tomcat service (embedded.start()) in a separate thread. I got the Embedded.java example working in this fashion by extending Thread and moving the code in the startTomcat() method to the public void run() method. To start the service, just call this.start(). Hope this helps...

  • Need help with httpd/tomcat/jsr223/php

    Hello,
    I�m new to tomcat, but have been working with httpd for years. (now I find out how different the two are)
    I�m having some problems getting php to play nicely with tomcat. Here�s my configuration:
    RHEL4 2.6.9-34.0.2.ELsmp
    apache-tomcat-5.5.17
    httpd-2.0.55 (with mod_jk)
    mysql 5.0.21
    jsr223
    primary tomcat application trying to get working: nutch-0.7.2
    what ends up eventually happening (after struggling to get jsp and php working together) is my /usr/local/apache/logs/mod_jk.log gets filled with stuff like this up to 2gb, at which point it brings apache to it�s knee�s until I clear the file. I�m not concerned about this, but I figured the log file might be helpful
    [Fri Jul 21 13:15:19 2006] [4016:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/bannerads/adlog.php' from 5 maps
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/jsp-examples/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*/servlet/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/ROOT/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/bannerads/adlog.php' from 5 maps
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/jsp-examples/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*/servlet/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/ROOT/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/images/employment1.gif' from 5 maps
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/jsp-examples/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*/servlet/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/ROOT/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/images/employment1.gif' from 5 maps
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/jsp-examples/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*/servlet/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/ROOT/*'
    [Fri Jul 21 13:15:19 2006] [4030:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/daily/1997/01/06/sports/ap06sd.ap' from 5 maps
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*'
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/jsp-examples/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*/servlet/*'
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/ROOT/*'
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/daily/1997/01/06/sports/ap06sd.ap' from 5 maps
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*'
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/jsp-examples/*.jsp'
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*/servlet/*'
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/ROOT/*'
    [Fri Jul 21 13:15:19 2006] [4025:10464] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*.jsp'
    stepping back, I added this to httpd.conf to get apache-tomcat working:
    httpd.conf:
    # Mod_jk settings
    # Load mod_jk module
    LoadModule jk_module modules/mod_jk.so
    # Where to find workers.properties
    JkWorkersFile conf/workers.properties
    # Where to put jk logs
    JkLogFile logs/mod_jk.log
    # Set the jk log level [debug/error/info]
    JkLogLevel debug
    # Select the log format
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    # JkOptions indicate to send SSL KEY SIZE,
    JkOptions ForwardKeySize ForwardURICompat -ForwardDirectories
    # JkRequestLogFormat set the request format
    JkRequestLogFormat "%w %V %T"
    # Send JSPs for context /jsp-examples to worker named default
    JkMount /jsp-examples/*.jsp default
    # Send servlets-examples to worker named default
    JkMount /servlets-examples/* default
    # Send search2 to worker named default
    JkMount /ROOT/* default
    JkMount /*/servlet/* default
    JkMount /*.jsp default
    to get php working I installed jsr223 and added this to my web.xml file
    <servlet>
    <servlet-name>JSR223Script</servlet-name>
    <servlet-class>com.sun.script.http.ScriptServlet</servlet-class>
    <init-param>
    <param-name>script-blocks</param-name>
    <param-value>js,groovy</param-value>
    </init-param>
    </servlet>
    and then this under the servlet-mapping section. When I add this, php pages will show correctly, but my nutch search.jsp page just comes up as a blank page. My / jsp-examples/ work however.
    <servlet-mapping>
    <servlet-name>JSR223Script</servlet-name>
    <url-pattern>*.php</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>JSR223Script</servlet-name>
    <url-pattern>*.js</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>JSR223Script</servlet-name>
    <url-pattern>*.groovy</url-pattern>
    </servlet-mapping>
    When I remove the 3 server mappings, the nutch jsp pages work fine, but the php pages don�t
    Any help would be greatly appreciated! Thanks

    My suggestion would be to post to the correct forum. This forum is dedicated to discussions regarding Java Web Start, and although most people where would be able to help, these kind of posts are considered a little rude.
    The best place to start searching is at the Apache Project website - http://jakarta.apache.org/.

  • Bug in new Tmcat !!!!!!!!!!! Urgent.......

    Hi,
    I am working on java and jsp and I am using web server as tomcat.
    I have upgrade my tomcat to the newer version tomcat 5.0 and copy pasted all my jsp page from old tomcat to the new tomcat and added all the jar files and also set all classpath and system variables.
    Initially all my jsp page worked fine but now I am having sum problem.
    In all the pages where I used jsp tag like forward or include is giving me an and it not compling my jsp page.
    Any body can have some solution of this problem.
    please let me know its very urgent................
    Thanks in advance..........
    hitWin

    maybe start with posting the errors you get. we cannot read your mind
    otehrwise we would need to guess

  • Class/Package problem with tomcat

    Hi everyone,
    i am pretty new to tomcat and jsp and I have to setup a webapp using tomcat. Actually I setup the tomcat-server and moved all files in the webapps/ROOT/myapp directory. Unfortunately I get the following error-message when I access the main page of the webapp: org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 14 in the jsp file: /myapp/index.jsp
    Generated servlet error:
        [javac] Compiling 1 source file
    /usr/local/jakarta-tomcat-4.1.29/work/Standalone/localhost/_/myapp/index_jsp.java:43: package de.myclasses.myapp.beans does not exist
          de.myclasses.myapp.beans.MyClass tmb = null;The package de/myclasses/myapp/beans is in the classes directory in the WEB-INF folder within my application directory. So do I have to set something like a CLASSPATH somewhere?
    Thanks!

    Hi everyone,
    i am pretty new to tomcat and jsp and I have to setup
    a webapp using tomcat. Actually I setup the
    tomcat-server and moved all files in the
    webapps/ROOT/myapp In this case, the webapps/ROOT/ is you application directory (servlet context). The myapp is a sub-context, and does not get a WEB-INF directory.
    So, either your classes should be in:
    webapps/ROOT/WEB-INF/classes/...
    or (better) you should make a new Servlet Context in parallel to the ROOT context (under webapps)
    webapps/myapp/
    and put the classes under
    webapps/myapp/WEB-INF/classes/...
    Don't forget to make a webapps/myapps/WEB-INF/web.xml.
    directory. Unfortunately I get the
    following error-message when I access the main page
    of the webapp: org.apache.jasper.JasperException: Unable to compile
    class for JSP
    An error occurred at line: 14 in the jsp file:
    /myapp/index.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    /usr/local/jakarta-tomcat-4.1.29/work/Standalone/local
    host/_/myapp/index_jsp.java:43: package
    de.myclasses.myapp.beans does not exist
    de.myclasses.myapp.beans.MyClass tmb =
    tmb = null;The package de/myclasses/myapp/beans is in the
    classes directory in the WEB-INF folder within my
    application directory. So do I have to set something
    like a CLASSPATH somewhere?
    Thanks!

  • TOMCAT - Enable Server Side Includes

    Hi, i tried to include files in my pages using <!--#include file="file_name"--> but its not working so i suppose i must configure my tomcat in some way in order to enable the server side includes (im tottaly new to TOMCAT) so, anyone can explain me how to do it?
    Thx!

    Hi, i tried to use the tag like this:
    <jsp:include page="../menu.jsp" flush="true" />
    But it did not work.. why?
    id did something like this:
    <% jsp code %>
    <html>
    <head>
    </head>
    <body>
    <jsp:include page="../menu.jsp" flush="true" />
    some content
    </body>
    is there any special use?
    thX!

  • Jsp using Tomcat

    Hello everyone
    I am new to Tomcat. I have my project in E drive and my Tomcat installed in the C drive. How do i run my files is my query?

    Hello everyone
    I am new to Tomcat. I have my project in E drive and
    my Tomcat installed in the C drive. How do i run my
    files is my query?To be run by Tomcat JSPs and servlets need to be in a "webapp" directory.
    Inside the Tomcat directory tree there's a webapps directory, which contains directories for each web application. Your JSPs must live in one of those. Each directory coresponds to a folder in the server's URL. You'll normally access them with a url like:
    http://localhost:8080/examples/myjsp.jsp
    While the jsp is actually in webapps/exmaples under tomcat's base directory.
    (Assuming that you are running the browser on the same machine as Tomcat).
    If you really needed to you could move the webapps directory somewhere else, by making appropriate changes to the server.xml file in Tomcat's "conf" directory. The server.xml file is the key to organising your web applications.

  • 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.

  • Running .jsp with TOMCAT 5.5.9

    I am new to Tomcat and Java, I was task to make this application run on Tomcat, it currently works fine on Webshpere.
    org.apache.jasper.JasperException: /header.jsp(90,0) The value for the useBean class attribute training.rules.TrainingSession is invalid.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:146)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1223)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2237)
         org.apache.jasper.compiler.Node$IncludeDirective.accept(Node.java:597)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3270)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:189)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         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)
    MY JAVA FILE:
    package training.rules;
    import training.Training; // Database utilities
    import java.io.*; // File utilities
    import java.sql.*; // More database utilities
    import java.util.*; // Data structure classes
    import java.util.Date;
    import tools.pages.AbstractPage;
    import tools.persistence.*; // Database utilities
    import tools.persistence.LibraryFactory; // Database library manager
    import tools.persistence.LibraryManager; // Application library manager
    import tools.rules.*; // Business rules utilities
    import tools.utilities.*; // Misc. utility classes
    import tools.utilities.Log; // Log file for application
    import tools.utilities.EmailException;
    import tools.utilities.EmailLookup;
    import tools.utilities.print.*; // Print utility classes
    * Provides the utilities necessary to create and maintain a
    Training DB user session.
    * @author Mary S. Powers ([email protected])
    * @version 1.000 2003.02.26 Initial
    public class TrainingSession extends Session {
    The list of valid agency codes.
    public static MultiValue agencyCodes = null;
    The code for a page not requiring a log-in at all.
    public static final String AGENCY_NONE = "4";
    The code for the agency of OTH.
    public static final String AGENCY_OTHER = "2";
    The code for the agency of PDG.
    public static final String AGENCY_PDG = "1";
    The code for the agency of Supervisor.
    public static final String AGENCY_SUPERVISOR = "3";
    List of archived Employees in the database.
    public static MultiValue archivedEmployees = null;
    The list of email addresses for the contacts for the application.
    public static MultiValue contactEmailAddresses = null;
    The list of contact names for the application.
    public static MultiValue contactNames = null;
    The list of valid course type IDs.
    public static MultiValue courseTypeIds = null;
    The list of valid course types.
    public static MultiValue courseTypeNames = null;
    The list of manager delegates.
    public static KeyedList delegates = null;
    List of Employees in the database.
    public static MultiValue employees = null;
    The list of options on the course evaluation form.
    public static MultiValue evaluationCodes = null;
    The list of IDs for the options on the course evaluation form.
    public static MultiValue evaluationCodeIds = null;
    The list of job title IDs.
    public static MultiValue jobTitleIds = null;
    The list of valid job titles.
    public static MultiValue jobTitleNames = null;
    The list of course location IDs.
    public static MultiValue locationIds = null;
    The list of valid course location names.
    public static MultiValue locationNames = null;
    The list of valid training proficiency codes.
    public static MultiValue proficiencyCodes = null;
    The list of training proficiency IDs.
    public static MultiValue proficiencyIds = null;
    The list of course provider IDs.
    public static MultiValue providerIds = null;
    The list of valid course providers ordered by provider name.
    public static MultiValue providerNames = new MultiValue();
    The list of valid training request status codes.
    public static MultiValue requestStatusCodes = new MultiValue();
    The list of keys for the training request status codes.
    public static MultiValue requestStatusCodeIds = new MultiValue();
    The list of abbreviations for the states.
    public static MultiValue stateAbbrs = null;
    The list of IDs for the state codes.
    public static MultiValue stateIds = null;
    The list of valid states.
    public static MultiValue stateNames = null;
    The list of course subject area IDs.
    public static MultiValue subjectAreaIds = null;
    The list of course subject areas.
    public static MultiValue subjectAreaNames = null;
    The list of training level codes.
    public static MultiValue trainingLevelCodes = null;
    The list of training level IDs.
    public static MultiValue trainingLevelIds = null;
    The list of valid training method codes.
    public static MultiValue trainingMethodCodes = null;
    The list of training method IDs.
    public static MultiValue trainingMethodIds = null;
    Create a connection to the specified database as the specified user
    with the specified password.
    * @exception IOException if JDBC cannot connect.
    public TrainingSession() throws IOException {
    super(SessionManager.getApplication("TrainingDB"));
    init("TrainingDB");
    setLockedTables(new MultiValue());
    logFile = Training.getLog();
    } /* end of constructor */
    This method retrieves the access level given the command the
    user is attempting to execute.
    * @param command the command the user wishes to execute
    * @return the access level
    public String getAccess(String command) {
    String access = "";
    if (command == null)
    return(access);
    try {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedList validAccessLevels = ((KeyedList )validityTables.get("Access"));
    if (!validAccessLevels.isValid()) {
    getValidAccessLevels();
    validityTables = SessionManager.get(getApplication()).getValidityTables();
    validAccessLevels = ((KeyedList )validityTables.get("Access"));
    } // end of if
    Enumeration keys = validAccessLevels.keys();
    while (keys.hasMoreElements()) {
    String oneKey = ((String )keys.nextElement());
    if (oneKey.trim().equalsIgnoreCase(command.trim()))
    return(((String )((MultiValue )validAccessLevels.get(oneKey)).elementAt(0)));
    } // end of while loop
    catch (Exception e) {}
    return(access);
    } // end of method 'getAccess'
    This method returns the agency the current user is logged in
    under. OTH is the default.
    * @return the agency the current user is logged in under
    public String getAgency() {
    return(this.getAgencyCode(agencyKey));
    } // end of method 'getAgency'
    This method retrieves the agency, given the agency key.
    * @param agencyId the agency key
    * @return the name of the agency
    public String getAgencyCode(String agencyId) {
    String agency = "";
    if (agencyId == null)
    return(agency);
    try {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedList validAgencies = ((KeyedList )validityTables.get("Valid_Agency"));
    if (!validAgencies.isValid()) {
    getValidAgencies();
    validityTables = SessionManager.get(getApplication()).getValidityTables();
    validAgencies = ((KeyedList )validityTables.get("Valid_Agency"));
    } // end of if
    Enumeration keys = validAgencies.keys();
    while (keys.hasMoreElements()) {
    String oneKey = ((String )keys.nextElement());
    if (oneKey.trim().equals(agencyId))
    return(((String )((MultiValue )validAgencies.get(oneKey)).elementAt(0)));
    } // end of while loop
    catch (Exception e) {}
    return(agency);
    } // end of method 'getAgencyCode'
    This method retrieves the list of valid agency codes.
    * @return the list of valid agency codes
    public MultiValue getAgencyCodes() {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedList validAgencies = ((KeyedList )validityTables.get("Valid_Agency"));
    if (!validAgencies.isValid()) {
    try {
    getValidAgencies();
    catch (IOException e) {} // We did the best we could to repopulate the cache.
    } // end of if
    return(agencyCodes);
    } // end of method 'getAgencyCodes'
    This method retrieves the agency key, given the name of the
    agency.
    * @param agency the name of the agency code
    * @return the agency key
    public String getAgencyId(String agency) {
    String agencyId = "";
    if (agency == null)
    return(agencyId);
    try {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedList validAgencies = ((KeyedList )validityTables.get("Valid_Agency"));
    if (!validAgencies.isValid()) {
    getValidAgencies();
    validityTables = SessionManager.get(getApplication()).getValidityTables();
    validAgencies = ((KeyedList )validityTables.get("Valid_Agency"));
    } // end of if statement
    Enumeration keys = validAgencies.keys();
    while (keys.hasMoreElements()) {
    String oneKey = ((String )keys.nextElement());
    MultiValue agencies = ((MultiValue )validAgencies.get(oneKey));
    for (int i=0; i<agencies.size(); i++) {
    String oneAgency = ((String )agencies.elementAt(i));
    if (agency.trim().equalsIgnoreCase(oneAgency.trim()))
    return(oneKey);
    } // end of for loop
    } // end of while loop
    catch (Exception e) {}
    return(agencyId);
    } // end of method 'getLocationId'
    This method retrieves the list of archived employees.
    * @return reference to the list of archived employees
    public MultiValue getArchivedEmployees() {
    return(archivedEmployees);
    } // end of method 'getArchivedEmployees'
    This method retrieves the list of email addresses for the contacts
    for the application.
    * @return the list of email addresses
    public MultiValue getContactEmailAddresses() {
    return(contactEmailAddresses);
    } // end of method 'getContactEmailAddresses'
    This method retrieves the list of contact names for the
    application.
    * @return the list of contact names
    public MultiValue getContactNames() {
    return(contactNames);
    } // end of method 'getContactNames'
    This method retrieves the reference to a Course object, given the
    key for the course.
    * @param courseId the key for the course
    * @return reference to the Course object
    public ICourse getCourse(String courseId) {
    ICourse theCourse = null;
    if (courseId == null)
    return(theCourse);
    try {
    ICourse courseTemplate = this.getNewCourseInstance();
    ((Course )courseTemplate).getKey().setValue(courseId.trim());
    IIterator results = this.query(courseTemplate);
    theCourse = ((ICourse )results.next());
    catch (Exception e) {}
    return(theCourse);
    } // end of method 'getCourse'
    This method retrieves the reference to a CourseInstance object, given the
    key for the course.
    * @param courseId the key for the course instance
    * @return reference to the CourseInstance object
    public ICourseInstance getCourseInstance(String courseId) {
    ICourseInstance theCourseInstance = null;
    if (courseId == null)
    return(theCourseInstance);
    try {
    ICourseInstance courseInstanceTemplate = this.getNewClassInstance();
    ((CourseInstance )courseInstanceTemplate).getKey().setValue(courseId.trim());
    IIterator results = this.query(courseInstanceTemplate);
    theCourseInstance = ((ICourseInstance )results.next());
    catch (Exception e) {}
    return(theCourseInstance);
    } // end of method 'getCourseInstance'
    This method retrieves the course type, given the course type key
    * @param courseTypeId the course type key
    * @return the name of the course type
    public String getCourseType(String courseTypeId) {
    String courseType = "";
    if (courseTypeId == null)
    return(courseType);
    try {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedList validCourseTypes = ((KeyedList )validityTables.get("Course_Types"));
    if (!validCourseTypes.isValid()) {
    getValidCourseTypes();
    validityTables = SessionManager.get(getApplication()).getValidityTables();
    validCourseTypes = ((KeyedList )validityTables.get("Course_Types"));
    } // end of if statement
    Enumeration keys = validCourseTypes.keys();
    while (keys.hasMoreElements()) {
    String oneKey = ((String )keys.nextElement());
    if (oneKey.trim().equalsIgnoreCase(courseTypeId))
    return(((String )((MultiValue )validCourseTypes.get(oneKey)).elementAt(0)));
    catch (Exception e) {}
    return(courseType);
    } // end of method 'getCourseType'
    This method retrieves the list of valid course type IDs.
    * @return the list of course type IDs
    public MultiValue getCourseTypeIds() {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedList validCourseTypes = ((KeyedList )validityTables.get("Course_Types"));
    if (!validCourseTypes.isValid()) {
    try {
    getValidCourseTypes();
    catch (IOException e) {} // We did the best we could to repopulate the cache.
    } // end of if
    return(courseTypeIds);
    } // end of method 'getCourseTypeIds'
    This method retrieves the list of valid course types.
    * @return the list of course type names
    public MultiValue getCourseTypes() {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedList validCourseTypes = ((KeyedList )validityTables.get("Course_Types"));
    if (!validCourseTypes.isValid()) {
    try {
    getValidCourseTypes();
    catch (IOException e) {} // We did the best we could to repopulate the cache.
    } // end of if
    return(courseTypeNames);
    } // end of method 'getCourseTypes'
    This method returns a list of IDs for the delegates (if any) of the
    person logged in, if he/she is a section manager.
    * @return the list of employee IDs of the delegates
    public MultiValue getDelegates() {
    MultiValue theDelegates = new MultiValue();
    if (this.isSectionManager()) {
    IEmployee employeeRecord = this.getEmployeeRecord();
    String employeeId = ((String )((AbstractDataObject )((Employee )employeeRecord).getKey()).get()).trim();
    KeyedList delegateTable = this.delegates;
    Enumeration keys = delegateTable.keys();
    while (keys.hasMoreElements()) {
    String oneKey = ((String )keys.nextElement()).trim();
    if (oneKey.equals(employeeId)) {
    theDelegates = ((MultiValue )delegateTable.get(oneKey));
    break;
    } // end of if statement
    } // end of while loop
    } // end of outer if statement
    return (theDelegates);
    } // end of method 'getDelegates'
    This method retrieves the name of the domain used to validate
    logins.
    * @return the name of the domain
    public String getDomain() {
    return(domain);
    } // end of method 'getDomain'
    This method retrieves the Employee record, given the employee ID.
    * @param employeeId the employee ID
    * @return the employee record;
    'null', if no such employee ID
    public IEmployee getEmployee(String employeeId) {
    IEmployee employee = null;
    for (int i=0; i<employees.size(); i++) {
    IEmployee oneEmployee = ((IEmployee )employees.elementAt(i));
    String oneEmployeeId = ((String )((AbstractDataObject )((Employee )oneEmployee).getKey()).get());
    if (oneEmployeeId.trim().equalsIgnoreCase(employeeId.trim())) {
    employee = oneEmployee;
    break;
    } // end of if
    } // end of for loop
    // If the employee is not found, then search the list of archived
    // employees.
    if (employee == null) {
    for (int i=0; i<archivedEmployees.size(); i++) {
    IEmployee oneEmployee = ((IEmployee )archivedEmployees.elementAt(i));
    String oneEmployeeId = ((String )((AbstractDataObject )((Employee )oneEmployee).getKey()).get());
    if (oneEmployeeId.trim().equalsIgnoreCase(employeeId.trim())) {
    employee = oneEmployee;
    break;
    } // end of if
    } // end of for loop
    } // end of outer if statement
    return(employee);
    } // end of method 'getEmployee'
    This method retrieves an employee name (last name, comma, first name),
    given the employee's user ID.
    * @param userId the employee's user ID
    * @return the employee's name;
    'null', if no such employee
    public String getEmployeeName(String userId) {
    String employeeName = null;
    for (int i=0; i<employees.size(); i++) {
    IEmployee oneEmployee = ((IEmployee )employees.elementAt(i));
    String oneUserId = ((String )((AbstractDataObject )((Employee )oneEmployee).getUserName()).get());
    String middleName = ((String )((AbstractDataObject )oneEmployee.getMiddleInitial()).get());
    if (middleName == null)
    middleName = "";
    if (oneUserId.trim().equalsIgnoreCase(userId.trim())) {
    employeeName = ((String )((AbstractDataObject )oneEmployee.getLastName()).get()) + ", " +
    ((String )((AbstractDataObject )oneEmployee.getFirstName()).get()) + " " +
    middleName;
    break;
    } // end of if
    } // end of for loop
    return(employeeName);
    } // end of method 'getEmployeeName'
    This method retrieves the employee record of the current user.
    * @return reference to the employee record;
    'null', if no employee record exists for the user
    public IEmployee getEmployeeRecord() {
    try {
    MultiValue theEmployees = getEmployees();
    for (int i=0; i<theEmployees.size(); i++) {
    IEmployee oneEmployee = ((IEmployee )theEmployees.elementAt(i));
    String userName = ((String )((AbstractDataObject )oneEmployee.getUserName()).get());
    if (userName.equalsIgnoreCase(getUserId())) {
    employeeRecord = oneEmployee;
    break;
    } // end of if
    } // end of for loop
    catch (IOException e) {}
    return(employeeRecord);
    } // end of method 'getEmployeeRecord'
    This method retrieves the list of Employees.
    * @exception IOException thrown if there was an occur attempting
    to retrieve the Employee list
    public synchronized MultiValue getEmployees() throws IOException {
    if (isNew) {
    IEmployee employeeTemplate = getNewEmployeeInstance();
    employeeTemplate.setEmployeeStatus("ACTIVE");
    employeeTemplate.getLastName().setOrder(0);
    employees = this.query(employeeTemplate).getAll();
    // Now, get the listing of archived employees.
    employeeTemplate.setEmployeeStatus("TERMINATED");
    archivedEmployees = this.query(employeeTemplate).getAll();
    isNew = false;
    } // end of if
    return(employees);
    } // end of method 'getEmployees'
    This method retrieves the evaluation option, given the evaluation option key.
    * @param evaluationCodeId the evaluation option key
    * @return the name of the course evaluation option
    public String getEvaluationCode(String evaluationCodeId) {
    String evaluationCode = "";
    if (evaluationCodeId == null)
    return(evaluationCode);
    try {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedList validEvaluationCodes = ((KeyedList )validityTables.get("Valid_Evaluation_Options"));
    if (!validEvaluationCodes.isValid()) {
    getValidEvaluationOptions();
    validityTables = SessionManager.get(getApplication()).getValidityTables();
    validEvaluationCodes = ((KeyedList )validityTables.get("Valid_Evaluation_Options"));
    } // end of if statement
    Enumeration keys = validEvaluationCodes.keys();
    while (keys.hasMoreElements()) {
    String oneKey = ((String )keys.nextElement());
    if (oneKey.trim().equalsIgnoreCase(evaluationCodeId))
    return(((String )((MultiValue )validEvaluationCodes.get(oneKey)).elementAt(0)));
    catch (Exception e) {}
    return(evaluationCode);
    } // end of method 'getEvaluationCode'
    This method retrieves the list of valid course evaluation option IDs.
    * @return the list of course evaluation form option IDs
    public MultiValue getEvaluationCodeIds() {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedList validEvaluationOptions = ((KeyedList )validityTables.get("Valid_Evaluation_Options"));
    if (!validEvaluationOptions.isValid()) {
    try {
    getValidEvaluationOptions();
    catch (IOException e) {} // We did the best we could to repopulate the cache.
    } // end of if
    return(evaluationCodeIds);
    } // end of method 'getEvaluationCodeIds'
    This method retrieves the list of valid course evaluation codes.
    * @return the list of course evaluation codes
    public MultiValue getEvaluationCodes() {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedList validEvaluationOptions = ((KeyedList )validityTables.get("Valid_Evaluation_Options"));
    if (!validEvaluationOptions.isValid()) {
    try {
    getValidEvaluationOptions();
    catch (IOException e) {} // We did the best we could to repopulate the cache.
    } // end of if
    return(evaluationCodes);
    } // end of method 'getEvaluationCodes'
    This method retrieves the highest access that the current user has.
    * @return the highest access that the current user has.
    public String getHighestAccess() {
    String highestAccess = AGENCY_OTHER;
    if (isPDG())
    highestAccess = AGENCY_PDG;
    else if (isSupervisor())
    highestAccess = AGENCY_SUPERVISOR;
    String highestAgency = "";
    highestAgency = this.getAgencyCode(highestAccess);
    setAgency(highestAgency);
    return(highestAgency);
    } // end of method 'getHighestAccess'
    This method returns the section manager highest up in the chain
    that the current user is a delegate for.
    * @return reference to the section manager highest up in the
    chain that the current user is a delegate for;
    'null', if the current user is a delegate for no one
    public IEmployee getHighestDelegate() {
    if (highestDelegate != null)
    return(highestDelegate);
    String employeeId = ((String )((AbstractDataObject )((Employee )this.employeeRecord).getKey()).get());
    try {
    String sql = "select Manager_Emp_Id from Delegates where Delegate_Emp_Id=" +
    employeeId;
    MultiValue results = this.textQuery(sql);
    String employeeDB = ((String )((Session )this).getApplication().getProperty("EMPLOYEE_DB")).trim();
    String highestDelegateId = "";
    int maxEmployeeList = -1;
    for (int i=0; i<results.size(); i++) {
    Vector oneRow = ((Vector )results.elementAt(i));
    String oneManagerId = oneRow.elementAt(0).toString();
    sql = "exec " + employeeDB + ".dbo.usp_chain_down " + oneManagerId;
    MultiValue queryResults = this.textQuery(sql);
    if (queryResults.size() > maxEmployeeList) {
    maxEmployeeList = queryResults.size();
    highestDelegateId = oneManagerId;
    } // end of if statement
    } // end of for loop
    highestDelegate = this.getEmployee(highestDelegateId);
    catch (Exception e) {}
    return(highestDelegate);
    } // end of method 'getHighestDelegate'
    This method retrieves the job title, given the job title key
    * @param jobTitleId the job title key
    * @return the name of the job title
    public String getJobTitle(String jobTitleId) {
    String jobTitle = "";
    if (jobTitleId == null)
    return(jobTitle);
    try {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedList validJobTitles = ((KeyedList )validityTables.get("Job_Table"));
    if (!validJobTitles.isValid()) {
    getValidJobTitles();
    validityTables = SessionManager.get(getApplication()).getValidityTables();
    validJobTitles = ((KeyedList )validityTables.get("Job_Table"));
    } // end of if statement
    Enumeration keys = validJobTitles.keys();
    while (keys.hasMoreElements()) {
    String oneKey = ((String )keys.nextElement());
    if (oneKey.trim().equalsIgnoreCase(jobTitleId))
    return(((String )((MultiValue )validJobTitles.get(oneKey)).elementAt(0)));
    catch (Exception e) {}
    return(jobTitle);
    } // end of method 'getJobTitle'
    This method retrieves the list of job title IDs.
    * @return the list of job title IDs
    public MultiValue getJobTitleIds() {
    Hashtable validityTables = SessionManager.get(getApplication()).getValidityTables();
    KeyedLis

    Thanks that help a bunch. I also the code was a bit much.
    I am currenty getting the error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    Only a type can be imported. training.Training resolves to a package
    An error occurred at line: 112 in the jsp file: /header.jsp
    Generated servlet error:
    The method getLog() is undefined for the type Training
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         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)
    Thanks,

  • Exception while executing JSP in TOMCAT

    Hi,
    I am new to Tomcat 5.0. I saved the JSP file in webapps/root folder. I have JDK1.3.1 and JRE 1.4.1. When I am executing the jsp, I am getting the following exception.
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\test_jsp.java:9: cannot access java.lang.Object
    bad class file: C:\Program Files\Java\j2re1.4.1_03\lib\rt.jar(java/lang/Object.class)
    class file has wrong version 48.0, should be 47.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    implements org.apache.jasper.runtime.JspSourceDependent {
    ^
    1 error
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    If I remove JRE 1.4.1 and install previous version i.e. 1.3.1, the tomcat server is not starting. How do I proceed. I need help in executing servlets also. I copied the tools.jar file into the common/lib folder.
    I am awaiting for the replies. Thanks in advance.
    sampath

    Hmmm. It seems that Tomcat is running on Java1.3, but trying to compile a JSP using Java1.4, which leads to problems.
    What have you set your JAVA_HOME variables to?
    Which version of Tools.jar did you copy to the common/lib folder?
    How do you start up tomcat? Shortcut or service?
    Copying Tools.jar is a bad thing to do in most cases (Yes, I know it told you to do that, but if it told you to format your harddrive would you do that too?) I would remove tools.jar, and see what happens then.
    Good luck,
    evnafets

  • Embedded Tomcat 5.5 return 404 for all request

    I am starting embedded tomcat within a Java application, but it returns 404 when i request a existing static content html file. I have no idea why is that and there is no service using the port. Please advise.
    File structures are as follow:
    base directory: D:\AXIS
    directory with index.html - D:\AXIS\webapps\root\
    other existing dir
    D:\AXIS\webapps\root\WEB-INF\lib\
    D:\AXIS\webapps\root\WEB-INF\
    debug level is set to 5 and following is the response of log screen when i request http://localhost:7070/index.html :
    Command> HttpProcessor[7070][3] An incoming request is being assigned
    HttpProcessor[7070][3] The incoming request has been awaited
    HttpProcessor[7070][3] parseConnection: address=/127.0.0.1, port=7070
    HttpProcessor[7070][3] Normalized: '/index.html' to '/index.html'
    HttpProcessor[7070][3] Request is 'GET' for '/index.html' with protocol 'HTTP/1.1'
    HttpProcessor[7070][3] Header accept = */*
    HttpProcessor[7070][3] Header accept-language = en-us
    HttpProcessor[7070][3] Adding locale 'en_US'
    HttpProcessor[7070][3] Header accept-encoding = gzip, deflate
    HttpProcessor[7070][3] Header user-agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
    HttpProcessor[7070][3] Header host = localhost:7070
    HttpProcessor[7070][3] Header connection = Keep-Alive
    StandardEngine[null]: Mapping server name 'localhost'
    StandardEngine[null]: Trying a direct match
    StandardHost[localhost]: Mapping request URI '/index.html'
    StandardHost[localhost]: Trying the longest context path prefix
    StandardHost[localhost]: Mapped to context ''
    StandardContext[]: Mapping contextPath='' with requestURI='/index.html' and relativeURI='/index.html'
    StandardContext[]: Decoded relativeURI='/index.html'
    StandardContext[]: Trying exact match
    StandardContext[]: Trying prefix match
    StandardContext[]: Trying extension match
    StandardContext[]: Trying default match
    HttpProcessor[7070][3] parseConnection: address=/127.0.0.1, port=7070
    Following is server start code.
    public class EmbeddedTomcat {
    private String path = null;
    private Embedded embedded = null;
    private Host host = null;
    * Default Constructor
    public EmbeddedTomcat() {
    * Basic Accessor setting the value of the context path
    * @param path - the path
    public void setPath(String path) {
    this.path = path;
    * Basic Accessor returning the value of the context path
    * @return - the context path
    public String getPath() {
    return path;
    * This method Starts the Tomcat server.
    public void startTomcat() throws Exception {
    Engine engine = null;
    // Set the home directory
    System.setProperty("catalina.home", getPath());
    System.setProperty("catalina.base", getPath());
    // Create an embedded server
    embedded = new Embedded();
    // print all log statments to standard error
    embedded.setDebug(99);
    embedded.setLogger(new SystemOutLogger());
    // Create an engine
    engine = embedded.createEngine();
         engine.setDefaultHost("localhost");
    // Create a default virtual host
    host = embedded.createHost("localhost", getPath() + "/webapps");
         engine.addChild(host);
    // Create the ROOT context
    Context context = embedded.createContext("", getPath() + "/webapps/root");
         System.out.println("Doc Base - " + context.getDocBase());
         host.addChild(context);
    // Install the assembled container hierarchy
    embedded.addEngine(engine);
    // Assemble and install a default HTTP connector
    Connector connector = embedded.createConnector(null, 7070, false);
    embedded.addConnector(connector);
    // Start the embedded server
    embedded.start();
    public static void main(String args[]) {
    try {
    EmbeddedTomcat tomcat = new EmbeddedTomcat();
    tomcat.setPath("D:/AXIS");
         tomcat.startTomcat();
    catch( Exception e ) {
    e.printStackTrace();
    Thanks is advance,
    Jerry

    in the reource tag u have somet hing called global attribute which will be ur global jndi name with which u can access the resource
    Context ...>
    <ResourceLink name="The name of the linked global resource in the global JNDI context.
    global="The name of the resource link to be created, relative to the java:comp/env context.
    type="The fully qualified Java class name expected by the web application when it performs a lookup for this resource link.
    r"
    i think tat will work
    regards
    shanu
    </Context>

  • Install Tomcat on Vista, but wrong path

    Hi
    I am new to Tomcat 6, I installed jdk 5 on Vista, but the jre is 6.
    I set the JAVA_HOME : C:\Java\jdk5\bin (I changed the install folder name to be jdk5)
    PATH: C:\Java\jdk15\bin
    CLASSPATH: C:\Java\jdk15\bin
    CATALINA_HOME: C:\Tomcat
    When I run C:\Tomcat\bin\startup.bat, it said JAVA_HOME environment variable is not defined correctly. JAVA_HOME should point to JDK but not JRE.
    But the path did point to jdk as I install jre5 on C:\Java\jre5.
    Any idea?

    techissue2008 wrote:
    Hi
    I am new to Tomcat 6, I installed jdk 5 on Vista, but the jre is 6.Huh?
    I set the JAVA_HOME : C:\Java\jdk5\bin (I changed the install folder name to be jdk5)Wrong. Should be c:/Java/jdk5
    PATH: C:\Java\jdk15\binIf you can open a command shell, type "java -version" and get back something sensible, then this is correct.
    CLASSPATH: C:\Java\jdk15\binWrong. Delete this. Not needed or wanted.
    CATALINA_HOME: C:\TomcatIs that where you installed Tomcat?
    When I run C:\Tomcat\bin\startup.bat, it said JAVA_HOME environment variable is not defined correctly. JAVA_HOME should point to JDK but not JRE.
    But the path did point to jdk as I install jre5 on C:\Java\jre5.
    Any idea?Yes, your environment is screwed up. See if those fixes make it better.
    %

Maybe you are looking for

  • Scary Snakes - Not On A Plane

    OK, AMC has a Kill Bill marathon. Well, maybe not a "marathon," by certain standards, as there are only two episodes. Still, I could not help but think of The Video Lounge, after the scene with Elle & Budd, and the suitcase of $. How would YOU like t

  • Installing a Torrent Download of Mac OS X 10.4 - does it work? Is it safe?

    Does anyone know about Torrent Downloads? The service is not free, so I want to be sure it's alright before signing up. I want to upgrade my Panther OS to Tiger. I have a 30GB hard drive. I also have a DVD drive.

  • Odd Time Machine Issue

    I have a 3TB drive that I use for TM backup and my growing media - iTunes & iPhoto Libriaries. I partitioned the drive with 500GB for TM backup and 2.5TB for media. I had to unplug my external drive one day (I ripped my parents DVD library for them t

  • Making a dvd from Photo Shop Essential.

    I want to put my slide show onto a dvd to run in a dvd player so that we can watch it on a tv monitor. Does Adobe Essential do this or is it confined within the program?

  • How can I run 2 Mac Systems on an iMac using VMWare Fusion

    Hello, - I'm using an iMac, system 10.10.2. - I bought VMWare Fusion 7.1.1. I would like to use VMWare on my iMac (Yosemite) and run another Mac OS (10.7.5) in parallel by using VMWare. I have no idea how to do this, I don't even know if it's even po