Finding a pages URL once it is deployed to app server

Hi, I have deployed a jheadstart application to Oracle Application Server, I know the context root, and an authentication window pops up if I enter the context folder after the server name, but I can't locate the page I want within the context folder, the server returns file not found errors on all the paths i've tried...
How is the URL location of the pages determined? Is it built up from the file structure in the app server j2ee home, or does it depend on the application structure in Jdeveloper before deployment?
The jheadstart app structure is: Application -> ViewController -> Web Content -> pages -> mypage.jspx
The deployed folder structure in app server is : j2ee\home\applications\myapplication\ViewArchive\pages\mypage.jspx
So in this case what would the URL be after the context root to bring up mypage.jspx ?

Michael,
Yes, you can add an index.jsp to yout web root dir, with the following content:
<% response.sendRedirect("faces/pages/Home.jspx"); %>
In JHeadstart 10.1.3.2 we will geenrate such a file as a convenience.
You can also specify a welcome file in web.xml.
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • Whether java component (Not ejb, not servlet) can be deployed in App Server and get the services provided by App Server

    As I mentioned in subject, I am just wondering Whether the java component (Not
    ejb, not servlet) can be deployed in App Server and get the services provided
    by App Server or not?

    Nevermind folks - I got it to work. All my configuration was correct; I had other issues with the ejb-jar file that the verifier informed me of (my previous deployments were with the verifier turned-off).

  • Page Break does not work in PDF report when deployed to App Server

    I have a report with a PAGE Break before on a repeating frame that holds a matrix report. In reports designer on the PC, the report correctly shows the page break. When deployed to the app server, the report shows the page after the break superimposed on top of the page before the break.
    The report has a repeating frame that spans both pages and holds the header information (page 1), and the matrix report (page 2).
    Any suggestions on how to fix this would be greatly appreciated.
    Deb

    Crystal Reports Designer 2008 and Business Objects Enterprise XI release 2 are not in the same suite release. You should use Crystal Reports Designer XI release 2 to connect BOE XIr2.

  • Deployment on APP Serv on LINUX

    Hello Everyone,
    I have an application developed in JDEVELOPER 10g on Windows. My application needs to be deployed on ORACLE 10g AS on RED HAT LINUX Release 4.
    I created a EAR/WAR file using JDEVELOPER and copied the same on LINUX and deployed the application using the App Server web interface. During the creation of the WAR file it asks for the application name and then for the WAR file name. Now when the application gets deployed, it creates a folder in the name of the application and inside which it creates a folder in the name of the WAR file and puts all the application structure into it. Now when i open my application in the browser, it does not find any files in the path because of the additional folder in the structure. I am tired of trying all possible options but no luck. I am supposed to deploy the application on the client machine in 1 week time and i have no luck yet on LINUX... In quite a soup at this moment. PLEASE HELP...

    This is not an operating system issue.
    When you deploy an WAR (within an EAR or standalone) you're asked for a context root. This context root must be used within the URL you specify to access the files of the WAR.
    Sample URL:
    http://mylinuxbox:8888/contextRootName/login.jsp
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Problems between IDE and Deployment on App Server 8.2

    I have an application that I wrote last year using JSC-EA and converted it ti JSC2-1. I can run the application on my development environment SunAppServer 8.2 with no problems.
    When I attempt to deploy it to a standalone Sun App Server 8.2 I experience the following:
    1) Login page works fine
    2) Main menu selection page works fine
    3) Results page does not display information.
    More details:
    Main Menu page consists of:
    1) a page with a page fragment that contains a menu.
    2) 3 or 4 JSF components
    Results page consists of:
    1) 2-3 JSF text components (display OK)
    2) Same menu page fragment as above (displays OK)
    3) Second page fragment that contains a table with components added under program control (does not get displayed in deployment server, but displays fine in IDE server).
    Is there ANY possibility that this can be related to migration from JSC2-EA to JSC2-1? If so, what could cause this behavior?
    Is there ANY explanation as to why the application displays OK in the IDE (same app server version as deployment) but not in the deployment server?
    ANY help is appreciated.
    Thanks,

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

  • Deploying to App Server and OC4J

    Hi,
    I am deploying my web service to our Oracle 9i 9.0.3 app server. During testing, I noticed that every consumer does not get it's own instance of the provider. Hence, it does not support concurrent web service calls.
    From my understanding, this is an OC4J configuration issue, and you can change the deployment options where every session has it's own instance. Does anybody know how to do this?
    Thank you in advance!!!!

    Well,
    Yes and no. I want every consumer to have it's own instance of the web service provider, BUT when the consumer is done, I want that instance garbage collected. In essence, I want to support concurrent stateless web service calls.

  • Servlet error after deploy to app server

    Hi,
    When I run my jheadstart app from local pc then everything is fine. When I deploy the same app to the app server it starts correctly, and works somehow. But, when I click the new button in any kind of jsp, I get the following error:
    05/05/18 09:58:19 Started
    05/05/18 09:58:27 ilbi: jsp: init
    05/05/18 09:58:28 ilbi: action: init
    05/05/18 09:58:29 ilbi: uix: init
    05/05/18 09:58:31 ilbi: 9.0.4.1.0 Started
    05/05/18 09:59:06 ilbi: Servlet error
    java.lang.ClassCastException
         at oracle.jheadstart.util.ReportingUtils.processException(ReportingUtils.java:274)
         at oracle.jheadstart.util.ReportingUtils.translateExceptionToStrutsErrors(ReportingUtils.java:149)
         at oracle.jheadstart.util.ReportingUtils.reportErrors(ReportingUtils.java:131)
         at oracle.jheadstart.controller.strutsadf.action.JhsStrutsJspLifecycle.reportErrors(JhsStrutsJspLifecycle.java:263)
         at oracle.adf.controller.struts.actions.DataAction.reportErrors(DataAction.java:269)
         at oracle.adf.controller.struts.actions.DataAction.reportErrors(DataAction.java:463)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:150)
         at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:222)
         at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.handleLifecycle(JhsDataAction.java:389)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:153)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         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 (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at khb.ilbi.controller.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:113)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    I think this is a deployment problem and I tried to resolve used the deployment issue on this forum (I made the ADF Runtime manual installation steps), but at this moment I have no idea.
    Could anybody help me, please?
    thanks
    Gyula

    Hi,
    Here are the codes:
    OLD CODE:
    protected void create(AttributeList attributeList)
    super.create(attributeList);
    setOwnerId(AdfbcUtils.getValueFromSequence("ILB_OWNERS_S", getDBTransaction()));
    NEW CODE
    protected void create(AttributeList attributeList)
    super.create(attributeList);
    setOwnerId(getSeqNum("ILB_OWNERS_S", getDBTransaction()));
    getSeqNum:
    PUBLIC NUMBER getSeqNum(String sequenceName, DBTransaction tr) {
    STATEMENT st = NULL;
    ResultSet rset = NULL;
    NUMBER retVal = NULL;
    try {
    String stmt = "select to_char(" + sequenceName + ".nextval) from dual" ;
    st = tr.createStatement(1);
    rset = st.executeQuery ( stmt );
    WHILE (rset.NEXT())
    retVal = NEW NUMBER(rset.getString(1));
    logger.DEBUG("Sequence captured");
    RETURN retVal;
    } catch (SQLException s) {
    logger.DEBUG("Sequence not captured because error occured");
    throw NEW JboException(s);
    } finally {
    try {
    IF (st != NULL) st.CLOSE();
    } catch (SQLException s) { /* ignore */ }
    Gyula

  • Essbase shuts Down Abruptly+Deployment to App server Failed

    Hi Folks,
    I was trying to Install 11.1.1.3 ...as far as the installation part is concerned it goes well However when it comes to configuring the configuration part fails and throws me the following error when trying to Deploy to Application server ...Here is the Log that was Generated in Configtool.log File ....Also when i try physically checking into the win services Essbase service shuts down after every services refresh ...Any solutions would be highly appreciated
    Log
    "(Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.ant.weblogic.WeblogicConfigurator, DEBUG, Done appending log info from : C:\Hyperion\deployments\WebLogic9\scripts\deployeas.log
    (Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.ant.weblogic.WeblogicConfigurator, DEBUG, Verifying deployment results for server eas...
    (Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.ant.weblogic.WeblogicConfigurator, DEBUG, Application "eas" has been successfully deployed.
    (Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.ant.weblogic.WeblogicConfigurator, ERROR, Failed to deploy application "easconsole".
    (Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
    com.hyperion.cis.config.AppDeployException: Weblogic deployment failed
         at com.hyperion.cis.config.AppServerDeployer.deployToWeblogic9(AppServerDeployer.java:813)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:294)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:269)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeAppDeploymentTask(RunAllTasksWizardAction.java:609)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:215)
         at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)
    (Oct 16, 2009, 00:17:19 PM), com.hyperion.cis.config.runner.core.Storage, DEBUG, Setting all instances to state Started...
    (Oct 16, 2009, 00:17:19 PM), com.hyperion.cis.config.runner.core.Storage, DEBUG, Dumping instances serve order:
    (Oct 16, 2009, 00:17:19 PM), com.hyperion.cis.config.runner.core.Storage, DEBUG, >>>[eas]
    (Oct 16, 2009, 00:17:19 PM), com.hyperion.cis.config.runner.core.Storage, DEBUG, End of dump
    (Oct 16, 2009, 00:17:19 PM), com.hyperion.cis.config.runner.core.Storage, DEBUG, ...done"
    I tried doing a fresh Install ...even that doesn't work.
    Is it because i am using Apache 2.2 i even tried downgrading it to Apache 2.0.6 .Most important thing that i forgot to mention i am trying to configure using Web-logic 9.2 and not using the Embedded java built in controller .
    Edited by: user11310522 on Oct 16, 2009 9:38 AM

    In Reference to the Above post here is the log generated in configtool_err.log file .I dunno if this could be of any help in figuring out the issue with Essbase
    "(Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.ant.weblogic.WeblogicConfigurator, ERROR, Failed to deploy application "easconsole".
    (Oct 16, 2009, 00:17:17 PM), com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
    com.hyperion.cis.config.AppDeployException: Weblogic deployment failed
         at com.hyperion.cis.config.AppServerDeployer.deployToWeblogic9(AppServerDeployer.java:813)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:294)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:269)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeAppDeploymentTask(RunAllTasksWizardAction.java:609)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:215)
         at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)"

  • Problem with JDBC deploying to App Server 8.1

    Hi,
    I'm trying to deploy my application onto App Server PE 8.1, and it connects to an Oracle database. I created the connection as described in the Creator 2 tutorial, but when I attempt to ping I get the following error:
    [sunm][Oracle JDBC Driver]OS Authentication was requested, but is not supported by this Oracle Server.
    I supplied a username and password. Why is it trying to perform OS authentication and how to I make it stop?
    Thanks,
    Rick

    Quoting this from DataDirect JDBC Driver documentation
    http://media.datadirect.com/download/docs/jdbc/jdbcref/jdbcoracle.html#wp1001070
    If a user ID is not specified and the driver is running on a Windows platform, the driver uses Type 2 OS authentication when establishing a connectionIf you are deploying to bundled PE, all the datasource config would be automatically done for you.
    If you are deploying to a standalone PE, Sun JDBC Driver won't work with it. Only Creator Bundled PE and Sun AppServer StandardEdition & EnterpriseEditions can work with Sun JDBC Drivers.
    HTH,
    Sakthi

  • Security Exception deploying to App Server with Creator

    I'm trying to deploy a Spring/Hibernate application to the default app server with creator. I'm getting an exception which seems to be related to security settings on the server and the cglib library that Hibernate requires. Below is the full stack trace. Does anyone know what I can do to solve this problem? I had a brief look at the server.policy file but don't know what to modify or if I need to modify it at all.
    When I deploy the .war to Tomcat, I do not receive this exception.
    Thanks!
    Mike
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError: null
    java.lang.ExceptionInInitializerError
    at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167)
    at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
    at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
    at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
    at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
    at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
    at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
    at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:237)
    at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:805)
    at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:535)
    at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:470)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1065)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)
    at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:224)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:150)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4010)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4522)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
    at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
    at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1279)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1006)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:238)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    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:585)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
    at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission getProtectionDomain)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at java.lang.Class.getProtectionDomain(Class.java:2074)
    at net.sf.cglib.core.ReflectUtils$1.run(ReflectUtils.java:42)
    at java.security.AccessController.doPrivileged(Native Method)
    at net.sf.cglib.core.ReflectUtils.<clinit>(ReflectUtils.java:40)
    ... 98 more

    Try this:
    //Required permissions for Hibernate
    grant codeBase "file:/path-to-web-project/Creator-project-name/build/web/-"{
    permission java.util.PropertyPermission "*", "read,write";
    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
    permission java.lang.RuntimePermission "accessDeclaredMembers";
    permission java.lang.RuntimePermission "getProtectionDomain";
    };Replace path-to-web-project with the path to your project's folder. For example,
    file:/C:/Documents and Settings/localuser/My Documents/Creator/MyCreatorProject/build/web/-

  • Java Web Service Deployed on App server does not run

    hi,
    I created a java web service and deployed it on my Application server. When i open the enterprise manager i find my webservice there. I click on test web service and it gives me two options one with a 4443 port and other with a 7777 port. It picks up a 0.0.0.0 hostname though i deplyoed it on to a different machine.
    I choose to use the 7777 port and test the web service whrn i click invoke it give me the error
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    and when using the 4443 port it gives me the error as
    "SSL Error: unable to find valid certification path to requested target"
    please suggest how i can test a simple java webservice.
    Thanks
    Sravanti

    I think the problem is to add the custom dll files while deploying the application. Could any one please suggest how i can add custom dll file for deployment?
    Thanks
    Sravanti

  • URL to public_html docs on the app server version of Portal Server 6.0

    I recently switched from Portal Server 6.0 to the Portal Server version that runs under Sun's Application Server 7.
    I want to create a bookmark that references a URL that is already located on the portal server itself.
    I did this in the previous version by placing my files in a subdirectory under /opt/SUNWam/public_html/go/index.html
    I could access the URL by creating the bookmark with the relative URL /go/index.html
    This no longer works under the application server version of portal server 6.0. I tried placing my file in /opt/SUNWappserver7/SUNWam/public_html/go/index.html and referencing the file as /go/index.html
    Anybody know what the new relative URL would be to access this document?

    By golly, I figured it out.
    In order to use the URL /go/index.html as the bookmark, the file needs to be placed in the "go" subdirectory off the default document root of the application server at /var/opt/SUNWappserver7/domains/domain1/server1/docroot/go/index.html

  • How to find a duplicate file and Time stamp in an app. server

    Hi all,
               My program need to access a file from application server. If there exists DUPLICATES in the same folder I need to pick the one with latest TIMESTAMP.
    Could u please help me in this regard?

    Hi Dude,
    I suppose ,file names are unique in the same folder.
    So proceed normally,specifying the exact file path.
    Regards,
    Lakshmanan

  • How do I restore my old Firefox desktop. It was setup the way I like it and now its gone. is there a way to find the old URL so I can restore my page? I

    Some f___ing program change my FireFox home page which was set-up just the way I work and the way I like. I once wrote down the URL so if this happened again I could just type it in and then drag the URL over to the little house and it would restore my page. Now I can't find the URL, its bee so long since I used and now I'm stuck. I have lost all my items as I had them set-up. Any help in finding that old URL would be most appreciated.

    Can you remember what that page looked like?
    Was this a customized Google or Yahoo page?
    You can check the History (History > Show All History) and possibly the cache (about:cache) to see if some page looks familiar.
    *http://alternativeto.net/software/awesome-new-tab-page/

  • Get "404 Not Found" after deployment.  How to find out correct URL?

    To the experienced:
    In preparing to deploy my application, I am using JDeveloper 10.1.3.4 to deploy the application to the standalone oc4j server that is included in JDeveloper. After the deployment, I get the "404 Not Found" error when trying to invoke the application in a browser. The deployment looks OK, becasue the log window in JDeveloper showed no error when running deployment from inside JDeveloper. Therefore I guess the question is how to find out the correct URL to invoke the application. The steps I took in doing the deployment are as follows.
    I first installed the standalone oc4j by running the <jdev_home>\jdev\bin\start_oc4j .bat file. The installation is OK because I deployed the SRTutorial applcation and invoked it in a browser successfully.
    The WAR file was created by right-clicking the ViewController project and select to create a WAR file. To the application's Context Root its own name, I typed "ZB" in the box for the context root.
    Then in ViewController -> Resources, right_click the deployment file (ZBOV.deploy) and chose "Deploy to" the local_standalone_oc4j. The messages in JDeveloper's log window for the deployment are all clean without errors.
    I then used this url to invoke the deployed application in a browser:
    http://localhost:8888/ZB/faces/staff/login.jspx
    But I got an "404 Not Found" error. Right away I tried invoking the SRTutorial application, and it runs fine.
    login.jspx is one of the pages for the appllication. In the application navigator, it is located with other files in the ViewController/Web Content/staff folder, therefore I used /staff/login.jspx after ZB/faces.
    What could be wrong? If the deployment is actually successful, how to find out the correct url to invoke the application?
    Many thanks for your help!
    Newman

    Hi, Arun,
    Thank you for the suggestion. I tried it but got the same error.
    I tried it by first undeploying the application using the enterprise manager page (which is also part of the oc4j included in JDeveloper). I select the application and clicked the undeploy link, confirmed that I wanted to remove it. And it was removed.
    Then in JDeveloper, I right-clicked the ViewController, and in the properties of the probject selected "J2EE Application" and then selected "Use Custom Settings", then in the "J2EE Web Context Root" box I entered "ZB". Created the deployment profile again, overwriting the existing one, and then right-clicked the ZB.deploy node to deploy to the standalone oc4j on the localhost. And I used the url:
    http://localhost:8888/ZB/faces/staff/login.jspx
    And I got the same "404 Not Found" error.
    There was no error at the time of deployment using the ZB.deploy profile. On the enterprise manager page, the path of the deployed application is given as /C:/jdev10134/j2ee/home/applications/ZB.ear, and the folder of the deployed application is there. Question is: if the deployment is actually OK, can the correct URL be found in some file somewhere in the folder?
    All ideas and suggestions are very much appreciated!
    Newman

Maybe you are looking for

  • Imported Songs from Hard Drive Not Converting MP3 Tags Properly

    This is a problem that I am having with files that I am adding to iTunes with "File==>Add Folder To Library". These are mp3 files. I no longer have the CDs. The mp3 files and their tags (like song artist and album) are being read properly by Windows.

  • HT1353 how do i get my music back on the i-pod?thankyou

    how do i get my music back on my i-pod?thankyou

  • I formatted my hard disk, and I want to...

    I erased all the hard disk, I want to return all the music to my pc, in the moment I connect the iPod to PC, suddenly I open the folder where is the I pod from the "C" drive, so... I drag the folder from the iPod to the pc , and the name song is chan

  • Using InDesignCS3 on Portrait Monitor

    We just had dual monitors installed and would like to have InDesignCS3 open in PORTRAIT view so that we could view an entire page. Unfortunately, we can move the IND screen to the second monitor and rotate the screen, but the image is still in landsc

  • Paper source by page size not doing the trick

    We are using Acrobat X on Windows 7. Are there printing presets that allow for 8.5x11 to print as is, but limits larger pages to 11x17? We have to deliver large PDFs to a commercial printer (so we'd like to save presets to file) for them to print a "