Define a virtual-directory in a web application running in OC4J

Hi,
I need to create a virtual directory that point to a local network point, but putting it in this way does not work, somebody knows if this can be done and how?
<virtual-directory virtual-path="/Contratos"
real-path="\\remoteServer\contratos" />
or
<virtual-directory virtual-path="/Contratos"
real-path="x:\contratos" />
(Where x: points to \\remoteServer)
This not work.
IAS 10.1.2.3
Windows 2003 Server
Thanks

Refer these:
http://download-west.oracle.com/docs/cd/B14099_19/web.1012/b14017/confdesc.htm#sthref545
http://buttso.blogspot.com/2006/05/oc4j-virtual-directory-mapping.html
Thanks
Shail

Similar Messages

  • Is it possible to access Pages from an web application running in Safari in i-Pad?

    Is it possible to access Pages application from an web application running on safari browser in iPad ?

    Since you control the application AND the plugin - you can define ANY method of communication you want.  Shared files, shared memory, IPC, named pipes, etc.

  • How to integrate a flex build in a web application running on jBoss 5.1

    Hi,
    I have two flex builds for a messaging application that I have to integrate with my web application running on Jboss 5.1 . I have tried hot deploying the builds into the default deploy folder of Jboss,but that approach doesn't seem to work(maybe because I may need to make war out of the flex builds). Can someone tell me an approach of how to accomplish this. Can I leverage BLAZEDS for this purpose.
    Thanks
    Rohit Kumar

    Hi,
    Go through Re: Web Dynpro and Smart Forms.
    Regards,
    Satyajit.

  • Integration of a web application running on tomcat

    Hi all experts,
    I want to integrate a web application running Apache Tomcat/5.5.20.
    it's login page(jsp  page) have two input box uid and pwd.Login Application
    calls a servlet in Apache Tomcat/5.5.20 web.xml.
    For Accessing the loging page url is http://2.2.3.2:8080/uportal/Login
    I tried with app integrator
    URL Template  <System.protocol>://<System.server>:<System.port><System.uri>?<Authentication>
    URL Template fragment for User Mapping is
    login=<MappedUser>&passwd=<MappedPassword>
    But its giving error
    description The server encountered an internal error () that prevented it from fulfilling this request.
    java.lang.NullPointerException
         ubq.base.UEncryptionService.encrypt(UEncryptionService.java:29)
         ubq.base.UUserManager.loginUser(UUserManager.java:25)
         ubq.base.ULoginServlet.doPost(ULoginServlet.java:106)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Can any body help me ,My problem is that i cant change any code in backend application.
    Thanks in advance.
    Regd,
    Sanjay

    Hi Sanjay,
    Does the Tomcat is in the local System?
    If it is in local system try to run the application using
    <serverhost>://localhost:8080/......
    else for remote server
    Its always safe to add an entry (alias name) in drivers/hosts file with the ip address of the server like
    2.2.3.2     myLocalServer
    Now try to run and see.
    Thanks,
    Swathi
    PS:points are welcome:-)

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • Not able to clear session of web application running inside wpf browser control

    Hi,
    I have used below code to clear session of web application running inside wpf browser control .   
    [DllImport("wininet.dll", SetLastError = true)]
       private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength);
     InternetSetOption(IntPtr.Zero, INTERNET_OPTION_END_BROWSER_SESSION, IntPtr.Zero, 0);
    This code is working in Windows 8 but it is not working in windows 7 and windows 8.1.
    I want to know why it is not working and how to make it work in windows 7 and windows 8.1
    Please help.
    Thanks & Regards,
    Pritesh

    Hi,
    I have used below code to clear session of web application running inside wpf browser control .   
    [DllImport("wininet.dll", SetLastError = true)]
       private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength);
    InternetSetOption(IntPtr.Zero, INTERNET_OPTION_END_BROWSER_SESSION, IntPtr.Zero, 0);
    This code is working in Windows 8 but it is not working in windows 7 and windows 8.1.
    I want to know why it is not working and how to make it work in windows 7 and windows 8.1
    Please help.
    Thanks & Regards,
    Pritesh

  • Which servers do web applications run on?

    As far as I know, SharePoint runs IIS web sites for each web application on any server that has "SharePoint Foundation Web Application" running on it. And this is an "all or nothing" operation - you get all the web applications or none. 
    I've always been uneasy about this because you need the Web Application on the Central Admin server, but then that puts *all* your web apps on the server, which is unnecessary. 
    Is there a way to assign web apps to specific servers? 
    Philo Janus, MCP Bridging business & Technology: http://www.saintchad.org/ Telecommuter? http://www.homeofficesurvival.com/ Author: Pro InfoPath 2007 & Pro InfoPath 2010 Pro PerformancePoint 2007 Pro SQL Server Analysis Services 2008 Building Integrated
    Business Intelligence Solutions

    Hiya,
    Out of the box, it's an all or nothing. Either the servers acts as WFE or it does not. This is part of the the streamlined topology strategy, and the same as any previous topology. This in order to reduce maintenance operation time/cost.

  • Can a fusion web application run on smart phones also? Then what about database for mobiles?

    Sir,
    Can a fusion web application run on smart phones also? Then what about database for mobiles?
    Regards

    Any web application can run on smart phone because you are accessing it from browser so no need for database or application server on your mobile
    It is same as accessing any website on mobile
    If you are talking about mobile app
    check this - http://www.oracle.com/technetwork/developer-tools/adf-mobile/overview/adfmobile-1917693.html
    Ashish

  • Application running in OC4J (10.1.3.4)Getting issue in OC4J (10.1.3.5) Ver.

    Hi,
    Below log issue appearing while deploying same application running in OC4J (10.1.3.4 Getting issue in with OC4J (10.1.3.5) .
    Tried importing relevant jar files into our application library
    backport-util-concurrent-3.1.jar
    com.springsource.edu.emory.mathcs.backport-sources-2.2.0.jar
    clover-2.4.2.jar
    js-14.jar
    Still issue is not resolved, Any one please advice, We are using Spring, Struts 1.2 and Hibernate 3.0 in this applicaiton.
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    02-14@07:49:28 DEBUG (ClassUtils.java:164) - Class [edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap] or one of its dependencies is not present: oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
    Dependent class: org.springframework.util.ClassUtils
    Loader: fzgpdtp.web.fzgpdtp:0.0.0
    Code-Source: /u01/app/oracle/product/oas/1013/j2ee/FZGPExternal/applications/fzgpdtp/fzgpdtp/WEB-INF/lib/spring-2.5.2.jar
    Configuration: WEB-INF/lib/ directory in /u01/app/oracle/product/oas/1013/j2ee/FZGPExternal/applications/fzgpdtp/fzgpdtp/WEB-INF/lib
    This load was initiated at fzgpdtp.web.fzgpdtp:0.0.0 using the loadClass() method.
    The missing class is not available from any code-source or loader in the system.
    02-14@07:49:28 INFO (ContextLoader.java:188) - Root WebApplicationContext: initialization started
    02-14@07:49:28 INFO (AbstractApplicationContext.java:412) - Refreshing [email protected]18d085a: display name [Root WebApplicationContext]; startup date [Tue Feb 14 07:49:28 GST 2012]; root of context hierarchy
    02-14@07:49:28 INFO (XmlBeanDefinitionReader.java:309) - Loading XML bean definitions from class path resource [../config/services-applicationContext.xml]
    02-14@07:49:29 ERROR (ContextLoader.java:214) - Context initialization failed
    java.lang.NullPointerException: name
    at java.util.zip.ZipFile.getEntry(ZipFile.java:247)
    at java.util.jar.JarFile.getEntry(JarFile.java:204)
    at java.util.jar.JarFile.getJarEntry(JarFile.java:187)
    at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:674)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:161)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:213)
    at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1113)
    at java.lang.ClassLoader.getResource(ClassLoader.java:974)
    at oracle.classloader.PolicyClassLoader.findJREResource(PolicyClassLoader.java:1233)
    at oracle.classloader.JVMSearchPolicy.findResource(JVMSearchPolicy.java:36)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.getResource(PolicyClassLoader.java:1763)
    at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
    at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:139)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:322)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:296)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
    at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1279)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
    at com.evermind.server.Application.getHttpApplication(Application.java:592)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    02-14@08:17:17 INFO (ContextLoader.java:188) - Root WebApplicationContext: initialization started
    02-14@08:17:17 INFO (AbstractApplicationContext.java:412) - Refreshing [email protected]f20d33: display name [Root WebApplicationContext]; startup date [Tue Feb 14 08:17:17 GST 2012]; root of context hierarchy
    02-14@08:17:18 INFO (XmlBeanDefinitionReader.java:309) - Loading XML bean definitions from class path resource [../config/services-applicationContext.xml]
    02-14@08:17:18 ERROR (ContextLoader.java:214) - Context initialization failed
    java.lang.NullPointerException: name
    at java.util.zip.ZipFile.getEntry(ZipFile.java:247)
    at java.util.jar.JarFile.getEntry(JarFile.java:204)
    at java.util.jar.JarFile.getJarEntry(JarFile.java:187)
    at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:674)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:161)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:213)
    at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1113)
    at java.lang.ClassLoader.getResource(ClassLoader.java:974)
    at oracle.classloader.PolicyClassLoader.findJREResource(PolicyClassLoader.java:1233)
    at oracle.classloader.JVMSearchPolicy.findResource(JVMSearchPolicy.java:36)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.getResource(PolicyClassLoader.java:1763)
    at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
    at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:139)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:322)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:296)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
    at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1279)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
    at com.evermind.server.Application.getHttpApplication(Application.java:592)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    02-14@08:26:01 INFO (ContextLoader.java:188) - Root WebApplicationContext: initialization started
    02-14@08:26:02 INFO (AbstractApplicationContext.java:412) - Refreshing [email protected]125560f: display name [Root WebApplicationContext]; startup date [Tue Feb 14 08:26:02 GST 2012]; root of context hierarchy
    02-14@08:26:02 INFO (XmlBeanDefinitionReader.java:309) - Loading XML bean definitions from class path resource [../config/services-applicationContext.xml]

    Hi there,
    Check for jars you are importing with JVM. The version of jre and its compatibility with imported jars.
    Hope it helps !
    Reg,
    MS

  • Integrating java application running on OC4J server with EP Iview

    Hi,
         I Want to Integrate Java Application running on OC4J server with my Enterprise portal
    Can any one please help me out in this??
    Regards
    Padma N

    Hi Padma
    Its possible to integrate a java application running in the other server with enterprise portal.In portal i think there is a IView template call Java application template.Using this generally we can do this.But in you case what type of a java application is it?Just a class or webapplication or a server side application.This you can also acheive using a webdynpro applications as these are very flexible with integration into EP.In webdynpro you can use suspend and resume plugs to navigate from one application to other application.I have given my ideas how to implement.But integration mainly depends upon your landscape and version compatibilities and type of the application you need to integrate.
    Hope this answer helps you in implementation.
    Regards
    Kalyan

  • Add virtual directory to orion-web.xml file of embedded OC4J instance

    I'd like to add a virtual directory to the orion-web.xml file of the embedded OC4J application which comes with JDeveloper (version 10.1.3.3.0.4157). Every time I run my application however, a new orion-web.xml file is created which overwrites the orion-web.xml file with my virtual directory. The orion-web.xml is located in the <JDev_Home>\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\<app Name> directory.
    Does anybody know a solution to this problem?
    Regards,
    Matthieu

    hi there,
    i have the same problem, all the configuration files are included in the EAR file, like application.xml,...
    but the orion-web.xml is not included.
    I dont have that option that you mencioned File->New->Deployment Descriptiors -> web...for oc4j...
    I can create a EAR, WAR or JAR in File->New->Deployment Profiles.
    I need the orion-web.xml to define the MIME types the servlet can return, is it really needed?
    regards,
    Laura

  • Virtual directory in iplanet web server 4.1

    Hi
    We are new to iplanet web server4.1 .we need to run the jsp files from
    weblogic 5.1.we have done the following configuration
    1)changed the obj.conf file as per documents in weblogic.
    2)changed the mime types for jsp from magnus-internal/jsp to text/jsp .
    3)i have created a virtual directory with url prefix as "ashish" and Legacy
    JSP directory as
    "c:/weblogic/myserver/public_html/jspfiles"
    4)i have file test.jsp with the path as
    "c:/weblogic/myserver/public_html/jspfiles/test.jsp"
    5)in the browser i give the path as http://atg/ashish/test.jsp where atg is
    machine name.now the problem is instead of looking for the file as
    "c:/weblogic/myserver/public_html/jspfiles/test.jsp"
    it look as "c:/weblogic/myserver/public_html/jspfiles/ashish/test.jsp"
    because of this it does not find the file .
    6)if i create ashish folder in c:/weblogic/myserver/public_html/jspfiles
    then it finds the file.
    what is the problem .???
    also on obj.conf file i have written as
    Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy"
    WebLogicHost="192.168.100.78" WebLogicPort="7001"
    i have omitted pathprepend directive above.
    Any ideas for this problem.What is the concept of virtual directory which is
    there in Internet Information Server.
    Thanks in advance
    Ashish

    Please see my response in the JSP newsgroup
    Ashish Nathani wrote:
    Hi
    We are new to iplanet web server4.1 .we need to run the jsp files from
    weblogic 5.1.we have done the following configuration
    1)changed the obj.conf file as per documents in weblogic.
    2)changed the mime types for jsp from magnus-internal/jsp to text/jsp .
    3)i have created a virtual directory with url prefix as "ashish" and Legacy
    JSP directory as
    "c:/weblogic/myserver/public_html/jspfiles"
    4)i have file test.jsp with the path as
    "c:/weblogic/myserver/public_html/jspfiles/test.jsp"
    5)in the browser i give the path as http://atg/ashish/test.jsp where atg is
    machine name.now the problem is instead of looking for the file as
    "c:/weblogic/myserver/public_html/jspfiles/test.jsp"
    it look as "c:/weblogic/myserver/public_html/jspfiles/ashish/test.jsp"
    because of this it does not find the file .
    6)if i create ashish folder in c:/weblogic/myserver/public_html/jspfiles
    then it finds the file.
    what is the problem .???
    also on obj.conf file i have written as
    Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy"
    WebLogicHost="192.168.100.78" WebLogicPort="7001"
    i have omitted pathprepend directive above.
    Any ideas for this problem.What is the concept of virtual directory which is
    there in Internet Information Server.
    Thanks in advance
    Ashish

  • How to define a virtual directory for 1virtual server?

    Hi there,
    The last part is always the hardest. I succesfully converted my Apache configuration to the SunONE setup but one section and I fail to grasp where I'm going wrong...
    SunONE Webserver 6.1SP5, I have quite a few virtual servers divided over several virtual classes. And now I'm trying to configure a 'virtual directory' (pfx2dir nametrans) limited to a single virtual server but no matter what I try I can't get it to work...
    In the administration guide I read about the NameTrans directive and how it should be used in the default object (in obj.conf ofcourse). So when I have something like this all works as it should, but for all virtual servers in the class:
    <Object name="default">
    NameTrans fn="pfx2dir" from="/files" dir="/opt/websites/catslair/data"
    </Object>So when reading up even more I came across the NSAPI programmers guide which explained that you can have both <Object> and <Client> tags. Because of the 'urlhost' parameter with the Client tag I figured that it should be possible to limit the NameTrans line mentioned above to but one virtual server:
    <Client urlhost="catslair.intranet.lan">
    NameTrans fn="pfx2dir" from="/files" dir="/opt/websites/catslair/data"
    </Client>But whenever I use this approach the server refuses to start and presents me with an error:
    [13/May/2006:16:38:10] config (19621): CORE3185: Invalid configuration: File /usr/local/sun/SUNWwbsvr/https-magi.intranet.lan/config/server.xml, line 178, column 99: HTTP3258: Error processing Mirrors.obj.conf line 51: HTTP2215: directive outside objectAt first I didn't understand exactly what it meant, I even stumbled upon a bug report which triggered the same error (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4979377) but after reading up on this I can only conclude that NameTrans can only be used within an <Object> block. The manuals also hint into this direction since it becomes obvious that the preffered approach is using this in the default object.
    So picture my surprise when I came across http://docs.sun.com/source/817-6252/npgobjcn.html#wp1041206 in the NSAPI programmers guide, its past the table. One of the examples shows this approach:
    <Client odds="25%">
    NameTrans fn="redirect" from="/Pogues" url-prefix="http://pogues.example.com"
    </Client>Because I was sure about urlhost being a parameter for the Client tag I tried copying the above example, but when I give it a try I'm once again greeted with the error I mentioned earlier "directive outside object".
    So can anyone please point me in the right direction? Is it possible to setup a virtual directory for a single virtual server and if so how do I proceed since <Client> doesn't seem to work. thanks in advance for any tips you can give me.
    Message was edited by:
    Lion-O

    Thanks a lot for the example, that fixed the problem.
    I've been reading the NSAPI programmers guide several times now and I was under the impression that you should either use <object> or <client>, never thought about this approach. Now when I re-read it is makes sense, but wasn't very clear at first.
    I think I'll e-mail Sun to suggest an addition of the <Object> tag in their <Client> tag example (http://docs.sun.com/source/817-6252/npgobjcn.html#wp1045056) to make things a little more clear.
    Thanks again, now I can finally implement the final configuration settings and plan for the actual switch later this evening.

  • Virtual Directory for app web server

    I have a web application that runs over Windows 2000 advanced server, does anybody know how can i change the address, i.e.: http://localhost:8080/servlet/eureka to http://localhost or http://something ?
    I have j2re 1.3 and java plug-in .
    Thanks

    in order to run http://localhost with out specifying port number, you need to set your server port to 80 (which is an official http port) in the configuraton file. I don't know what kind of server you are using. If you use Tomcat, you need to modify your server.xml file from 8080 to 80.

  • How can I debug a web application running on Weblogic 10.3

    Hello,
    I have inherited a NetUI Web Application developed using Weblogic Workshop and I can't manage to debug it. I have configure my server in Workshop and to debug it I right-click the project in Project Exporer and select Debug As -> Debug On Server, but this isn't working. The browser does open the application doesn't appear to be getting delpoyed.
    Can anyone help me out? I am using Weblogic 10.3 and Java 1.6.
    Thanks,
    Sean

    Hi Kal,
    The application is an enterprise application packaged as an EAR. if I right click on the project and click Debug As -> Debug on Server, the application appears in the Server Tab, but it does not start automatically. If I then manually start the server the application runs, but it does not stop at break points and I can not debug it.
    If I right-click on the web project that is packaged as part of the ear and select Debug As -> Debug On Server again the application is deployed, but I can't debug it. I don't get error messages, the application functions as normal but it does not stop at break points. When I attempt to debug the application via the Web Project, two browsers open automatically, both correctly displaying the application.
    Regards,
    Sean

