Accessing Web Application

Hi,
I have created a sample ear with the ejb archive & the web archive & deployed to the J2ee engine. I have a jsp in the web module. What is the url i need to give to access this from the browser?
Thanks in advance

application.xml Entry
<application>
    <display-name>myEnterpriseApplicationProject</display-name>
    <description>EAR description</description>
    <module>
        <ejb>myEJBProject.jar</ejb>
    </module>
    <module>
        <web>
            <web-uri>myWebProject.war</web-uri>
            <context-root>contextRoot</context-root>
        </web>
    </module>
</application>
JSP name = Test.jsp
Am giving in the url
http://localhost:50000/myWebProject/Test.jsp
also tried
http://localhost:50000/myWebProject.war/Test.jsp
it shows an Error
Details: File D:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\myWebProject\Test.jsp does not exist.
Thanks in advance

Similar Messages

  • Some users hitting error page when trying to access Web Applications...why?

    Hi,
    I have a SharePoint 2010 setup with 4 WFE, 4 APP Servers and 1 DB Server.
    After reading up a while back which services should be running on which server layer I remove the Web Application Service from APP Server (using Central Admin). The service is currently in error state on that machine. I had also removed a WFE Server which
    was not required and ensured all WFE had Web Application Service running as Microsoft Specified. I have checked each WFE and they have all same Web Applications in IIS. I have accessed a specific Web Application (that a user said they couldn't access) on 2
    of the 3 WFE servers when remoted into them, but one prompts me for login details. I have looked at the NLB on each WFE Server and saw that 2 out of three servers had all three servers in cluster. One that didn't was not same server as had problems accessing
    Web Application. I have removed a Server from Cluster and added it back as I saw Priorities were 1,2,4 (3 must have been initial removed server) and added it back again so Priorities were 1,2,3.
    Can anyone explain what may have happened in this scenario? It seems I think to be hitting this server with the problem accessing the Web Application. It seems to time out. How do I resolve this? DO I need to resync?
    Thanks.
    John.    

    Hi John,
    For your issue, it can be caused by that you remove  and  re-add a WFE from the NLB cluster. As  the Priority was changed, you need to disconnect and reconnect your SharePoint using SharePoint Products Configuration Wizard.
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Eric Tao
    TechNet Community Support

  • Accessing web application from users' PC

    Hi there,
    My server is up and running, appsets are working nicely and everything works perfectly. But I have an issue when accessing the web application from a user PC on the same domain, and I'm not sure if it's down to me or not.
    From the users' PC, with BPC for Excel open, I click on the link for BPC Web, and Internet Explorer opens and attempts to take me to the web app. But if the address contains the server name, it doesn't work. If I manually type the IP address in instead it works.
    Why is this? Have I forgotten to do something, or is it a DNS problem, or other local IT issue?
    I'm sure I've missed something really silly, but can't figure out what!
    Any ideas appreciated!
    Thanks a lot,
    Jason

    Hi Akim,
    I think this is actually part of a wider problem - I have been testing this on my local PC (over the clients' VPN) and now it works fine. But I just logged onto the clients PC using Webex and I can't get into ANYTHING! Not the Admin client, not BPC for Office, not the web application - nothing.
    I think I need to go there on monday and actually go through this with one of their network guys - I'm not convinced that it's a problem with the server anymore!
    Thanks for your help - I will keep you posted!
    Jason

  • Error accessing web application in OC4J-reg.

    Hi All,
    We deployed a web application into oc4j 903.
    We got the ERROR 1 when trying to access the application. Then we replaced the jaxb-rt-1.0-ea.jar & jaxp.jar in oc4j with the latest
    version from jwsdk1.1. Then we got the ERROR 2. This error is thrown because it is trying to use JXDocumentBuilderFactory from
    xmlparserv2.jar in oc4j instead of DocumentBuilderFactory in jaxp.jar. Then we tried to uncomment the tag "<web-app-class-loader
    search-local-classes-first="true" include-war-manifest-class-path="true" />" in orion-web.xml file. This ensures the use of jaxp.jar
    instead of xmlparserv2.jar but we got the ERROR 3. Now we don't know how to proceed further. Are we going in the right direction or
    are we missing anything?
    I will appreciate if any of you can provide any inputs.
    Please reply to me directly.
    ERROR 1:
    500 Internal Server Error
    ee.wm.jwlf.module.ModuleManagerException: Modules mappings loading failed.
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:54)
    at
    ee.wm.jwlf.controller.MainServlet.getModuleManager(MainServlet.java:432)
    at ee.wm.jwlf.controller.MainServlet.init(MainServlet.java:72)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at
    EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Unknown Source)
    Caused by: ee.wm.jwlf.module.mapping.ModuleMappingDAOException:
    Initialization of modules mappings source failed.
    at
    ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:255)
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:49)
    ... 11 more
    Caused by: javax.xml.bind.JAXBException: Provider
    com.sun.xml.bind.ContextFactory could not be instantiated:
    java.lang.IncompatibleClassChangeError: Implementing class - with
    linked exception:[java.lang.IncompatibleClassChangeError: Implementing
    class]
    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:118)
    at
    javax.xml.bind.ContextFinder.searchcontextPath(ContextFinder.java:233)
    at javax.xml.bind.ContextFinder.find(ContextFinder.java:153)
    at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:281)
    at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:238)
    at
    ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:228)
    ... 12 more
    ERROR 2:
    500 Internal Server Error
    ee.wm.jwlf.module.ModuleManagerException: Modules mappings loading
    failed.
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:54)
    at
    ee.wm.jwlf.controller.MainServlet.getModuleManager(MainServlet.java:432)
    at ee.wm.jwlf.controller.MainServlet.init(MainServlet.java:72)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at
    EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Unknown Source)
    Caused by: ee.wm.jwlf.module.mapping.ModuleMappingDAOException:
    Initialization of modules mappings source failed.
    at
    ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:255)
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:49)
    ... 11 more
    Caused by: java.lang.IllegalArgumentException
    at
    oracle.xml.jaxp.JXDocumentBuilderFactory.setAttribute(JXDocumentBuilderFactory.java:133)
    at
    ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:235)
    ... 12 more
    ERROR 3:
    500 Internal Server Error
    ee.wm.jwlf.module.ModuleManagerException: Modules mappings loading failed.
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:54)
    at ee.wm.jwlf.controller.MainServlet.getModuleManager(MainServlet.java:432)
    at ee.wm.jwlf.controller.MainServlet.init(MainServlet.java:72)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: ee.wm.jwlf.module.mapping.ModuleMappingDAOException: Initialization of modules mappings source failed.
    at ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:255)
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:49)
    ... 11 more
    Caused by: java.lang.ClassCastException
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:139)
    at ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:231)
    ... 12 more
    Thanks & Regards,
    Yoga

    Thanks Avi -- I did have a JDK versioning problem when first deploying in OC4J 9.0.4 -- but when I used JDK1.4.1 things worked. The problem appears to be that some classes are present in several different JAR files in the JDev libraries. Can anyone tell me about the dependencies out there between these JAR files? I can run the application in JDeveloper's OC4J container but cannot get it to deploy on 9.0.4 standalone.
    1) I had this error for a bit... the problem was caused by bc4jmt.jar and mc4jct.jar in my MT deployment.
    java.lang.IncompatibleClassChangeError
         at oracle.jbo.common.ampool.ApplicationPoolImpl.createSessionCookie(ApplicationPoolImpl.java:418)
    2) now I get this error -- looks like another version incompatibility. Can anyone shed light on this??
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.LinkageError, msg=Class oracle/jbo/ApplicationModule violates loader constraints
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)

  • Server Hangs when I tried to Access web Application that deployed in Managed Server

              Hai All!
              Here is my problem ! I started Admin Server and Managed server in a same machine.
              I deployed HttpClusterServlet in web.xml of Managed server. When i started servers
              they start fine and says Clustering started.... But when i tried to Access index.jsp
              that is in Managed Server default web application ..Nothing happens. It neither
              throws exception nor shows the desired page.. Seems to be Browser hang and server
              hang. At this stage i am unable to access Admin console also.(I can access before
              i tried index.jsp of managed server).. It seems to be Hang Allover..
              Pls suggest me how to come out of this hanging...
              Rgds
              Manohar
              

    See my answer to your last post. The short answer is that the HttpClusterServlet is
              likely to be the problem and not the cluster. You can try one of the web server plugins
              or a hardware load balancer as a temporary workaround. You should file a case with
              support too...
              Manu Kar wrote:
              > Hai All!
              >
              > Here is my problem ! I started Admin Server and Managed server in a same machine.
              > I deployed HttpClusterServlet in web.xml of Managed server. When i started servers
              > they start fine and says Clustering started.... But when i tried to Access index.jsp
              > that is in Managed Server default web application ..Nothing happens. It neither
              > throws exception nor shows the desired page.. Seems to be Browser hang and server
              > hang. At this stage i am unable to access Admin console also.(I can access before
              > i tried index.jsp of managed server).. It seems to be Hang Allover..
              >
              > Pls suggest me how to come out of this hanging...
              >
              > Rgds
              > Manohar
              

  • Exception while accessing web application

    Hi All,
    I have deployed my web application on OC4J 10.1.3. But while accessing application i am geeting NullPointer Exception below is the complete stack trace for the same.
    java.lang.NullPointerException
    at org.mortbay.servlet.jetty.IncludableGzipFilter$IncludableGzipStream.setContentEncodingGzip(IncludableGzipFilter.java:54)
    at org.mortbay.servlet.GzipFilter$GzipStream.doGzip(GzipFilter.java:482)
    at org.mortbay.servlet.GzipFilter$GzipStream.checkOut(GzipFilter.java:531)
    at org.mortbay.servlet.GzipFilter$GzipStream.write(GzipFilter.java:465)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:539)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:436)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindJSPWriter.assureSpace(EvermindJSPWriter.java:922)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindJSPWriter.javaCharsToAL32UTF8(EvermindJSPWriter.java:1058)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindJSPWriter.print(EvermindJSPWriter.java:849)
    at org.apache.taglibs.standard.tag.common.fmt.MessageSupport.doEndTag(Unknown Source)
    at public.login._jspService(_login.java:1817)
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.zimbra.webClient.servlet.JspServlet.service(JspServlet.java:38)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at com.zimbra.webClient.filters.SetHeaderFilter.doFilter(SetHeaderFilter.java:264)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
    at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:415)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

    I am having the same issue has anyone found a solution to this I have deployed a WAR file to the server an I am getting this error when I try to run the application. I would appreciate some input as this is a PRODUCITON issue
    the following statement is where this problems
    ps = conn1.prepareStatement("<string variable>");
    09/12/14 13:42:07 sfrracl: Servlet error
    java.lang.NullPointerException
    at sfrracl.SfrraclUpd.doPost(SfrraclUpd.java:269)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • EJB accessing web application classes

    Hi,
    what is the right method to enable packaged EJB to access classes of a
    web application? Packaging both the EJB and web application in same
    ear is not possible in this situation. We are running WebLogic 6.0 and
    ejb is in
    wlserver6.0/config/mydomain/applications/EJB.jar
    and the classes it should use are in
    wlserver6.0/config/mydomain/applications/application_name/WEB-INF/classes,
    i.e. not packed into war -package. adding
    wlserver6.0/config/mydomain/applications/application_name/WEB-INF/classes
    to WebLogic's CLASSPATH enables the ejb to deploy but seems to screw
    other deployments.

    Please address calling and EJB from a JSP using the EJB to JSP tags...?I'm throwing
    ClassCast errros on Object...
    William Kemp <[email protected]> wrote:
    This is addressed numerous times in this newsgroup and others. So, if
    you are
    insterested in additional explanations, a search of the newsgroups will
    be
    productive.
    The WLS 6.x classloading scheme for enterprise apps, ejbs, and webapps
    does
    not permit and ejb to access webapp classes in the WEB-INF/classes directory
    unless those classes are placed in the java system classpath, which,
    you have
    found, creates other problems.
    If classes are needed by both webapp and ejb, place them in a utility
    jar file
    that is packaged in the ear with the ejb, or webapp, or both, and refer
    to
    them with the Class-Path manifest directive in the ejb jar file or the
    webapp
    war file.
    For the details, see:
    http://e-docs.bea.com/wls/docs61/programming/packaging.html#1029830
    and the 7.0 stuff is good, too:
    http://edocs.bea.com/wls/docs70/programming/classloading.html#1029830
    Bill
    janne wrote:
    Hi,
    what is the right method to enable packaged EJB to access classes ofa
    web application? Packaging both the EJB and web application in same
    ear is not possible in this situation. We are running WebLogic 6.0and
    ejb is in
    wlserver6.0/config/mydomain/applications/EJB.jar
    and the classes it should use are in
    wlserver6.0/config/mydomain/applications/application_name/WEB-INF/classes,
    i.e. not packed into war -package. adding
    wlserver6.0/config/mydomain/applications/application_name/WEB-INF/classes
    to WebLogic's CLASSPATH enables the ejb to deploy but seems to screw
    other deployments.

  • Limit on users accessing web-application simultaneously

    My web-application's requirement is at any given time only one user should be allowed to access the application. How can I do this in JSP?? Got suggestions from my colleagues here that we can use App Scope variables.. Pls help me on this...
    Thanks in advance...
    Project Environment -- Tomcat 5.0, Java 1.4.2
    NOTE:: STRUTS and EJB NOT USED

    Use servlet context to store some variable.

  • Accessing web application JAR files from applet

    I've got an applet which is part of a web application.
    All the web application JARs are in the webapps/myappl/WEB-INF/lib directory, and I
    can't seem to place anything in that directory on the archive attribute of <OBJECT> tag.
    I'm running into trouble because I'm sending objects from the servlet to the applet and keep getting classnot found during deserialization because I've missed some jar file on the archive attribute. I've had to copy lots of jar files up to where the codebase in the HTML file is to make this run. My question is this.
    Is it better to just change the tomcat security policy file (catalina.policy in tomcat conf directory) so that the JARs are directly accessible and I don't have to copy them from WEB-INF/lib???? Has anyone done this before? What would the line look like?
    I'm assuming that I have to follow the instructions (THAT I DON'T UNDERSTAND)
    at the bottom of the policy file. Can someone help me out here????
    should I have something like
    grant codeBase "file:${catalina.home}/webapps/myappl/WEB-INF/classes/-"
    { permission java.security.AllPermission; };
    grant codeBase "file:${catalina.home}/webapps/myappl/WEB-INF/lib/-"
    { permission java.security.AllPermission; };
    Will this allow me to place references to jar files (and the classes directory) in the archive attribute, such as
    <OBJECT .....  >
        <param name="archive" value="../WEB-INF/lib/applet.jar,../WEB-INF/lib/someapp.jar,../WEB-INF/classes" />trailer for catalina.policy is
    // You can assign additional permissions to particular web applications by
    // adding additional "grant" entries here, based on the code base for that
    // application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.
    // Different permissions can be granted to JSP pages, classes loaded from
    // the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/
    // directory, or even to individual jar files in the /WEB-INF/lib/ directory.
    // For instance, assume that the standard "examples" application
    // included a JDBC driver that needed to establish a network connection to the
    // corresponding database and used the scrape taglib to get the weather from
    // the NOAA web server.  You might create a "grant" entries like this:
    // The permissions granted to the context root directory apply to JSP pages.
    // grant codeBase "file:${catalina.home}/webapps/examples/-" {
    //   permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
    //   permission java.net.SocketPermission "*.noaa.gov:80", "connect";
    // The permissions granted to the context WEB-INF/classes directory
    // grant codeBase "file:${catalina.home}/webapps/examples/WEB-INF/classes/-" {
    // The permission granted to your JDBC driver
    // grant codeBase "file:${catalina.home}/webapps/examples/WEB-INF/lib/driver.jar" {
    //   permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
    // The permission granted to the scrape taglib
    // grant codeBase "file:${catalina.home}/webapps/examples/WEB-INF/lib/scrape.jar" {
    //   permission java.net.SocketPermission "*.noaa.gov:80", "connect";
    // };

    Thank you for your reply.
    As I mentioned in my first post I had seen a couple of posts mentioning ServletContext before, but dismissed them as I am not using any servlets of my own. However, since you showed me exactly how it was used I realised I could probably just use a dummy servlet to get this information.
    The following page suggests a couple of techniques for doing just this.
    http://www.jguru.com/forums/view.jsp?EID=1087411
    So I think that's me sorted, cheers.

  • Problems access to a web application (Web Interface or Web report)

    Hi,
    We found problems with the access to web application. Some users have problems with direct links to the web applications(Web Interface or Web reporting), when they click on the link an error message appears, the message displays the following text:
    "Cannot open file Bex?sap-language=ENbsplanguge=ENcmd=idoc_TE.."
    Clicking in details the message is "No Access to specified file"
    For this users the access to excel reporting is correct, the message appears when they click on the direct web links through the browser or directly in BW system, but if they type the URL they can access. Other users can use the direct web link without problems.
    I highly appreciate any help or idea about how to solve this issue.
    Thanks in advance.

    HI,
    please ask to your basis that check the language of every single user on su01 tx.
    This is the problem i think.
    Natalia.

  • Unable to access java web application index page on Weblogic server 10.3.6

    Hi,
    I have deployed a Web application on Weblogic server.
    My war file is very basic with just a index page.
    I am able to deploy & access its index page properly in OC4J ( applicaton server on soa suite 10g ) and apache tomcat.
    But when i deployed same war file in weblogic am not able to access its index page, Getting below error:
    Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    *10.5.4 503 Service Unavailable*The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    status=Prepared, Consolidated State=Prepared, Target-Specific State= Prepared.
    what does Prepared indicates here?*
    Adminserver.log prints blow log when i try to access the index page
    ####<Dec 26, 2012 8:27:17 AM GMT> <Warning> <netuix> <soa-app-dev-01.am.health.ge.com> <AdminServer> <[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'> <501226496> <> <9b375c7445d8c121:79ee4f70:13bc880be7a:-8000-0000000000000209> <1356510437306> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3D*Weblogs*%2CType%3DAppDeployment%22%29.>
    My Deployment descriptors are as below:
    Web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
    <display-name>Weblogs</display-name>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <servlet>
    <description></description>
    <display-name>SOA11gLogServlet</display-name>
    <servlet-name>SOA11gLogServlet</servlet-name>
    <servlet-class>com.ge.healthcare.soa.logs.SOA11gLogServlet</servlet-class>
    </servlet>
    </web-app>
    ==================================================================
    weblogic.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.3/weblogic-web-app.xsd">
    <wls:weblogic-version>10.3.6</wls:weblogic-version>
    <wls:context-root>/Weblogs</wls:context-root>
    </wls:weblogic-web-app>
    ==================================================================
    Please help me to resolve the issue,its bit urgent.Let me know in case of anything else required to check and verify.
    Thanks in advance.
    Regards,
    Rahul Aahir
    Edited by: 978673 on Dec 26, 2012 4:22 PM
    Edited by: 978673 on Dec 26, 2012 4:32 PM

    In weblogic 10.3.6, when you deploy using console, you have to click on start button which appears in Deployments page.
    Your weblogic.xml file should be as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.3/weblogic-web-app.xsd">
    <wls:weblogic-version>10.3.6</wls:weblogic-version>
    <wls:context-root>/logs</wls:context-root>
    <container-descriptor>
    <index-directory-enabled>true</index-directory-enabled>
    </container-descriptor>
    <virtual-directory-mapping>
         <local-path>/opt/oracle/logs</local-path> (as per your path)
         <url-pattern>/logs/*</url-pattern>
         <url-pattern>*.log</url-pattern>
    </virtual-directory-mapping>
    </wls:weblogic-web-app>

  • How do I access files within projects of the same web application?

    Using JDeveloper Studio 11.1.1.1.0
    I'm creating a web application using the Model-View-Controller design pattern. Model represents data, View represents data display, and Controller is control...
    In my application, I created two projects: EJBModel and UserInterface. EJBModel contains the model aspect so it has entity objects and beans to access/manipulate the data. The UserInterface project stores the web interface - mostly jsps. In the UserInterface project, I need a managed bean that calls methods from the beans created in the EJBModel project. I can do this using the @EJB annotation and creating an instance of the class, but since the files are in separate projects that can't see each other and JDeveloper shows an error because it can't find the necessary file. It is best practice to create two projects as it keeps both elements distinct.
    So I wanted to know the best way to access the files stored in separate projects within the same application. Is there a way to package them together?
    Thanks...

    In the UI project, go to project properties->dependencies and add a dependency on the model project.
    This way JDeveloper will know what classes you are referencing.

  • Restricted access to attachments in SRM 7.0 web applications

    Hi,
    We have a very specific problem regarding the handling of attachments with SRM 7.0 web applications. The system is configured to use ArchiveLink for storing documents on a remote content server, which is working fine.
    Now we have a requirement which should restrict access to certain documents to specific user groups. As an example you could say that a Purchase order has (besides others) two documents attached, e.g.
    - signed contract
    - meeting minutes
    The contract should only be visible to a limited number of people, whereas the Meeting Minutes are accessible to everybody.
    Our problem is that apparently only one Content Category ("BBPFILESYS") is used by the SRM web applications for an upload. When granting authorizations on this content category, we cannot distinguish between contracts and meeting minutes anymore.
    Comparing this with the config in ECC we can freely define document types which can be used in AUTH profiles. Is there any similar solution that can be used in SRM 7.0?
    Any help would be greatly appreciated.
    Cheers,
    Mark

    Hello,
    Have a look at note 1334202. It provides some inputs.
    Regards,
    Ricardo

  • How a J2EE web application access CR reports stored on the CR Server XI?

    Hi,
    I'll be working on some crystal report templates that will eventually be hosted/publish on the CR Server XI.
    My questions are:
    1. How my J2EE web application access those reports?
    2. Do my web application uses some CR API for the connectivity and integration?
    3. What will happen to the database connectivity of the report template? since the report are created locally.
    4. Can the report template be edited/updated on the server?
    5. How the CR XI login functionality be involve in the integration (web application ---> CR Server XI)?
    6. Is the J2EE web application be deployed on similar web/application server where the CR Server XI resides?
    7. What is the role of RAS, Universe, Business View Manager to this whole CR integration?
    I hope you can provide some guidance on this journey to Crystal Report world
    Regards,
    Rulix Batistil
    Genesis Networks Pte Ltd
    www.gen-net.com.sg

    1) Your application connects via the Java SDK using the appropriate JAR files.
    2) It can.  You can set the database information at runtime or use the already populated information from Enterprise.
    3) Same as 2.   Typically when you save the report to Enterprise you set up the database information there so that it runs against the database you want without prompting.  You can change this via code to hit whatever equivalent database you want.
    4) Yes.  You would have to use RAS and the RCAPI to accomplish this via code.  You can also make changes in the designer and overwrite the existing report template.
    5) You will log in via code. The information on how to do so is in the SDK documentation, which I will link.
    6) It can be deployed to the same machine as CR Server, though we recommend against that.  Typically you will want to deploy it to a seperate web server and allow it to connect to the CR Server across the network.
    7) RAS can be used to run reports, as well as the page server.  The universe and business view manager are not directly used in code.  If a report runs against a universe or business view then it will use them for data, but you wouldnt do anything with them directly.
    [BOE Developer Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    You will find the Java SDK information under the BusinessObjects Enterprise SDK section.
    Best Regards,
    Jason

  • How to access an EJB from a web application deployed in the same server

    Hey All,
    I deployed an EJB named EventServerBean to Sun Application Server 9.0, and put the client side jar file (named eventserver.jar which is generated by Sun Application Server) to C:\Sun\AppServer\lib. Now, I have a web application which is a simple jave file -- lookup EventServer EJB and invoke a remote method in this EJB. However, the web application always throws an exception "java.lang.NoClassDefFoundError: eventserver/EventServerRemoteHome"
    Here is my java class that access the ejb:
    public class Post_Event {
        public HashMap<String, String> getEventInfo(String event_name, String site) {
            System.out.println("Post_Event, the class path: " + System.getProperty("java.class.path"));       
            System.out.println("Post_Event, user.dir: " + System.getProperty("user.dir"));
            System.out.println("Post_Event, java.library.path: " + System.getProperty("java.library.path"));
            HashMap<String, String> result = null;
            EventServerRemote remote = null;
            StringTokenizer st, st2;
            // here get the event information from host
            try {
                String lookupStr = "corbaname:iiop:" + site + ":3700#ejb/EventServerBean";
                InitialContext initialContext = new InitialContext();
                EventServerRemoteHome remoteHome = (EventServerRemoteHome) javax.rmi.PortableRemoteObject.narrow(initialContext.lookup(lookupStr), EventServerRemoteHome.class);
                if (remoteHome != null) {
                    remote = remoteHome.create();
            } catch (javax.naming.NamingException ne) {
                ne.printStackTrace();
                return null;
            } catch (javax.ejb.CreateException ce) {
                ce.printStackTrace();
                return null;
            } catch (java.rmi.RemoteException re) {
                re.printStackTrace();
                return null;
            } catch (java.io.IOException ioe) {
                ioe.printStackTrace();
                return null;
            System.out.println("look up remote event server successfully.");
         result = remote.getEvent(event_name);
            return result;
        } I output the class path in this java file, and the class path DOES include the path C:\Sun\AppServer\lib where eventserver\EventServerRemoteHome.class is.
    Does anyone know why it happens? Why a java class can't find a class that is in its class path?
    appreciate any help!

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Wael Abbas ([email protected]):
    Thank you for your great topic.
    I think you need to copy the snippet code and past it to every application, applet, servlet or JSP every time you need to use your EJB.
    Its better to include this snippet code in a simple JavaBean and use this bean as a bridge to your EJB, you may include a connect method in your JavaBean or but the connection code in the constructor and include a setters, getters and other methods to encapsulate your EJB methods.
    You can use your JavaBean in any application, applet, servlet or JSP just create an object form it and call its methods.
    Its just an idea
    I hope it will be useful.
    <HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Switching from MAC to PC

    I recently bought a new 5th Generation iPod and when I got it I was using a MAC. I am now using Windows but the iPod is setup for MAC and when I plug it into my computer it's not recognized in iTunes. I had reset it to the original factory settings s

  • How do you get your IPhone camera roll pictures onto your ITunes account?

    How do I get photos taken on my IPhone (meaning my photos from my camera roll), onto my ITunes account. I already have my photos saved on my computer, but when I try to sync the photos onto my ITunes account, the photos only get added back to my IPho

  • Does the Order of the tablesjoins in Where clause matter in ORDERED hint?

    The ORDERED hint requests that the tables listed in the FROM clause of a SQL statement be joined in the order specified. But does the order of the join in "where" clause matters? Will be there any performance difference between below query? The order

  • Java.sql.SQLException: Missing IN or OUT parameter at index:: 2

    hi am having this error where the page load,am in jdeveloper 11.1.1.6.0,i have created a autosuggest in my inputtext as below,i am trying to do cascanding lov Edited by: adf0994 on 2013/01/10 4:27 PM

  • Recruitment: Multiple Actions on the same day

    Hi expert, Understand that in PA, we are able to perform multiple actions on the same day with the aid of Additional Actions infotype (0302). However, in Recruitment module (i.e. PB), we are unable to perform the above, the previous action record wil