Running Jboss examples

Hi,
I've successfully installed jboss and ant.
I've downloaded and unpacked the examples.
Anyways when I tried to execute the Interest example by typing the ant command intro-interest-jar I had this problem:
Buildfile: build.xml
validate-servlet:
validate-jboss:
fail_if_not_valid:
init:
[echo] Using JBoss directory=/export/dbms/pub/cervel/JBoss-2.4.3
[echo] Using base
classpath=/export/dbms/pub/cervel/JBoss-2.4.3/client/jboss-j2ee.jar:/export/dbms/pub/cervel/JBoss-2.4.3/client/jaas.jar:/export/dbms/pub/cervel/JBoss-2.4.3/client/jbosssx-client.jar:/export/dbms/pub/cervel/JBoss-2.4.3/client/jboss-client.jar:/export/dbms/pub/cervel/JBoss-2.4.3/client/jnp-client.jar:/export/dbms/pub/cervel/examples/COULD_NOT_FIND_SERVLET_JAR
[echo] Using Source directory=/export/dbms/pub/cervel/examples
[echo] Using Build directory=/export/dbms/pub/cervel/examples/build-examples
intro-interest-jar:
compile:
[javac] Compiling 1 source file to /export/dbms/pub/cervel/examples/build-examples/interest/classes
[javac] /export/dbms/pub/cervel/examples/org/jboss/docs/interest/InterestClient.java:4: Class javax.rmi.PortableRemoteObject not found in import.
[javac] import javax.rmi.PortableRemoteObject;
[javac] ^
[javac] 1 error
BUILD FAILED
/export/dbms/pub/cervel/examples/org/jboss/docs/interest/build.xml:17: Compile failed, messages should have been provided.
Total time: 3 seconds
I have the jdk 1.3.0 installed and I tested the existance of the javax.rmi.PortableRemoteObject with a simple class (had no compiling problems)
Can someone help me out?
Thanks in advance

point the 'servlet.jar' to right place.
Like in my situation:
<target name="validate-servlet">
<!-- Override with your web server servlet jar location.
The default assumes that JBOSS_DIST points to a
JBoss/Tomcat bundle distribution
-->
<!--
<available property="servlet.jar" value="${env.JBOSS_DIST}/../tomcat/lib/servlet.jar" file="${env.JBOSS_DIST}/../tomcat/lib/servlet.jar"/>
-->
<available property="servlet.jar" value="${env.JBOSS_DIST}/server/tomcat41/deploy/jbossweb-tomcat41.sar/servlet.jar" file="${env.JBOSS_DIST}/server/tomcat41/deploy/jbossweb-tomcat41.sar/servlet.jar"/>
<available property="servlet.jar" value="${env.JBOSS_DIST}/../jetty/lib/javax.servlet.jar" file="${env.JBOSS_DIST}/../jetty/lib/javax.servlet.jar"/>
<available property="servlet.jar" value="${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar" file="${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar"/>
<available property="servlet.jar" value="${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar" file="${env.TOMCAT_HOME}/lib/servlet.jar"/>
<property name="servlet.jar" value="COULD_NOT_FIND_SERVLET_JAR"/>
<path id="base.path_22">
<pathelement location="${jboss.dist}/client/ejb.jar"/>
<pathelement location="${jboss.dist}/client/jaas.jar"/>
<pathelement location="${jboss.dist}/client/jbosssx-client.jar"/>
<pathelement location="${jboss.dist}/client/jboss-client.jar"/>
<pathelement location="${jboss.dist}/client/jnp-client.jar"/>
<pathelement location="${servlet.jar}"/>
</path>
<!-- commented out oroginal
<path id="base.path_24">
<pathelement location="${jboss.dist}/client/jboss-j2ee.jar"/>
<pathelement location="${jboss.dist}/client/jaas.jar"/>
<pathelement location="${jboss.dist}/client/jbosssx-client.jar"/>
<pathelement location="${jboss.dist}/client/jboss-client.jar"/>
<pathelement location="${jboss.dist}/client/jnp-client.jar"/>
<pathelement location="${servlet.jar}"/>
</path>
-->
<path id="base.path_325">
<pathelement location="${jboss.dist}/client/jboss-j2ee.jar"/>
<pathelement location="${jboss.dist}/client/jboss-jaas.jar"/>
<pathelement location="${jboss.dist}/client/jbosssx-client.jar"/>
     <pathelement location="${jboss.dist}/client/jboss-client.jar"/>
     <pathelement location="${jboss.dist}/client/jnp-client.jar"/>
     <pathelement location="${jboss.dist}/client/jbossall-client.jar"/>
     <pathelement location="${jboss.dist}/client/log4j.jar"/>
     <pathelement location="${servlet.jar}"/>
