Running discover-electronics in JBoss

I'm trying to run the discover electronics reference application in JBoss EAP 6.1. I copied everything exactly from Tools and Frameworks (T&F) reference directory. However when I try to access the application I get a "404 Not Found" error.
No errors in JBoss log files.
All this is on my local machine (Win 7)
discover-electronics runs fine through T&F tomcat
Any ideas?
Thanks in advance,
Jeremy
Edit: Problem was with the storeFactory setting. I was using fileStoreFactory instead of ecrStoreFactory.
Message was edited by: JeremyFryer

hi brahmaiah,
follow this Re: How to run Discoverer 10g report from unix command line
hope answered.promptly award points.
Cheers,
KK

Similar Messages

  • EJB 3.0 & JBoss -- How to run a SLSB in JBoss

    Hi All,
    I am having trouble running an EJB 3.0 SLSB on JBoss AS. I have also tried those specified by others in their cases but havent been able to solve mine. The ejb-jar file is deploying nicely in the server without any errors but I do find that jar files of aspect are not being deployed (the trace is avbl at the end). Have they got to do anything with this?
    I dont know whether I am missing anything or something that has been overlooked. Please diagonise this.
    JBoss AS 4.0.4 GA (installed using EJB 3.0 option)
    JDeveloper 10.1.3 (updated)
    Local
    @Local
    public interface TestStateLessLocal {
    SLSB
    @Stateless(name="TestStateLess")
    @LocalBinding(jndiBinding="TestStateLess")
    public class TestStateLessBean implements TestStateLessLocal {
    public TestStateLessBean() {
    System.out.println(">>> In the bean constructor");
    Client Prg
    public class SLSBClient {
    public SLSBClient() {
    try {
    Hashtable env = new Hashtable();
    env.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
    env.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
    env.put("java.naming.provider.url", "jnp://localhost:1099");
    Context ctx = new InitialContext(env);
    System.out.println("Context created");
    ctx.lookup("java:comp/env/ejb/TestStateLessLocal");
    System.out.println("Success");
    catch (Exception ex) {
    System.out.println("... EXCEPTION THROWN ...");
    ex.printStackTrace();
    public static void main(String[] args) {
    SLSBClient sLSBClient = new SLSBClient();
    jboss.xml
    <session>
    <ejb-name>TestStateLess</ejb-name>
    <local-jndi-name>TestStateLess</local-jndi-name>
    </session>
    Exception Trace
    javax.naming.NameNotFoundException: comp not bound
         at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
         at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
         at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
         at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at SLSBClient.<init>(SLSBClient.java:18)
         at SLSBClient.main(SLSBClient.java:29)
    Process exited with exit code 0.
    Trace in JBoss when starting the server
    --- Incompletely deployed packages ---
    org.jboss.deployment.DeploymentInfo@5b9bf3f3 { url=file:/D:/JBoss/server/default/deploy/jboss-aop.deployer/base-aop.xml }
    deployer: org.jboss.aop.deployment.AspectDeployer@4ac216
    status: Created
    state: CREATED
    watch: file:/D:/JBoss/server/default/deploy/jboss-aop.deployer/base-aop.xml
    altDD: null
    lastDeployed: 1151050772890
    lastModified: 1151050772890
    mbeans:
    org.jboss.deployment.DeploymentInfo@24ac8a8b { url=file:/D:/JBoss/server/default/deploy/jboss-aop.deployer/jboss-aop.jar }
    deployer: org.jboss.deployment.JARDeployer@7a1576
    status: Created
    state: CREATED
    watch: file:/D:/JBoss/server/default/deploy/jboss-aop.deployer/jboss-aop.jar
    altDD: null
    lastDeployed: 1151050773171
    lastModified: 1151050772984
    mbeans:
    org.jboss.deployment.DeploymentInfo@36b91a6d { url=file:/D:/JBoss/server/default/deploy/jboss-aop.deployer/jboss-aspect-library.jar }
    deployer: org.jboss.deployment.JARDeployer@7a1576
    status: Created
    state: CREATED
    watch: file:/D:/JBoss/server/default/deploy/jboss-aop.deployer/jboss-aspect-library.jar
    altDD: null
    lastDeployed: 1151050773281
    lastModified: 1151050773203
    mbeans:
    org.jboss.deployment.DeploymentInfo@baf16a1f { url=file:/D:/JBoss/server/default/deploy/jboss-aop.deployer/trove.jar }
    deployer: org.jboss.deployment.JARDeployer@7a1576
    status: Created
    state: CREATED
    watch: file:/D:/JBoss/server/default/deploy/jboss-aop.deployer/trove.jar
    altDD: null
    lastDeployed: 1151050773406
    lastModified: 1151050773312
    mbeans:
    org.jboss.deployment.DeploymentInfo@c84cee44 { url=file:/D:/JBoss/server/default/deploy/jboss-aop.deployer/ }
    deployer: org.jboss.deployment.SARDeployer@5dd582
    status: Deployment FAILED reason: Trying to install an already registered mbean: jboss.aop:service=AspectManager
    state: FAILED
    watch: file:/D:/JBoss/server/default/deploy/jboss-aop.deployer/META-INF/jboss-service.xml
    altDD: null
    lastDeployed: 1151050773406
    lastModified: 1150602082358
    mbeans:
    Any help would be greatly appreciated.
    Thanks & Regards,
    Hans.

    Hi Prasanth,
    Thank you for responding. Checked out the link. As per the steps listed, I added the jar files and tried looking up as mentioned. However, I am not able to find the session bean registered in JNDIView. I am attaching the trace. Could you please check that out.
    Thanks & Regards,
    Hans.
    Trace in JMX Console
    java: Namespace
    +- jaas (class: javax.naming.Context)
    | +- other (class: org.jboss.security.plugins.SecurityDomainContext)
    | +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext)
    | +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
    | +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext)
    +- TransactionPropagationContextImporter (class: org.jboss.tm.TransactionPropagationContextImporter)
    +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
    +- comp.ejb3 (class: javax.naming.Context)
    | NonContext: null
    +- JBossCorbaNaming (class: org.omg.CosNaming.NamingContextExt)
    +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
    +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory)
    +- TransactionManager (class: org.jboss.tm.TxManager)
    +- JBossCorbaPOA (class: org.omg.PortableServer.POA)
    +- MSSQLDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
    +- TransactionPropagationContextExporter (class: org.jboss.tm.TransactionPropagationContextFactory)
    +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
    +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)
    +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
    +- JBossCorbaInterfaceRepositoryPOA (class: org.omg.PortableServer.POA)
    +- Mail (class: javax.mail.Session)
    +- JBossCorbaORB (class: org.omg.CORBA.ORB)
    +- timedCacheFactory (class: javax.naming.Context)
    Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy
    +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory)
    +- comp (class: javax.naming.Context)
    Global JNDI Namespace
    +- HASessionState (class: org.jnp.interfaces.NamingContext)
    | +- Default (class: org.jboss.ha.hasessionstate.server.HASessionStateImpl)
    +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
    +- jmx (class: org.jnp.interfaces.NamingContext)
    | +- invoker (class: org.jnp.interfaces.NamingContext)
    | | +- RMIAdaptor (proxy: $Proxy47 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
    | +- rmi (class: org.jnp.interfaces.NamingContext)
    | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef)
    +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
    +- TestStateLess (proxy: $Proxy74 implements No ClassLoaders found for: TestStateLessLocal (no security manager: RMI class loader disabled))
    +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
    +- UserTransactionSessionFactory (proxy: $Proxy57 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
    +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
    +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
    +- invokers (class: org.jnp.interfaces.NamingContext)
    | +- soumitri (class: org.jnp.interfaces.NamingContext)
    | | +- iiop (class: org.jboss.invocation.iiop.IIOPInvoker)
    +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
    +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
    +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
    +- HAPartition (class: org.jnp.interfaces.NamingContext)
    | +- DefaultPartition (class: org.jboss.ha.framework.server.HAPartitionImpl)
    +- topic (class: org.jnp.interfaces.NamingContext)
    | +- testDurableTopic (class: org.jboss.mq.SpyTopic)
    | +- testTopic (class: org.jboss.mq.SpyTopic)
    | +- securedTopic (class: org.jboss.mq.SpyTopic)
    +- queue (class: org.jnp.interfaces.NamingContext)
    | +- A (class: org.jboss.mq.SpyQueue)
    | +- testQueue (class: org.jboss.mq.SpyQueue)
    | +- ex (class: org.jboss.mq.SpyQueue)
    | +- DLQ (class: org.jboss.mq.SpyQueue)
    | +- D (class: org.jboss.mq.SpyQueue)
    | +- C (class: org.jboss.mq.SpyQueue)
    | +- B (class: org.jboss.mq.SpyQueue)
    +- console (class: org.jnp.interfaces.NamingContext)
    | +- PluginManager (proxy: $Proxy49 implements No ClassLoaders found for: org.jboss.console.manager.PluginManagerMBean (no security manager: RMI class loader disabled))
    +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
    +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
    +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
    +- EventDispatcher (class: org.jboss.ws.eventing.mgmt.DispatcherDelegate)
    +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair)
    +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to run richfaces application in JBOSS

    hi,
    I installed jboss-4.2.2.GA and extracted richfaces-ui-3.2.1.GA-src in the jboss-4.2.2.GA\server\default\deploy folder.
    But while running richfaces application through http://localhost:8080/richfaces-ui-3.2.1.GA-src , showing "HTTP Status 404 - /richfaces-ui-3.2.1.GA-src" error. I tried to run other simple applications, but those are also not running, as the same error showing "HTTP Status 404"....
    please help me asap.

    I'm sorry man, but you are not getting out the easy way no matter how many times you post the same question. Whole books have been written on the subjects of JBoss and JSF and you are going to have to read at least some articles online if you are going to get anywhere. It is not something that has a simple 123 step guide, this is complex material that requires research, study and effort to accomplish.
    So your first step is to go figure out what the structure of a JSF web application is and how to deploy one to JBoss. Good luck.

  • How to run a servlet with jboss

    Hello everybody my name is Noe I'm new in the forums . I want some information about how to configure and run a servlet and a jsp for the jboss server . Please help me, I have about 4 days searching information about this, and there is few information or the tutorials that I read were insuficient. I need one tutorial step by step or someone that explain me how to do this. Please help me with this
    Thank's a lot.

    Which error do you get!
    If you just want to run jsps and servlets the you should use tomcat instead of jboss.
    jboss is an aplication server that uses tomcat and adds an EJB container.
    usually you use a build.xml file to run deployment scripts but if not, then you can manually copy the project folder into the jboss --> instance ---> web zone (I said this way because I dont remember the exactly folder)
    Another thing is that you must have the project estructure built on the correct way defined by the estandar. I mean the WEB-INF folder, the web.xml file, the classes folder, etc.
    next time yo may consider to post this on the j2ee section.
    a web.xml file.
    What problem do you exactly have when doing this, you cant ask for a tutorial step by step, but punctual things. Try it and if you cant then ask.

  • Run WSDP anywhere (Tomcat, JBoss...)

    Hi @ll,
    Sun does not clearly descibe how to run resp. deploy web services
    developed with the WSDP on any app servers. They provide a "Tomcat
    WSDP" version for downloading, but this is not really what I want!
    I would like to deploy my new web services into an exisitng already
    running app server. Why should I install a new one?
    Okay, I succeed by deploying and running my web service to Tomcat
    5.5.9. To run it without any exception you have to add plenty of JARs
    of the WSDP that are located in the different <sub-directories>/lib
    Questions
    [1]
    What is the different between the original Tomcat 5.0.29 and the
    Sun-patched Tomcat-wsdp 5.0.29?
    [2]
    I was wondering if there are defined deployment processes for the
    WSDP for standalone application servers?
    [3]
    Does anybody know about WSDP deploying problems for JBoss?
    Thanks and greetz,
    Dan

    Can you post how you did this?
    I cant find any info on how to run WSDP on version of Tomcat other than Sun's custom container.
    I would like to use Apache's Tomcat version 5.5.15 but it is not being accepted as a valid web container duringWSDP installation.
    Thanks!

  • Failed Running Interest Example in JBoss

    Hi there,
    I try to create jar for this example using ANT, but the following mesg appears: How should i overcome this?
    -------- Error building Interest example
    D:\RereferenceJBoss\documentation-example\examples\build>ant intro-interest-jar
    Buildfile: build.xml
    validate-servlet:
    BUILD FAILED
    D:\RereferenceJBoss\documentation-example\examples\build\build.xml:36: Could not create task of type: path. Common solutions are to use taskdef to declare your task, or, if this is an optional task, to put the optional.jar in the lib directory of your ant instalation <ANT_HOME>.

    This error appears if the jndi initial context is not being set properly. You can either set the initial context by passing a jndi.properties file containing the following:
    java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
    java.naming.provider.url=jnp://localhost:1099
    java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
    or you can also pass these parameters directly in the InterestClient itself by adding these lines to the starting of the class i.e before the try statement
    * Created on Nov 26, 2003
    * To change the template for this generated file go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    import javax.rmi.PortableRemoteObject;
    import javax.naming.*;
    import src.*;
    //import java.util.*;
    * @author mazumdar
    * To change the template for this generated type comment go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    public class InterestClient {
         public static void main(String[] args) {
              try{
                   System.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
                   System.setProperty(Context.PROVIDER_URL,"jnp://localhost:1099");
                   System.setProperty("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
                   InitialContext jndiContext = new InitialContext();
                   System.out.println("Got Context");
                   Object ref = jndiContext.lookup("src/Interest");
                   System.out.println("Got Reference");
                   InterestHome home = (InterestHome)PortableRemoteObject.narrow(ref,InterestHome.class);
                   Interest interest = home.create();
                   System.out.println("Interest on 1000 units, at 10% per period,for 2 years is: ");
                   System.out.println(interest.calculateCompoundInterest(1000,0.10,2));
              catch(Exception e){
                   System.out.println(e.toString());
    The above is the complete source file of the InterestClient which I have successfully run on JBoss-3.2.2 and ant-1.6.
    Just make sure that all the required client jars of JBoss are passed in the classpath during compiling and running the InterestClient using ant.
    Hope this works answers your question. Happy coding....

  • Running Discover Report In Unix

    Hi All,
    In my requirement I need to run a discover report in UNIX environment with parameters
    Could you please give me the unix command for this.
    Thanks in advance...
    Regards
    Y.Brahmaiah

    hi brahmaiah,
    follow this Re: How to run Discoverer 10g report from unix command line
    hope answered.promptly award points.
    Cheers,
    KK

  • Error while running struts example on JBOSS

    Hi,
    In any application of struts wherever i am using formbeans, i am getting following error.
    If i remove <html:form> and all <html:...> types of tag, it will just show the jsp page.
    If anybody knows the solution please help me.
    Following are the details.
    After deploying application on jboss on index.jsp i am clicking on the link for DynaAddress.jsp it is giving following error
    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
    Generated servlet error:
    D:\jboss-3.2.7\server\default\work\jboss.web\localhost\ExampleDynaAction\org\apache\jsp\web\DynaAddress_jsp.java:113: jspxmeth_bean_message_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.web.DynaAddress_jsp cannot be applied to (org.apache.struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_bean_message_0(_jspx_th_html_html_0, jspxpage_context))
    ^
    Generated servlet error:
    D:\jboss-3.2.7\server\default\work\jboss.web\localhost\ExampleDynaAction\org\apache\jsp\web\DynaAddress_jsp.java:116: jspxmeth_html_base_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.web.DynaAddress_jsp cannot be applied to (org.apache.struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_html_base_0(_jspx_th_html_html_0, jspxpage_context))
    ^
    Generated servlet error:
    D:\jboss-3.2.7\server\default\work\jboss.web\localhost\ExampleDynaAction\org\apache\jsp\web\DynaAddress_jsp.java:121: jspxmeth_html_form_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.web.DynaAddress_jsp cannot be applied to (org.apache.struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_html_form_0(_jspx_th_html_html_0, jspxpage_context))
    ^
    Generated servlet error:
    D:\jboss-3.2.7\server\default\work\jboss.web\localhost\ExampleDynaAction\org\apache\jsp\web\DynaAddress_jsp.java:190: jspxmeth_html_errors_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.web.DynaAddress_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_html_errors_0(_jspx_th_html_form_0, jspxpage_context))
    ^
    Generated servlet error:
    D:\jboss-3.2.7\server\default\work\jboss.web\localhost\ExampleDynaAction\org\apache\jsp\web\DynaAddress_jsp.java:200: jspxmeth_html_text_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.web.DynaAddress_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_html_text_0(_jspx_th_html_form_0, jspxpage_context))
    ^
    Generated servlet error:
    D:\jboss-3.2.7\server\default\work\jboss.web\localhost\ExampleDynaAction\org\apache\jsp\web\DynaAddress_jsp.java:210: jspxmeth_html_text_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.web.DynaAddress_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_html_text_1(_jspx_th_html_form_0, jspxpage_context))
    ^
    Generated servlet error:
    D:\jboss-3.2.7\server\default\work\jboss.web\localhost\ExampleDynaAction\org\apache\jsp\web\DynaAddress_jsp.java:221: jspxmeth_html_text_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.web.DynaAddress_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_html_text_2(_jspx_th_html_form_0, jspxpage_context))
    ^
    Generated servlet error:
    D:\jboss-3.2.7\server\default\work\jboss.web\localhost\ExampleDynaAction\org\apache\jsp\web\DynaAddress_jsp.java:229: jspxmeth_html_submit_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.web.DynaAddress_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_html_submit_0(_jspx_th_html_form_0, jspxpage_context))
    ^
    Generated servlet error:
    D:\jboss-3.2.7\server\default\work\jboss.web\localhost\ExampleDynaAction\org\apache\jsp\web\DynaAddress_jsp.java:234: jspxmeth_html_cancel_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.web.DynaAddress_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_html_cancel_0(_jspx_th_html_form_0, jspxpage_context))
    ^
    9 errors
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:437)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.
    while clicking jsp for validator it is also ginig me the same error.
    f anybody knows the solution please help me,
    thanks,
    Message was edited by:
    myDisha

    Hi,
    Goto Project Properties:
    Search for the following in left pane:
    Oracle Applications -> Runtime Connection
    DBC file : Choose the correct dbc file from your local machine. You have to get it from your dba and paste it in this path: jdevhome\jdev\dbc_files\secure\*.dbc
    User Name: Application User Name
    Password : Application password
    Responsibilty Key:
    Goto Application Developer --> Responsibility --> Define -- >
    Query for the available responsibility for the given user. Say for example: "Order Management Super User"
    Application: Order Management
    Responsibilty Key: ORDER_MGMT_SUPER_USER
    Application Short Name:
    Goto Application Developer --> Application --> Register -- >
    Query for the given application " Order Management"
    Short Name: ONT
    Responsibility Key and Application Short Name depends upon the object you are developing.
    Regards.

  • UIX page run very slow on Jboss

    hi.. i am using Jdeveloper 10.1.2 to develop my application and my application containing JSP and UIX pages.At last i deploy it onto Jboss 3.2.7.
    It work properly, but i found that each time user access/open a page, which never open before, that page(either UIX or JSP page) show very slow. After that when user open it again, it show out as normal.
    Now, the problem is, when user close the browser, open it and access that page again, for JSP, it show out fast, but for UIX, it still take time to show out. I dont know what cause this happen. And i wondering that is that any way to configure ADF UIX in order to increase its performance?
    Please give me some suggestions and guides. Thanks in advance.

    Hi... is there anybody can help me? thanks..

  • I need a easy setup open-source CRM app. in Java, to run it in on JBoss

    Hi!
    I need a easy setup CRM app to install it on JBoss server. I have Windows 7, Netbeans 6.7.1, with JBoss server installed, I have Glassfish too, but I don't have the permission to use it. I've already tried to setup CentraView, ofBiz, oeCrm, SugarCE, vTigerCrm, but didn't managed. I want an app with a nice interface(skins, templates).
    Can someone help me? Someone which already used or implemented something like this?
    I'm new in Java EE.

    Please ask these questions in Java forums.

  • Oracle Discover Viewer running problem

    Hai Friends...
    When i am running Discover Viewer i got error message saying that ,Communication Error or ORB intrnal error.
    I wouid appreciate any help.
    Cheers
    Gopi

    My car does not start please tell me why?
    Even if I do not know why my car does not start I know what brand it is. Why do you not know the name of the product you are working with?
    There is no product named simply OEM. So the question still remains. Is it OEM Grid Control or OEM DBConsole?

  • Running EJBs, JSC applications together in JBoss 4.0.1SP1

    This is not a question. It is just an example, in case somebody has some problem to run EJBs and JSC applications together in Jboss. Maybe this is a wrong place, but I did not know a better place. Sorry.
    Due to classloader issue, the following discussion will focus on JBoss 4.0.1SP1. And JSC version is 2 update 1.
    Setup JBoss 4.0.1SP1 to run JSC applications
    * Install JBoss 4.0.1SP1.
    * Copy jstl.jar and standard.jar from the $CREATOR_INSTALL_DIR/enterprise1/config/TagLibraries/JSTL11 directory to $JBOSS_HOME/server/default/deploy/jbossweb-tomcat50.sar directory. Same to $JBOSS_HOME/server/all/......
    * Some on-line discussions mentioned that we should delete $JBOSS_HOME/server/default/deploy/jbossweb-tomcat50.sar/jstl-libs directory. However, I did not see this directory. Because it does not hurt, I deleted tmp and work subdirectories under $JBOSS_HOME/server/default (and all).
    Deploy EJBs in Java Studio Creator
    * Remove all other files from META-INF in the .jar file. Only keep ejb-jar.xml. If you have an Entity bean you also need to keep jbosscmp-jar.xml.
    * Start Sun Java Studio Creator and start the application server.
    * Go to $Creator/SunAppServer8/bin and invoke "deploytool".
    * Expand node servers and click "localhost:25848" (Creator 2 is 24848).
    * In the login window login using admin/adminadmin.
    * Choose File -> Open, and open the EJB jar file.
    * Choose Tools -> Deploy, and also check the Return Client Jar box .
    * In Creator's Server panel, right-click on the Enterprise Beans and select Add Set of Session EJBs
    * Please note the RMI port number is 24700 for JSC 2 update 1.
    * Click Add button to add the Client.jar you saved when deployed the EJB to Sun Application Server
    * Click Next and then Finish. The new EJB should be available.
    Call EJBs in Creator
    Assumption:
    1. The session bean name is HelloBean and the jar file is Hello.jar;
    2. The war file is Hello.war.
    The simplest deployment description is as follows
    ejb-jar.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
    <display-name>Hello</display-name>
    <enterprise-beans>
    <session>
    <display-name>HelloSB</display-name>
    <ejb-name>HelloBean</ejb-name>
    <home>com.whatever.HelloRemoteHome</home>
    <remote>com.whatever.HelloRemote</remote>
    <ejb-class>com.whatever.HelloBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>HelloBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.co
    m/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>ThemeServlet</servlet-name>
    <servlet-class>com.sun.rave.web.ui.theme.ThemeServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>ThemeServlet</servlet-name>
    <url-pattern>/theme/*</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>faces/Page1.jsp</welcome-file>
    </welcome-file-list>
    <jsp-config>
    <jsp-property-group>
    <url-pattern>*.jspf</url-pattern>
    <is-xml>true</is-xml>
    </jsp-property-group>
    </jsp-config>
    <ejb-ref>
    <ejb-ref-name>ejb/HelloBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.whatever.HelloRemoteHome</home>
    <remote>com.whatever.HelloRemote</remote>
    <ejb-link>Hello.jar#HelloBean</ejb-link> <!-- This should be added manually -->
    </ejb-ref>
    </web-app>
    * When creating a session bean, either Eclipse or NetBeans is good enough.
    * When exporting a WAR file from JSC, select J2EE 1.4.
    * With the above deployment descriptors it is not necessary to deploy an EAR file. In other words, both .jar and .war files can be deployed separately.
    * When deployed to Sun Application Server, the EJB's sun-ejb-jar.xml should contain <jndi-name>ejb/HelloBean</jndi-name>. This results in JNDI lookup(�java:comp/env/ejb�); otherwise, it would be �java:comp/env�.
    * The SessionBeans deployed to JBoss and Sun Application Server can be different, but the signatures should be the same. When I did my first prototype, the SessionBean was hardcoded and did not access the database. However, in JBoss I had both Session Beans and Entity Beans.
    * When you have more than one .war file, you can move library .jar files from WEB-INF/lib to $JBOSS_HOME/server/your_server/lib. That way you can avoid many WARNING messages in JBoss' server.log.

    hi,i deploy ejbs & web app on jboss-4.0.2 as your method ,but throw exception
    java.lang.ClassCastException
         at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)
    when call ejb's method.
    That's ok when running on sun appserver 8.
    why?

  • JNDI access problem in JBoss

    I have developed a small application that uses a session bean, that sets and gets a message.
    If a run the application inside JBuilderX it works just find, but when a create a jar file, only the interface shows up, but the application doesn't communicate with the session bean. I've checked that the application server was running (I'm using JBoss 3.2.5).
    The jar file contains all the .class files of my project and the jar files that are in the client directory of JBoss.
    I have found that the problem is that the client cannot access the jndi service.
    The client code is:
    public void initialize() {
    try {
    Context context = getInitialContext();
    Object ref = context.lookup("BeanSesion1");
    beanSesion1Home = (BeanSesion1Home) PortableRemoteObject.narrow(ref, BeanSesion1Home.class);
    catch(NamingException e) {
    e.printStackTrace();
    private Context getInitialContext() throws NamingException {
    Hashtable environment = new Hashtable();
    environment.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
    environment.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
    environment.put(Context.PROVIDER_URL, "jnp://localhost:1099");
    return new InitialContext(environment);
    The exception NamingException is thrown. It seems that the client cannot found "org.jnp.interfaces.NamingContextFactory", "org.jboss.naming:org.jnp.interfaces" and "jnp://localhost:1099"
    (I'm running JBoss server in the same machine I intend to run the client)
    I have also tried not to set an initial context with properties. Instead I wrote a jndi.properties file that contains the following
    java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
    java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
    java.naming.provider.url=jnp://localhost:1099
    and put it in the application classpath (for example C:\JBUILDERX\JDK1.4\bin\java -classpath "C:\JBuilderX\proyects\BeanSession\classes;c:\tmp;" beansession.Application
    (jndi.properties is in c:\tmp)
    This didn't work either.
    Does anybody know where the problem is?
    thanks

    You need to have the foolowing file in your classpath too:
    c:\jboss-3.2.?\client\jbossall-client.jar

  • [JDevelopper 10g]problem deploying ADF libraries with JBOSS 3.2.1

    Hi,
    i'm testing JDevelopper 10g preview and i encounter i problem when i deploy the ADF libraries into my JBoss 3.2.1 directory.
    I follow the tutorial wich implements a simple ADF Aplication, based on a simple JSP page, with Struts, BC4J.
    It works well on OC4J...
    So i want to run my application under JBoss 3.2.1
    I try to follow the steps described in the help file but once the libraries (ADF) are copied to JBoss directory, this one does not start anymore....
    any idea ?

    Gilbert,
    actually JDeveloper 10g preview isn't tested on other J2EE servers than OC4J (the price we had to pay for being able to release a preview in time).
    So I cannot really tell what's going wrong there. However, the production release of JDeveloper 10g will support deployments to other Application Servers.
    Frank

  • Sun Access Manager + Jboss Policy Agent + Testapplication Problem

    Hello everybody.
    I have set up Access Manager 7.1 on SJSAS 9.1 in a VMware and Jboss with Policy Agent 2.2 and a simple Webapp on another.
    The webapp just displays pages for users in different roles, f.e. admin und user page.
    When i go to the application in the browser und access a protected page, then I get redirected to the AM login screen and can login and get redirected back to the application.
    I did this with declarative security defined in web.xml, but the user doesn't get authenticated in the application.
    In my logfiles i got the following errors:
    amRealm log file
    09/19/2008 01:55:39:756 PM CEST: Thread[http-jboss.ams.com%2F127.0.0.1-8080-2,5,jboss]
    ERROR: AmRealm: failed to authenticate user: bob
    com.iplanet.sso.SSOException: Invalid session ID.AQIC5wM2LY4SfcwBenaL/TbPRPGHXQo8rhVWWfM3jGDEUUM=@AAJTSQACMDE=# AQIC5wM2LY4SfcyYT7kHKvROHG64m6WtlD8hnFLPmsKJyeY=@AAJTSQACMDE=#
       at com.sun.identity.jaxrpc.SOAPClient$SOAPContentHandler.endDocument(SOAPClient.java:910)
       at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
       at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
       at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
       at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
       at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:500)
       at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:467)
       at com.sun.identity.idm.remote.IdRemoteServicesImpl.getMemberships(IdRemoteServicesImpl.java:465)
       at com.sun.identity.idm.AMIdentity.getMemberships(AMIdentity.java:880)
       at com.sun.identity.agents.realm.AmRealm.authenticateInternal(AmRealm.java:227)
       at com.sun.identity.agents.realm.AmRealm.authenticate(AmRealm.java:155)
       at com.sun.identity.agents.jboss.v40.AmJBossLoginModule.validatePassword(AmJBossLoginModule.java:104)
       at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:210)
       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:597)
       at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
       at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
       at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
       at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
       at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
       at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
       at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
       at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)
       at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:257)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:416)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
       at java.lang.Thread.run(Thread.java:619) jboss logfile
    2008-09-19 13:55:39,756 DEBUG [com.sun.identity.agents.jboss.v40.AmJBossLoginModule] Bad password for username=bob Has anybody had similar erros and knows a solution?
    Thanks.

    Tanks handat      
    I found
    http://download.oracle.com/docs/cd/E19575-01/820-5816/galtf/index.html
    http://download.oracle.com/docs/cd/E19681-01/821-0267/gfxhz.html#scrolltoc     
    greetings
    alex davila

Maybe you are looking for

  • How do I Partition a Time Capsule's Drive?

    I want to use my TC as both a backup and as a place to store my digital music and have it play through Apple TV. I bought a 1 terrabyte TC and want to split it into 2 500 gig partitions. I tried using disk utility but it didn't see the TC drive even

  • CONDITIONS IN BAPI_PO_CREATE1

    Hi, dear experts. Does anybody know how to fill correctly conditions in BAPI interface? I`d successfully use a field named "Condition amount" (POCOND-COND_VALUE in TABLES interface), but I need to use "Condition value". How can I fill it? In ME21N ("

  • My Quicktime Mp4 Video Archive is Converting into Sound Files

    I archived a number of videos using quicktime, in mp4 format. I don't know if this was caused by a software update; but, these videos only play as sound files now. This has happened on quicktime videos stored independently on both of my Macs - so I d

  • Holding Message in AFW!!!

    Hi guys, I have a message in Holding status in AFW… SAP help tells me this definition: HOLDING: The state of an EOIO message that cannot be delivered until its predecessors have been delivered. Anyone knows what’s happening and how can I reprocess it

  • The audio isn't comming on when i play songs

    the little speaker comes up but the little sound icon isn't comming out of it, this is on itunes, anyone????