Running A Jakarta-Stuts Example

Hello,
Im working on a course work about jakarta struts & I dowloaded an example program from a site, but I can not run it as it always gives me the same error(below). I also tried to run one simple one that I created my self, but still doesn't work giving me the same error. The engine Im using is Tomcat 4.0.6, If you have any Ideas of why this happens, please let me know. THANK U.
//typeException report
//message
Internal Server Error
//description
The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception javax.servlet.ServletException
     at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
     at org.apache.jsp.welcome$jsp._jspService(welcome$jsp.java:87)     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
//root cause java.lang.NoClassDefFoundError
     at org.apache.jsp.welcome$jsp._jspService(welcome$jsp.java:59)     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
....

If I remeber right, you need to do 2 things to run the struts example.
1. Put the .war archive in the webapps folder of Tomcat. (When you start tomcat the server will expand the web app)
2. (this sounds like where you are having issues) make sure that Struts.Jar is available to Tomcat. There are a couple of different places you can put it. If you place it in tomcathome/common/lib/ it will be available to to all webapps.
Try those 2 things, make sure you restart Tomcat. Below is a installation tutorial if you are still stuck. Good Luck!
http://digipub.fhnon.de:8080/digipub/view/transform/DeliverFile.jsp?file=0000_book.struts_21469.pdf