Maybe you are looking for

  • OpenScript 9.1 - use one script for multiple environments

    Greetings everyone. I am using Openscript 9.1 on Windows XP. I want to record a script on a web application hosted in one environment and reuse the same script (with minimal re-work) against the same web application hosted in a different environment.

  • Xslt map in biztalk

    I am trying to use XSLT in map. I am struggling there as not much familiar . I created .xslt in visual studio and write required logic. Now I am trying to call it as xslt template . But when I try to do got error "There is not xsl:template node as ro

  • SOA does not commit to database using type 4 JDBC adapter.

    We are using Oracle SOA suite 11.1.1.3 and have successfully configured a type 4 JDBC adapter "ViaServ" to enable polling. These kinds of adapter are configured in the SOA suite as non X Data Source adapters and transaction has been set to "Supports

  • Using JNI in applets: impossible due to classloader limitations?

    Hello, I attempted to post this question on java.net but no one seemed to know the answer. I am especially hoping that the Engineers who work on the Java Plugin will comment on this question. Thank you. http://forums.java.net/jive/thread.jspa?message

  • Oracle Data Miner Classic

    Hi Guys, I am very naive in data mining , wana play around by installing ODM Classic on top of 10g (10.2.0.3).I installed ODM classic from OTN for 10.2.0.3 and got connection to database using ODM classic , is there any link ,white papers ,tutorials