-
1. Re: Problem with initial JBoss run/test
jmatt May 12, 2003 1:52 PM (in response to carmoncolvin)>
> On a machine with a freash install of Win 2000 and
> Sun JDK (j2sdkee-1_3_1-win) I have installed JBoss
> 3.2.1 with Tomcat (extraced to c:\jboss\).
you don't need the enterprise edition of the j2se just the plain old one(standard edition).
>
> Following the QuickStart directions I have run the
> c:\jboss\bin\run.bat file. That fills the command
> window with a few hundred lines of output ending with
>
> 13:42:43,482 INFO [Server] JBoss (MX MicroKernel)
> [3.2.1 (build: CVSTag=JBoss_3_2_1 date=200305041533)]
> Started in 54s:959ms
>
> So I assume everything is working correctly except
> that the batch file never releases the command window
> (Is this normal?).
this is normal, you have to hit Ctrl-c to kill the console
>
> I then hit the URL given in the QuickStart.pdf to
> test the install.
> http://localhost:8080/jmx-console/
> This fills the console window with a few hundred more
> lines of output with a bunch of it looking like
> this:
>
> 13:54:44,069 ERROR [STDERR] at
> org.apache.catalina.core.StandardPipeline$StandardPipe
> ineValveContext.invokeNext(StandardPipeline.java:643)
> 13:54:44,079 ERROR [STDERR] at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke
> ErrorDispatcherValve.java:171)
> 13:54:44,079 ERROR [STDERR] at
> org.apache.catalina.core.StandardPipeline$StandardPipe
> ineValveContext.invokeNext(StandardPipeline.java:641)
>
> And the browser never seems to pull anything up.
> After a reload in the browser I get an error page:
>
> HTTP Status 500 -
> type Exception report
> message
> description The server encountered an internal error
> () that prevented it from fulfilling this request.
> exception
> org.apache.jasper.JasperException: 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
>
> at
> org.apache.jasper.compiler.DefaultErrorHandler.javacEr
> or(DefaultErrorHandler.java:130
> [removed... a bunch of location description]
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunna
> le.run(ThreadPool.java:619)
> at java.lang.Thread.run(Unknown Source)
>
>
> Any idea what I have done wrong?
Have you set your JAVA_HOME to point to where you installed the j2se? I think it cannot find the tools. If not download the j2se from here http://java.sun.com/j2se/1.4.1/download.html and set your JAVA_HOME appropriately.
HTH
Matt -
2. Re: Problem with initial JBoss run/test
carmoncolvin May 13, 2003 8:36 PM (in response to carmoncolvin)jmatt,
Thanks for your help. I re-installed the proper JDK and modified the run.conf file to point to the root directory and now I am able to load the /JMX-console/index.jsp page.
Now it seems to be working I have a few of more questions. I hope they will be answered in the documentation but here they are.
How do I change the setup so it starts using port 80 so I can drop the :8080 at the end of the domain name in the URL?
Where do I put the .jsp files I develop? I searched for the /JMX-console/ directory in hopes that would lead me to the "wwwroot" but a search turned up two /JMX-console/ directories.
Thanks. -
3. Re: Problem with initial JBoss run/test
jmatt May 15, 2003 8:37 AM (in response to carmoncolvin)> jmatt,
> Thanks for your help. I re-installed the proper
> per JDK and modified the run.conf file to point to
> the root directory and now I am able to load the
> /JMX-console/index.jsp page.
> Now it seems to be working I have a few of more
> ore questions. I hope they will be answered in the
> documentation but here they are.
>
> How do I change the setup so it starts using port
> ort 80 so I can drop the :8080 at the end of the
> domain name in the URL?
>
> Where do I put the .jsp files I develop? I
> I searched for the /JMX-console/ directory in hopes
> that would lead me to the "wwwroot" but a search
> turned up two /JMX-console/ directories.
>
> Thanks.
>
You can deploy standard .war files. The structure of a war file is pretty standard. /deploy is where they go as well as everythiing else you want to deploy. Look into jboss-web.xml and the other .xml files that are jboss specific. If you are looking for an example checkout nukes. The installer is a standard web app. And the nukes project contains all of the standard deployment types, these can be used for examples. see http://www.jboss.org/index.html?module=html&op=userdisplay&id=developers/projects/nukes/index for more info
tx
Matt