Similar Messages

  • How to run the parameter form example report :pform_report.jsp

    how to run the parameter form example report : pform_report.jsp ?
    I got these error message:
    Reports Error Page
    Sat Oct 18 11:58:24 CST 2003
    javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/�� ' PI with the name 'xml' can occur only in the beginning of the document.'.
    javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/��
    PI with the name 'xml' can occur only in the beginning of the document.'.
         at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:180)
         at examples.tools._pform__report._jspService(_pform__report.java:79)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:66)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:539)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:285)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:771)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:796)
         at java.lang.Thread.run(Thread.java:484)

    repost !
    please help!

  • Running the NI 8253eventcount example on CVI 8.5

    Dear friends,
    I am trying to run the NI 8253eventcount example (
    http://zone.ni.com/devzone/cda/epd/p/id/512 ) on Windows XP system, provided
    with LABWindows /CVI 8.5 (evalution) and NI-DAQ 8.7.1 driver, and with NI
    PCI-6601 counter/timer device. The project is unable to be compiled, with the
    following error "The include file "dataacq.h" was not
    found." I tried to run the NI-DAQ driver setup and to ensure that CVI
    support is enabled, but no effect. What other shall I try in order to use the
    example?
    Best reagards,
    Kamen Ivanov

    Hi THE_SNAKE,
    It is good that you already made sure the CVI support was enable when installing the DAQ drivers. Have you tried using the Counter examples under \Program Files\National Instruments\CVI8X\samples\DAQmx\Counter? Are you getting the same error when running these examples? Also, I would suggest making sure that the card is installed properly. You can do that going to Measurement & Automation Explorer > Configuration > My system > Devices and Interfaces > NI-DAQmx Devices. The PCI-6601 should be showing there and you can do a right click and select Self Test. You can also select Test Panels and use them to verify that your card is working properly. I hope this is helpful,
    Ana P
    National Instruments
    Applications Engineer

  • Running IFS 1.2 examples on NT

    I`m using IFS1.2 , installed on Solaris8 , and trying to run the examples . In readme.html specified to run the GlobalSetup.java. I have copied all 9ifs/lib and 9ifs/settings and ( at least i think ) files and included them in classpath .. So everything get compiled but then i`m trying to run it i have this output
    oracle.ifs.common.IfsException:oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
    oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)
    java.util.MissingResourceException: Can't find resource for base name oracle.ifs.server.properties.IfsDefault, locale en_US
    oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
    oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)
    java.util.MissingResourceException: Can't find resource for base name oracle.ifs.server.properties.IfsDefault, locale en_US
    java.lang.Class java.net.URLClassLoader.findClass(java.lang.String)
    java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
    java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
    java.lang.Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
    java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)
    java.util.ResourceBundle java.util.ResourceBundle.findBundle(java.lang.String, java.lang.StringBuffer, java.lang.ClassLoader, boolean)
    java.util.ResourceBundle java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale, java.lang.ClassLoader)
    java.util.ResourceBundle java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale)
    void oracle.ifs.common.Localizer.<init>(java.util.Locale, oracle.ifs.beans.LibrarySession)
    void oracle.ifs.common.Localizer.<init>(java.util.Locale)
    void oracle.ifs.common.Localizer.<clinit>()
    java.lang.String oracle.ifs.common.IfsException.getLocalizedMessage(oracle.ifs.common.Localizer)
    java.lang.String oracle.ifs.common.IfsException.toLocalizedString(oracle.ifs.common.Localizer)
    java.lang.String oracle.ifs.common.IfsException.toLocalizedString(oracle.ifs.common.LibrarySessionInterface)
    void oracle.ifs.examples.api.utils.Logger.log(int, java.lang.String, java.lang.Throwable)
    void oracle.ifs.examples.api.utils.Logger.log(java.lang.Throwable)
    void oracle.ifs.examples.api.BaseSample.log(java.lang.Throwable)
    oracle.ifs.beans.LibraryService oracle.ifs.examples.api.BaseSample.startService()
    void oracle.ifs.examples.api.GlobalSetup.run()
    void oracle.ifs.examples.api.GlobalSetup.main(java.lang.String[])
    GlobalSetup could not establish a session; exiting
    I`m using JDeveloper 3.2
    Any Help ??

    i had i little succes when runned just this smallest peace of code :
    package oracle.ifs.examples.documentation.connection;
    import oracle.ifs.beans.LibraryService;
    import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.common.CleartextCredential;
    import oracle.ifs.common.IfsException;
    public class SimpleConnection
    public SimpleConnection ()
    throws IfsException
    * Connect to the Oracle 9iFS server. The arguments (args) are
    * IfsService, IfsServicePassword, UserName, UserPassword.
    public static void main (String[] args)
    // Use the IfsService and IfsServicePassword to start the service.
    try{
    LibraryService service = LibraryService.startService("IfsDefault", "ifssys");
    CleartextCredential cred = new CleartextCredential("system", "manager");
    LibrarySession ifsSession = service.connect(cred, null);
    System.out.println(ifsSession.getVersionString());
    // This is the place where you insert the part of the
    // program that actually does something.
    //Disconnect the session.
    ifsSession.disconnect();
    catch(IfsException e)
    System.out.println(e);
    And Received as answer 9.0.1.0.0 so the iFS is responding but on try to run the Global setup i`m still receiving some strange note
    GlobalSetup starting
    Unable to start service:
    java.lang.VerifyError:java.lang.VerifyError: oracle.ifs.server.S_LibrarySession
    java.lang.VerifyError: oracle.ifs.server.S_LibrarySession
    oracle.ifs.server.S_LibraryService oracle.ifs.server.S_LibraryService.startService(java.lang.String, java.lang.String, oracle.ifs.common.AttributeValue[])
    oracle.ifs.beans.LibraryService oracle.ifs.beans.LibraryService.startService(java.lang.String, java.lang.String, oracle.ifs.common.AttributeValue[])
    oracle.ifs.beans.LibraryService oracle.ifs.beans.LibraryService.startService(java.lang.String, java.lang.String)
    oracle.ifs.beans.LibraryService oracle.ifs.examples.api.BaseSample.startService()
    void oracle.ifs.examples.api.GlobalSetup.run()
    void oracle.ifs.examples.api.GlobalSetup.main(java.lang.String[])
    GlobalSetup could not establish a session; exiting
    So , did anybody have succses to run the GlobalSetup.java or not ??

  • Help me to run this simple RMI example

    When i m running this example in standalone pc it works but while running on to different pc it gives error though I m giving the IP address from client of server.. If anyone can help me out plz help.
    Code:
    ReceiveMessageInterface
    import java.rmi.*;
    public interface ReceiveMessageInterface extends Remote
    void receiveMessage(String x) throws RemoteException;
    Server code:
    import java.rmi.*;
    import java.rmi.registry.*;
    import java.rmi.server.*;
    import java.net.*;
    public class RmiServer extends java.rmi.server.UnicastRemoteObject
    implements ReceiveMessageInterface
    int thisPort;
    String thisAddress;
    Registry registry; // rmi registry for lookup the remote objects.
    // This method is called from the remote client by the RMI.
    // This is the implementation of the �ReceiveMessageInterface�.
    public void receiveMessage(String x) throws RemoteException
    System.out.println(x);
    public RmiServer() throws RemoteException
    try{
    // get the address of this host.
    thisAddress= (InetAddress.getLocalHost()).toString();
    catch(Exception e){
    throw new RemoteException("can't get inet address.");
    thisPort=3232; // this port(registry�s port)
    System.out.println("this address="+thisAddress+",port="+thisPort);
    try{
    // create the registry and bind the name and object.
    registry = LocateRegistry.createRegistry( thisPort );
    registry.rebind("rmiServer", this);
    catch(RemoteException e){
    throw e;
    static public void main(String args[])
    try{
    RmiServer s=new RmiServer();
    catch (Exception e) {
    e.printStackTrace();
    System.exit(1);
    Client code:
    import java.rmi.*;
    import java.rmi.registry.*;
    import java.net.*;
    public class RmiClient
    static public void main(String args[])
    ReceiveMessageInterface rmiServer;
    Registry registry;
    String serverAddress=args[0];
    String serverPort=args[1];
    String text=args[2];
    System.out.println("sending "+text+" to "+serverAddress+":"+serverPort);
    try{
    // get the �registry�
    registry=LocateRegistry.getRegistry(
    serverAddress,
    (new Integer(serverPort)).intValue()
    // look up the remote object
    rmiServer=
    (ReceiveMessageInterface)(registry.lookup("rmiServer"));
    // call the remote method
    rmiServer.receiveMessage(text);
    catch(RemoteException e){
    e.printStackTrace();
    catch(NotBoundException e){
    e.printStackTrace();
    }

    When we compile with rmic skeleton and stub get created then we hav to place stub at each client ???Your remote client applcation need only _Stub.class fiels.
    Is there way by which we can know how many clients are connected to the
    server and there IP address, can anyone give the code... I guess that you should use a RMI login/logout method to register/unregister your client connection information into a databse or a simple static Hashtable(Vector) object.

  • Problem running FrontPanel​States.vi example

    'm trying to run the example VI "FrontPanelStates.vi".  When I do, I get the following error message:
        Error 15 occurred at Open VI Reference in FrontPanelStates.vi
        LabVIEW:  Resource not found.
        =========================
        NI-488:  Serial poll byte queue overflow.
        An error occurred loading VI 'runvi.llb'.
        LabVIEW load error code 8: Could not load VI resource.
    I don't have 488 in the system.  Does this example use it in some fashion?
    I'm
    really trying to debug the procedure for loading a VI front panel into
    a subpanel, and be able to change the displayed data.  Could this
    problem be interfering with that?  Can anyone offer suggestions for
    this the "real" problem?
    Thanks for any help.
    Dennis Knight responded:
    You did not notice the Possible Reason(s) part? That means that the error code can have a couple of causes - depending on where it occurs. Since you are not using GPIB and are
    using LabVIEW, then the first reason would apply. When you ran it, did
    you pick a valid VI or did you try to select a different type of file
    such as an llb?
    I tried to load a vi from the same llb that contained FrontPanelStates.vi.
    Tom J

    Pick a VI that's not in an llb and see if that makes a difference.

  • Unsupported Version error when trying to run Web Services Tutorial example

    Hi there,
    I'm trying to run the first example from the Java Web Services Tutorial and get the following error when I type 'asant build' in my Command Window.
    Buildfile: build.xml
    BUILD FAILED
    java.lang.UnsupportedClassVersionError: com/sun/tools/ws/ant/WsImport (Unsupport
    ed major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
    assLoader2.java:76)
    When I do a java -version I see my version is Java 1.5, and I'm not sure why the build is still trying to use Java 1.4. I do not want to delete the 1.4 from my machine as it is used for something else.
    C:\jwstutorial20\examples\jaxws\helloservice>java -version
    java version "1.5.0_09"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
    Could you please help me with this problem?
    Thanks in advance.
    Azeem.

    Hi Azeem.
    Check out values specified for JAVA_HOME, PATH and CLASSPATH under environment variable. Was facing the same problem. Changed the values to point to jdk1.5 and it is working now.
    BTW.
    You don't have to uninstall jdk1.4.
    Cheers!!!

  • Error 229665 when run ContGen-IntClk.c (example file) pci 6229

    Dear All:
    I try to use pci 6229 to send analog signal by using the given example program, ContGen-IntClk.c, in DAQMX 8.3.
    I use Visual c++ 6 to compile it.
    After I run the exe file, monitor show error
    "DAQmx Error: Internal software Error occureed in MIG software.
    Status code: -229665"
    (Note: the result was the same, when I did with visual basic)
    How should I solve this problem?
    My computer has  operating system: Microsoft XP 2002, CPU p4. 
    Thank you,
    Thongchai Phairoh.

    Hey Thongchai,
    Thanks for contacting National Instruments.  This error is usually associated with Measurement and Automation Explorer having a problem with it's database and is usually fixed with a reinstall of the driver or repair of the driver.
    You could try a few things to attempt to resolve this issue. 
    Attempt to repair the driver from the Control Panle and highlighting National Instruments and click, Change\Remove and highlight NI-DAQmx and click the repair button.
    Reinstall the DAQmx 8.3 driver.
    Upgrade to either 8.3.1, or to the newest version 8.5
    Let me know if you are able to resolve this with any of these options.
    Regards,
    Kenn North
    Senior Product Manager - Search, Product Data
    http://ni.com/search

  • How to Run the MDK Sample Example Application in SAP NWDS

    Hi all,
    As i go through the MDK 2.5 i have physically under gone with all option that are included in
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eba3a7-0601-0010-b982-92f1fca3258a
    this site and imported the Example 1 Application in nwds, but when try to run it,this application asking to mention some main Class option .
    tell me which class should i mention to run the example1 application.
    so please help me out of it ,
    thanks and Regards,
    Venu

    hi Venu Gopal,
    Welcome to the SDN and Mobile Community.
    Pl. check my weblog on this "Execute and Debug Applications from NWDS". /people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
    I've explained how to run the application from NWDS itself.
    Regards
    Arunkumar R

  • Error running an interactive form example

    Hi everyone,
    I'm trying to run a basic AIF scenario on a local machine.
    I created a web dynypro example according to the Guide "How to Create Online and Offline Forms in Web Dynpro".
    I configured the Adobe Document Services and my credential as described in the ADS Configuration Guide.
    What I get when I deploy the example in the NW Developer Studio is the follwing error message:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation.
    Request start time: Thu Feb 02 15:20:47 CET 2006
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:460)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:158)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1123)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:252)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:392)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
    Can anybody help me?
    Thanks in advance
    Olaf

    Hi Olaf,
    if you are absolutely certain that you have configured the ADS correctly and have looked at the ADS troubleshooting documentation in the SAP Help Portal at http://help.sap.com/saphelp_nw04s/helpdata/en/c2/42c437004b4d74bd74100d327a3354/frameset.htm and still get the error, please create a customer message on component BC-SRV-FP.
    Best regards,
    Markus

  • Error running A Simple MDB example with oc4j

    Hi All,
    I am new to OC4J, I am trying the example for MDB from OTN's site, A Simple MDB example with OC4J. When I start my OC4J on the command line > java -jar oc4j.jar
    I get the following exception:
    Error deploying file:/C:/unzipped/mdb_hello_world/build/mdb/mdb.jar homes: No lo
    cation set for Topic resource MessageDrivenBean MDB
    Error in application mdb: Error loading package at file:/C:/unzipped/mdb_hello_w
    orld/build/mdb/mdb.jar, Error deploying file:/C:/unzipped/mdb_hello_world/build/
    mdb/mdb.jar homes: No location set for Topic resource MessageDrivenBean MDB
    04/07/09 15:21:40 Error instantiating application 'mdb' at file:/C:/unzipped/mdb
    helloworld/build/mdb.ear: Error initializing ejb-module; Exception Error in ap
    plication mdb: Error loading package at file:/C:/unzipped/mdb_hello_world/build/
    mdb/mdb.jar, Error deploying file:/C:/unzipped/mdb_hello_world/build/mdb/mdb.jar
    homes: No location set for Topic resource MessageDrivenBean MDB
    04/07/09 15:21:41 Error starting HTTP-Server: Address already in use: JVM_Bind
    04/07/09 15:21:41 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
    initialized
    I have just followed all the steps provided to run the example exactly as given.
    I did add my Topic and TopicConnectionFatory entries in my jms.xml -
    <topic name="The Topic" location="jms/theTopic">
    <description>A MDB topic</description>
    </topic>
    <topic-connection-factory location="jms/theTopicConnectionFactory" />
    Here is the ejb-jar.xml given in the example:
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar>
    <ejb-jar>
    <enterprise-beans>
    <message-driven>
    <description>My message driven bean</description>
    <ejb-name>MDB</ejb-name>
    <ejb-class>MDB</ejb-class>
    <transaction-type>Container</transaction-type>
    <message-driven-destination>
    <destination-type>javax.jms.Topic</destination-type>
    <subscription-durability>NonDurable</subscription-durability>
    </message-driven-destination>
    <resource-ref>
    <description>The log topic where log events are broadcasted...</description>
    <res-ref-name>jms/theTopic</res-ref-name>
    <res-type>javax.jms.Topic</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <resource-ref>
    <description>The Factory used to produce connections to the log topic...</description>
    <res-ref-name>jms/theTopicConnectionFactory</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>MDB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Supports</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Here is my orion-ejb-jar.xml:
    <?xml version="1.0"?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar deployment-version="1.0.2.2" deployment-time="e7f5a3f42d">
    <enterprise-beans>
    <message-driven-deployment name="MDB" destination-location="jms/theTopic" connection-factory-location="jms/theTopicConnectionFactory">
    <resource-ref-mapping name="jms/theTopic" />
    <resource-ref-mapping name="jms/theTopicConnectionFactory" />
    </message-driven-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping name="&lt;default-ejb-caller-role&gt;" impliesAll="true" />
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    I don't know what is wrong. Please help me.
    Rohini

    Hello,
    I guess that you didn't define the Topic and/or TopicConnectionFactory on your OC4J
    Inside $J2EE_HOME/config (see: subfolders .../j2ee/home/config e.g.)folder are several xml files appropriate for OC4J configuration. There's also jms.xml. Please, verify this one, it should have some entries for your settings.
    Just like in an example below:
    <topic-connection-factory name="TopicConnectionFactory" location="jms/TopicConnectionFactory"/>
    <topic name="theTopic" location="jms/theTopic"/>
    The names should be the same like in your MDB deployment descriptors. It works of course after next OC4J server restart.
    I hope helped you
    Krzysztof

  • Running "Build 'em All" example Xcode project wiped out MediaCore folder

    I'm having a hard time setting up Xcode to properly compile the example code into a debug product build that eventually ends up in the MediaCore folder.
    I initially got it to work simply by clicking the 'Run' button on the 'Skeleton' and 'Checkout' projects. 
    Then I decided to just build them all, and pressed 'Run' while I had the 'Buildall' selected.  Seemed like everything ran okay, but then AE was starting to act buggy.  Told me Quicktime wasn't installed, etc.  I noticed that all my plugins were missing, and sure enough the entire MediaCore folder seemed to be overwritten.  Do I have to re-install AE and all my plugins to get those back?
    Most importantly, though, is why did running the 'Buildall' project wipe out the folder of everything?
    I read this in the SDK guide:
    We’ve combined the sample projects into a single master project, stored in the Examples folder of the SDK. For Mac OS, it is Buildall.xcodeproj; for Windows, it is BuildAll.sln.
    In your IDE, you’ll need to change the output folder of your project to build into After Effects’ plug-in folder. For development, we recommend using the following path for Mac
    OS: /Library/Application Support/Adobe/Common/Plug-ins/[CS version]/MediaCore/
    for example: /Library/Application Support/Adobe/Common/Plug-ins/CS6/MediaCore/
    So, I set absolute paths for the build location in my project settings dialog, in the locations tab.  I placed 'intermiediates' in a different folder from 'products'. 
    I just need to know they best way to configure Xcode 4.5 to output the example projects in the correct manner.  I'm afraid I'm going to have to reinstall the plugins.
    Thanks!
    Removed incorrect image.

    hi Lazlo Hollyfeld! welcome to the dark side... :-)
    set to build directory to any folder you like (i created a nice folder called "build64"),
    then just put a shortcut from AE's "blug-ins" folder to you build folder.
    yes, AE does shortcuts.
    leave media core alone...

  • Exception running J2EE Kodo car example

    on Windows2000, Jboss3.2, running the Kodo J2EE tutorial example When I
    add a car to the database (default Hypersonic datasource) I obtain this
    exception:
    HTTP ERROR: 500 RuntimeException; nested exception is:
    com.solarmetric.kodo.runtime.FatalDataStoreException:
    java.sql.SQLException: You cannot commit during a managed transaction!
    [code=0;state=null] NestedThrowables: java.sql.SQLException: You cannot
    commit during a managed transaction!
    RequestURI=/sample/Save.jsp
    Can you help me?

    If you are using managed XA transactions, you need to specify a second
    connection factory Kodo can use for things like allocating sequence
    numbers and other database operations that should not be dependent on the
    current global transaction. See the documentation on the various
    ConnectionFactory2 settings, and our documentation on XA transactions.

  • How to run order-jsf-jpa-example.zip in JDeveloper?

    What is the easiest way to make order-jsf-jpa-example.zip from the link http://www.oracle.com/technology/products/ias/toplink/jpa/examples-index.html to run in JDeveloper?
    Step by Step please.
    Thanks
    Ming Man

    You can use the JDeveloper "project from existing source" to create a new project that is based on this code.
    You can then use the built in Ant support to run the build file.

  • Running webdynpro applications in examples

    Hi all,
    i am a layman to webdynpro development.as i was trwying to develop some basic applications i came to know some examples are already there in sdn. i dowm loaded the applications (zip files) . i ant to know how to run the examples in nwds.
    thanks
    sharma

    hi,
    this is the link where you will find all the webdynpro projects.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d]
    However, they are in zip format. You have to first unzip them and store them in the folder of the same name as the zip folder.
    Now open the NWDS. Now, Window>Open perspective>webdynpro.
    then Window>open view>webdynpro Explorer.
    Now move to File>Import>Existing project into Workspace-->browse.
    Select the project you want to load.
    Now right click on the Project folder. Select rebuild properties and then run the application.
    However always the application amy not run. So you can go throught he associated tutorial. There detailed steps are given to create the WebDynpro projects.
    regards,
    pinki

Maybe you are looking for

  • Virtual Machine disks are attached to a machine that no longer exists

    http://social.msdn.microsoft.com/Forums/en-US/WAVirtualMachinesforWindows/thread/2695008b-59e7-478b-8169-8ceb9b0d848d Continuation of the above issue.. I've deleted a machine via power shell but the disks are still associated with the old machine.  I

  • Problem running project

    I have been using JSC2-1 for several months and this is the first time I have had this problem where I cannot get it to work. I start the IDE and load my project. I click on the 'Run' button and everything seems to compile. The browser starts and I g

  • Did the macbook white 2010 MC516LL/have a  keyboard problem

    did their or not ans which did not have them MC516LL/A ?

  • Forms Authentication - SQL 2008 Reporting services

    Hi Experts,  I am trying to implement a forms authentication in SQL 2008 reporting services based on this article,  http://msdn.microsoft.com/en-us/library/ms160724(v=SQL.100).aspx#2 Everything worked fine, but the display page is not loading the def

  • Flash Player 11 Solaris download .tar.tar

    When I attempt to download the current Adobe Flash Player 11 for Solaris, either the SPARC or the x86 version, I get a file that ends in .tar.tar which is unreadable using tar or gunzip or any other form of compression software, including WinZip. Wha