</path>
So, that's all you need to change for the build.xml in examples/build/ directory.
And in the build.xml in the ''org/jboss/docs/interest" directory, you need to change the 'deploy' directory as well if you're using JBoss3.x, i.e., use: ${JBOSS_DIST}/server/default/deploy not ${JBOSS_DIST}/deploy
Last thing you need to change later, in the 'org/jboss/docs/interest/InterestClient.java' source code, you want to add such import:
import javax.naming.Context;
Then after these change, you should be able to run in this order in the examples/build/ directory:
ant intro-interest-jar
ant intro-interest-deploy
ant intr-interest-client
I got this solution by googling a lot. Hope you enjoy it.
X.Chen

Similar Messages

  • How do i use home.html in the first Jboss example

    how do i use home.html in the first Jboss example? i got the example to work through the command line method. i also got the CD example to work.
    the documentation does not tell you how to use the home.html file. the file suggests that i can call the servlet because it has this line:
    <form action="InterestServlet" method="POST" >
    from my knowledge of servlets, i should be able to put the home.html file in the same directory that the servlet is in, and as long as a web browser can access it in that location, then this should work... right?
    can someone tell me specifically what they did to get it to work? i CANNOT FIGURE OUT what the servlet URL is. my first guess would be http://localhost/servlets/InterestServlet . This doesnt work. Does anyone understand where i am coming from??
    I am using ANT, and the normal install of the latest JBoss. i do not have a web server running because the JBoss server says in the console "[INFO,WebService] Starting
    [INFO,WebService] Started webserver with address: null port: 8083
    [INFO,WebService] Codebase set to: http://thor:8083/
    [INFO,WebService] Started" and so i assume there is a web service there?????

    ADDENDUM:
    i still cant figure out my servlet question, so please help, if you can.
    i just figured out that i need to download the JBoss Tomcat/Catalina server. I got it running except that the Catalina web server only is working when i run it standalone, and i cant figure out why. It keeps throwing this exception:
    [INFO,EmbeddedCatalinaServiceSX] StandardHost[localhost]: MAPPING configuration error for request URI
    [ERROR,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] process.invoke
    java.lang.NullPointerException
    at org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.java:280)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Unknown Source)

  • Can it be easier when running  simple examples in jmstutor

    Hi, I'm a new user of java. when I tried to use Simple examples in jms_tutorials, such as SimpleQueueSender.java, I found I had to type a long command:
    java -Djms.properites=%J2EE_HOME%\config\jms_client.properties SimpleQueueSender MyQueue 3
    It seems a little inconvienent.
    Can I first set the properties, then run the programe?
    How?
    Thanks a lot!

    You could put the command in a script and run it that way. But you do need to pass that -D option to the java command at J2EE 1.3.1.
    You could move to J2EE 1.4 Beta and use the J2EE Tutorial Addendum, which simplifies running the examples by providing Ant build scripts.
    Kim Haase
    Technical Writer
    Sun Microsystems, Inc.

  • Is anyone know how to run the examples in 3d user interfaces with java 3d

    hi dear ,
    I am trying to run the examples in 3d user interfaces with java 3d.
    I hope i can load the library in jcreator. but the libarary for this book are classes files , it do not have jar file for it . the jcreator do not read these classes . i do not know why ? i am wonder if there any one run these code before can give me some idear .
    thanks so much .
    the code u can get from this link.
    http://www.manning.com/books/barrilleaux/source
    thank you for u to have a look for me .
    regards
    xiaocui

    <h2>{color:red}CROSS POSTED{color}</h2>
    [t-5289810]
    Cross posting is rude.
    db

  • Running VC example applications

    I'm trying to learn VC with the examples provided by VC Modeling Resource Center (Visual Composer Modeling Resource Center [original link is broken]).
    I downloaded an example and it comes with two files (gml and sql). I tried to follow the tutorial "How to run VC applications" (https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60e62459-7975-2910-64a2-8a61b0c83208) but on beggining of tutorial says about SQL Server Enterprise Manager. Isn't that a Microsoft apllication ? I dont have that software because my server is Unix. So the begging of that tutorial don't work for me.
    Can anyone help me please ?
    Thanks

    Hi Vitor,
    I'm afraid you need an SQL DB in order to run this example.
    You can find good examples for learning Visual Composer (using R3 or BI systems) in the Modeler's guide - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/63f2052e-0c01-0010-b9a2-e1f7457a7fbe - in the "Go and Create" chapter.
    Good Luck,
    Dafna

  • Trying to run the example "rf record and playback reference application"

    http://zone.ni.com/devzone/cda/epd/p/id/5894   trying to run this example but a lot of files are not being found.  I'm using Labview 8.5 with version 4 of the sound and vibration toolkit.  I suspect the problem is the old toolkit version.  Can someone confirm? Can't find any info on upgrading to toolkit so I suppose it would mean a new purchase?  thanks

    Hello Mike,
    This example is designed for our RF Hardware platform.  You need the RFSG driver, RFSA driver, Spectral Measurements Toolkit, Modulation Toolkit, and the advanced signal processing toolkit for the example to run.  You should be able to see this under the software requirements at the bottom of the page.  The two drivers should be available for download on our website, but the toolkits must be purchased and they aren't generally available with the dev suite.
    I hope this helps,
    Paul C
    Message Edited by Paul C. on 03-11-2010 12:28 PM

  • Running insurance example error !

    Running insurance example error !
    I used Oracle9i, ifs9, windows2000.
    I already complied *.java, and place them in cusstom_class directory.
    Place *.jsp in ifs/jsp-bin directory
    Upload *.xml to ifs server.
    But when i open browser with URI:/ifs/files/ifs/jsp-bin/login.jsp, it's error:
    JSP Error:
    Request URI:/ifs/files/ifs/jsp-bin/login.jsp
    Exception:
    oracle.jsp.parse.JspParseException: Line # 6,
    Error: Unable to find class for bean: inslogin defined by tag with class: oracle.ifs.examples.jspapps.insurance.InsuranceLogin
         at oracle.jsp.parse.OpenJspTagHandler.defineBeans(OpenJspTagHandler.java, Compiled Code)
         at oracle.jsp.parse.OpenJspTagHandler.validateTagAttributes(OpenJspTagHandler.java, Compiled Code)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java, Compiled Code)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java)
         at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java, Compiled Code)
         at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java, Compiled Code)
         at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java)
         at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java)
         at oracle.jsp.app.JspAppLoader.loadPage(JspAppLoader.java)
         at oracle.jsp.app.JspAppLoader.getPage(JspAppLoader.java)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
         at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code)
         at oracle.ifs.protocols.dav.impl.IfsDavServlet.processJsp(IfsDavServlet.java:2591)
         at oracle.ifs.protocols.dav.impl.IfsDavServlet.doGet(IfsDavServlet.java:855)
         at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java, Compiled Code)
         at oracle.ifs.protocols.dav.DavServlet.service(DavServlet.java:2177)
         at oracle.ifs.protocols.dav.impl.IfsDavServlet.service(IfsDavServlet.java:497)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
         at org.apache.jserv.JServConnection.run(JServConnection.java:188)
         at java.lang.Thread.run(Thread.java:479)
    Someone help me!
    Thanks alot.

    It may your CLASSPATH environment variable - what that is saying is it can't find a referenced class. You'll need to make sure that all required classes are made. I'd opt for using a java ide for developing as it handles all that stuff for you.

  • Running weblogic examples and Jms configuration

    I am new to JMS. I configured the JMS server using the weblogic console page and i created JMS server under Services. I am having only one server. I am starting the console using http://localhost:7001/
              Now i want to run the examples of weblogic (QueueSend.java and QueueReceive.java).
              What are the changes i have to do in the given java files and how to run the examples.
              Please give the steps to configure JMS server and run the example and what are the parameters i have to pass to these file?
              Thank you

    Hello,
              I am having problem with WL. I use version 8.1 with multiple server.
              The Admin server works fine, but when I try to start other servers, I am getting the following errors.
              Aug 23, 2005 2:48:16 PM EDT> <Error> <NodeManager@*.*:5555> <SocketInputHandler: Command read failed 'Read channel closed.' on socket /127.0.0.1>
              <Aug 23, 2005 2:48:16 PM EDT> <Error> <NodeManager@*.*:5555> <Failed to write to socket Read channel closed., to /127.0.0.1>
              <Aug 23, 2005 2:48:16 PM EDT> <Error> <NodeManager@*.*:5555> <Failed to write to socket Write Channel Closed, possible SSL handshaking or trust failure, to /127.0.0.1>
              <Aug 23, 2005 2:48:20 PM EDT> <Info> <NodeManager@*.*:5555> <Starting Server devDomain::buyerserver1 ...>
              <Aug 23, 2005 2:48:21 PM EDT> <Info> <NodeManager@*.*:5555> <Server devDomain::buyerserver1 started, process id = 4,068>
              <Aug 23, 2005 2:49:33 PM EDT> <Info> <NodeManager@*.*:5555> <__COMMAND_DONE__>
              Can someone please help?
              Thank you.

  • Problem running your example with TCL in TestStand 2.0

    I`m having problems trying to run your example: "Calling TCL Scripts from TestStand 1.0.x". I use TestStand 2.0. In fact, I don`t see any response when running first step in a sequence. Could it be issues related to the TestStand version.

    The example should work in TestStand 2.0.x, since other users have reported that they have successfully done so and nothing has changed in TestStand 2.0.x that would affect its execution.
    In order to get the example to work you will need to have the TCL interpreter installed correctly so that the dll being used in the example can invoke it. If you can programmatically control the interpreter with any other code module as this dll does then this example should work as well. However, if you cannot do this in any way on your system then it is safe to say that nothing will work including the example. Verify that the TCL interpreter will work in this fashion per the vendor's instructions and then try the example again. If you are receiving errors from TestStand
    when executing the sequence let us know about those and we may be able to help you more directly.
    Jason F.
    Applications Engineer
    National Instruments
    www.ni.com/ask

  • Trying to run an example

    Hello guys
    i am reading the good tutorials about of Technical Articles and Tips of j2me
    i have a problem ,well i am in linux with j2me toolkit 2.2 and use the jvm or jdk 1.5 update 1
    and trying to run the example with servlets to send an email
    http://developers.sun.com/techtopics/mobility/midp/articles/socketRMI/
    well this example consist in 3 java files how is evident
    a EmailMidlet.java,EmailSender.java,EmailServlet.java
    well i put EmailMidlet.java in the src (folder apps toolkit) of an project to execute the example
    the rest of both java files go to an independent project or folder in tomcat (5.5.9)
    (the web.xml and classes is fine) coz i execute other examples of the same style (that needs localhost or tomcat)
    well i change of course the line of the url to my localhost
    and when i try to send the email appear this message in my visual console in the toolkit
    (is not the unique case related with servlets and email, coz there is an another example of this style that
    throw this message) and the application,
    Project settings saved
    Building "SUN02"
    Build complete
    Running with storage root DefaultColorPhone
    Warning: To avoid potential deadlock, operations that may block, such as
    networking, should be performed in a different thread than the
    commandAction() handler.
    and of course the application deadlock
    how i can fix the code?
    p.d:i only change the line of the url
    thanks a lot for your time

    Hi,
    What are u exactly using? The PLSQL front-end or the Java front-end? How are u seeing this cut off? Is it in SQLPlus or ur own application?
    thanks
    Murali

  • How can I run the examples?

    I need make any test about WebLogic, I have WebLogic Server in Solaris 2.6.
    Thanks in advancing.

    Well,
    I do not know about Solaris, but for the Windows you have a pritty good explanation
    HTML-files for each example.
    So if you want to run for example the WebServices-example, you will look for the
    HTML-File under C:\bea\samples\examples\webservices\rpc Folder.
    I guess it is very the same on Solaris
    good luck
    naz

  • Error in running LV2013 example for 6023

    Hi all,
       I have PCI6023E card installed in the system where LV2013 was installed also. I am running the example by "Find Example" to test "Counter Continuous Output.vi", the description of the example said that it supports PCI6023E but when I run it, it shows the following error
    Error -89136 occurred at DAQmx Start Task.vi:7220001
    Possible reason(s):
    Specified route cannot be satisfied, because the hardware does not support it.
    Property: CO.Pulse.Term
    Destination Device: Dev1
    Destination Terminal: PFI0
    Task Name: _unnamedTask<7>

    Hi dragondiver,
    Your E Series DAQ's counter outputs can only be routed to certain PFI lines.  You can check the routing table in NI-MAX: when you are looking at your device, click the "Device Routes" tab at the bottom and it will show you which inputs work with which outputs.  I think what's going on is that you are trying to route the counter to a PFI line that doesn't work.
    Looking at the table, I see that counter 0 works with PFI3 and 4.  If you try to route it to 0, 1, or 2, you will get the error you're seeing.
    Does this resolve the issue?
    Julian R.
    Applications Engineer
    National Instruments

  • Run CANopen example, show error 5378, how to solve

    The software platform: Labview8.5
    The hardware platform: NI-CANopen Series 2, 9PIN
    Running the canopen.llb, ApplicationExample.vi program
    CAN0, =500K, NodeID=10 baud rate, SDOobjects=1400/1800,sub-index=02, data=255
    Run CANopen example change procedures, ERROR error 5378
    This error happens sometimes, but sometimes not, what is thecause? How to solve?
    [insert a picture, please see the attachment, looking forward tomaster answer, O (∩ ∩ O thank you _)]
    Attachments:
    canopen.llb ‏417 KB
    11.JPG ‏27 KB

    Hi,
    according to this KB you are trying to open 2 SDOs at the time. Could it be?
    Kind regards 
    Heinz

  • Run the example of ejb tutorial ...

    When I run the example of "Enterprise JavaBeansTM Tutorial:
    Building Your First Stateless Session Bean"--DemoClient,(Weblogic server 6.0,
    win 2000) ,I met a probelm.
    Following is the error information:
    C:\bea\wlserver6.0\CLASSES>java -Djava.naming.factory.initial=weblogic.jndi.Teng
    ahInitialContextFactory -Djava.naming.provider.url=t3://localhost:7001 ejb.demo.
    DemoClient
    begin DemoClient...
    => Error <=
    javax.naming.NoInitialContextException: Cannot instantiate class: weglogic.jndi.
    T3InitialContextFactory. Root exception is java.lang.ClassNotFoundException: we
    glogic.jndi.T3InitialContextFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:195)
    at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
    a:45)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    55)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at ejb.demo.DemoClient.getInitialContext(DemoClient.java:58)
    at ejb.demo.DemoClient.main(DemoClient.java:15)
    End DemoClient...
    Any guidance will be appreciated!
    Thanks, Yu

    I managed to fix my problem, hopefully thissolution
    will help you as well.
    I discovered that the following entries arerequired
    in the jndi.properties file in order to lookupEJB's
    using JNDI from a client application:
    java.naming.factory.initial=com.sun.jndi.cosnaming.CNCt
    Factory
    java.naming.provider.url=iiop://localhost:1050
    Note that my environment uses the j2ee server fromSUN
    running on the localhost on port 1050.
    If you can locate the proper settings for theweblogic
    server, then you can try this solution on for size.
    One quick question: When I try to run my client
    against the Ref. Implementation like this:
    java -Dorg.omg.CORBA.ORBInitialHost=localhost
    -Dorg.omg.CORBA.ORBInitialPort=1050
    -Djava.naming.factory.initial=com.sun.jndi.cosnaming.CN
    txFactory
    -Djava.naming.provider.url=iiop://localhost:1050
    com.sld.role.ValidationClient
    I get the following error:
    javax.naming.NamingException: java:comp/env namespace
    is only available from within a J2EE component.
    This stinks. All I can find out is that Sun wants you
    to use runclient, which is silly. My client is trying
    to resolve the JNDI name:
    "java:comp/env/ejb/ValidationSessionBean"
    Any idea why this isn't working?
    Thanks....
    -ScottGot it working. Here's how:
    In the client's CLASSPATH I have three things: j2ee.jar, the client jar file generated by the server during deployment, and my client class files. I took out all of the -D stuff above and it still works. (With or without it.) I haven't tried it from another machine yet - I may need them for that.
    The client uses the JNDI name "ValidationSessionBean", not "java:comp/env/ejb/ValidationSessionBean" and it now can bind to it.
    I wish Sun would have given out this kind of info with their J2EE tutorial, instead of just pushing their runclient script, which uses their own client class.
    -Scott

  • Can't run JBoss

    Hi,
    Sorry to post this...it doesn't have anything to do with Java programming. But I about to pull my hair out!
    Trying to run Jboss. Had it up and running then I added some environment variables to my classpath...which caused JBoss to stop running do I removed the variables and Jboss still wont run:
    this is the error message I get:
    C:\j2ee\jboss\bin>run
    Could not locate C:\JDK\BIN;C:\SSH;C:\JDK\lib\tools.jar. Unexpected results may
    occur.
    Make sure that JAVA_HOME points to a JDK and not a JRE.
    Syntax error
    I cant figure out what is causing this? Any ideas would be greatly appreciated.
    thank you

    Hi,
    Sorry to post this...it doesn't have anything to do
    with Java programming. But I about to pull my hair
    out!
    Trying to run Jboss. Had it up and running then I
    added some environment variables to my
    classpath...which caused JBoss to stop running do I
    removed the variables and Jboss still wont run:
    this is the error message I get:
    C:\j2ee\jboss\bin>run
    Could not locate
    C:\JDK\BIN;C:\SSH;C:\JDK\lib\tools.jar. Unexpected
    results may
    occur.
    Make sure that JAVA_HOME points to a JDK and not a
    JRE.
    Syntax error
    I cant figure out what is causing this? Any ideas
    would be greatly appreciated.
    thank you
    The answer is in the error message. You need to set JAVA_HOME, and that it points to a JDK not a JRE, because JBoss uses JSPs, which get compiled to servlets, which means it needs to find the java compiler classes, which are found at JAVA_HOME for a JDK. Phew. I guess the unexpected results they're hinting at are that your JSPs ( and probably some other things ) will just not work.

Maybe you are looking for

  • When is global context memory freed?

    Hi: I've got a package that I call for each user on logon that gets their unique ID and then sets values particular to that user in a global context after setting the CLIENT_IDENTIFIER for the session. I'm basically using the "One Big App User" appro

  • I have a 27" iMac and want to play Windows games with optimal performance.  what do I need to do?

    I have a 27" iMac and want to play Windows games with optimal performance.  What do I need to do?

  • GameLoft..... and iOS 5

    I've recently purchased their game called Asphalt 6 for my iPod Touch 4th Gen. I've updated my iPod to iOS 5 and game has been working until at the career percentage of 45%. Game has been shutting down and it won't work anymore. I think I've wasted $

  • Install Best Practices- Baseline Package for ECC 6.0 EHP4

    Hi All, I know its not the right forum to post this message, but posting here as i didnt get the info from the related forum, apologies for that. Now we are planning to install SAP Best practices-Baseline Packages for ECC-EHP4 in our new server. Can

  • HOMEWORK

    Write a PL/SQL block that takes the highest department id from departments and puts it in iSQL *PLUS variabel... write out the result.