4 Replies Latest reply on Jan 16, 2004 5:53 PM by oscar1

    Can´t access Jboss when started through Eclipse

    oscar1

      Hi,

      I am new to JBoss and have played around with it for a couple of days now..(I like it alot :)

      However I am having no problem using JBoss when I start the server manually (with the run script)...

      ..but when trying to DEBUG from within Eclipse I get an HTTP 500 (Internal error..)

      org.apache.jasper.JasperException: Unable to compile class for JSP

      I am suspecting that the system variables that points to JAVA_HOME (the compiler) somehow is getting srewd up when launching through Eclipse...

      Anyone got an idea where I fix this?

      Regards
      Oscar

        • 1. Re: Can´t access Jboss when started through Eclipse
          darranl

          when trying to DEBUG from within Eclipse - I asume that you mean that you are starting JBoss using JBoss-IDE.

          Is JBoss being started using a JRE or SDK, it must be started using a SDK otherwise it will not be possible to compile the jsp pages.

          • 2. Re: Can´t access Jboss when started through Eclipse
            oscar1

            You are correct! I am using the JBoss-IDE.

            It sounds reasonable that I need a compiler in order to compile :-)

            I have tried to change the configuration of the startup of JBoss to use the SDK...but to no luck.

            How can I accomplish this?

            Do I need to provide command line argument to JBoss when launching from within JBoss-IDE (that shows where to find a compiler)?

            /

            • 3. Re: Can´t access Jboss when started through Eclipse

              Make sure that your Eclipse is running on SDK and not on JRE.

              Go to Windows -> Preferences -> Java -> Installed JREs.

              • 4. Re: Can´t access Jboss when started through Eclipse
                oscar1

                Hmm...
                I was afraid that someone was going to say that (since that was the first thing I tried...)

                I am still having the orginal problem...

                When I look att eclipse and pointing to my Java SDK directory the environment recursivley looks for JRE:s and reference those...I can´t see that the acutal complier is being used though (/bin) directory...

                Am I being clueless here or what??

                /