Tomcat Integration seems missing

Hi There,

Apologies if this has been asked 100 times before...

I just donwloaded build #657. When I try and set up the webapp in my project (Project Properties - Run - Webapp) tomcat is not listed in the Application server dropdown.

I can't seem to find any way to specify the TOMCAT_HOME...Am I missing something?

6 comments
Comment actions Permalink

I just set mine up with Tomcat 4.1.12, I found a good hint in this:

http://www.intellij.net/forums/thread.jsp?forum=18&thread=12411&message=255871&q=546f6d63617420363537#255871

Had to take the two jar in $CATALINA_HOME$\common\endorsed in my project classpath.


Regards,
Martin

0
Comment actions Permalink

You need to add the tomcat integration jar to the plugins folder.

The jar is located in the {$IDEA_HOME}\tomcatIntegration_plugin\tomcatIntegration.zip file. Open that file, and copy tomcatIntegration.jar to the plugins folder -- 4.0.x intergration works fine.

0
Comment actions Permalink

Martin

Can you describe the steps you took to get Tomcat 4.1.12 running? I
included the two jar files in my classpath however I encountered and
error when I run the application. The error is displayed below

Which IDEA build are you using?


Thanks in advance

Michael Mok


D:/devtools/jdk1.4\bin\javaw.exe
-Djava.endorsed.dirs=D:\devtools\jakarta-tomcat-4.1.12\bin;D:\devtools\jakarta-tomcat-4.1.12\common\lib
-Dcatalina.base=D:\devtools\ideas\system\tomcat_struts-example_85d3ab0
-Dcatalina.home=D:\devtools\jakarta-tomcat-4.1.12
-Djava.io.tmpdir=D:\devtools\jakarta-tomcat-4.1.12\temp -classpath
D:\devtools\jdk1.4\lib\tools.jar;D:\devtools\jakarta-tomcat-4.1.12\bin\bootstrap.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\activation.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\ant.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\commons-collections.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\commons-dbcp.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\commons-logging-api.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\commons-pool.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\jasper-compiler.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\jasper-runtime.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\jdbc2_0-stdext.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\jndi.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\jta.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\mail.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\naming-common.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\naming-factory.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\nam
ing-resources.jar;D:\devtools\jakarta-tomcat-4.1.12\common\lib\servlet.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\catalina-ant.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\catalina.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\commons-beanutils.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\commons-digester.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\commons-logging.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\commons-modeler.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\jaas.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\jakarta-regexp-1.2.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\mx4j-jmx.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\servlets-common.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\servlets-default.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\servlets-invoker.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\servlets-manager.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\servlets-webdav.jar;D:\devtools\jakarta-tomc
at-4.1.12\server\lib\tomcat-coyote.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\tomcat-http11.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\tomcat-jk.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\tomcat-jk2.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\tomcat-util.jar;D:\devtools\jakarta-tomcat-4.1.12\server\lib\tomcat-warp.jar
org.apache.catalina.startup.Bootstrap start
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:329)
at
org.apache.commons.logging.LogFactory.getCachedFactory(LogFactory.java:502)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:264)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:401)
at org.apache.commons.digester.Digester.]]>(Digester.java:345)
at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:280)
at org.apache.catalina.startup.Catalina.start(Catalina.java:441)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Process terminated with exit code 0



Martin Husted Hartvig wrote:

I just set mine up with Tomcat 4.1.12, I found a good hint in this:

http://www.intellij.net/forums/thread.jsp?forum=18&thread=12411&message=255871&q=546f6d63617420363537#255871

Had to take the two jar in $CATALINA_HOME$\common\endorsed in my project classpath.


Regards,
Marti




0
Comment actions Permalink

However, bear in mind that the integration supports only Tomcat 4.0.x

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Thomas Plunkett" <thomas_plunkett@yahoo.com> wrote in message
news:8326475.1034260732304.JavaMail.jrun@is.intellij.net...

You need to add the tomcat integration jar to the plugins folder.

>

The jar is located in the

{$IDEA_HOME}\tomcatIntegration_plugin\tomcatIntegration.zip file. Open that
file, and copy tomcatIntegration.jar to the plugins folder -- 4.0.x
intergration works fine.
>
>


0
Comment actions Permalink

Why is this step necessary? Shouldn't the installer extract the Tomcat plugin? Everything else in IDEA gets set up nicely, but this is awkward.

0
Comment actions Permalink

Well, this is discussable. The plugin is just a reference implementation of
the web server integration OpenAPI. Thus it is optional.
That's why it is not "preinstalled"

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"

"Juergen Hoeller" <juergen.hoeller@werk3.at> wrote in message
news:3287249.1035272516807.JavaMail.jrun@is.intellij.net...

Why is this step necessary? Shouldn't the installer extract the Tomcat

plugin? Everything else in IDEA gets set up nicely, but this is awkward.


0

Please sign in to leave a comment.