Oracle App Server limit user access
Hi guys!
Is there such function in OAS where I can limit a users access to a certain page?
I have registered my users in OID and I want to set limits to specific pages (limiting which user can access which page or not)...
Appreciate any help..
They are different. Oracle Application Server is Oracle's application server prior to the BEA acquisition. WebLogic Server is a completely separate product and will be the strategic application server going forward at Oracle, although Oracle Application Server will still be maintained and supported.
Similar Messages
-
Changes in webservices while migrating from Oracle App Server to WebLogic
Dear All,
I am developing webservices for a external users.
I am new to webservices.
We were using Oracle Application server to deploy the webservices.
The architecture was as mentioned below
1) A interface class
2) A Implementation class for the above interface class
Now we are planning to migrate from Oracle application server to Weblogic Application server.
I have few doubts about the migration,
1) Will there be any difference between Oracle specific WSDL and WSDL created by Weblogic ant build command
2) As our external parties are referring our SOAP requests ans responses for their implementation, i am concerned about the changes in the SOAP request and response formats. Will there be changes due to application server change?
Oracle app server - Oracle 10g application server version 9.0.4.0
Weblogic appl server - Weblogic application server version 10.3.0.0Now after creating the WSDL by Weblogic workshop. The previous request XML is not working.
Can someone help soving the below query.
We are in process of upgrading the Oracle 10g application server version 9.0.4.0 to Weblogic application server version 10.3.0.0. In the old application server we were using axis specific jars to create the WSDL for the webservices. There are so many third party applications which are accessing our webservices, so we can not change the wsdl, clients accessiong the webservices and the corresponding formats of request and response xml messages. So we need to deploy the same wsdl and for the same we need to deploy axis on to weblogic 10.3. Can you please help us regarding the same.
Qns
1 - If we can deploy the axis on to the Weblogic 10.3
2 - Can we use the same WSDL in the Weblogic server too.
3 - If we use the same WSDL, will it help us to keep the client accessing the webservices, the request xml format, response XML format the same as it is with Oracle 10g application server case.
4 - Please share how to deploy axis on to the Weblogic 10.3 application server.
5 - Please share how we can create EARs that can be deployed on the webserver using axis specific jars.
Thanks and Regards
Manoj -
How to displays the standard open file dialog box in Oracle Apps Server
Hi,
I am having a form, where i am opening a file and putting that file content in a text box.
This is my code written in WHEN-BUTTON-PRESSED trigger:
declare
in_file Text_IO.File_Type;
linebuf VARCHAR2(8000);
filename VARCHAR2(30);
BEGIN
filename:=GET_FILE_NAME('d:\Rajesh\Practice', File_Filter=>'Text Files (*.txt)|*.txt|',select_file=>false);
in_file := Text_IO.Fopen(filename, 'r');
LOOP
Text_IO.Get_Line(in_file, linebuf);
:text_item5:=substr(:text_item5||linebuf||chr(10),1,5000);
END LOOP;
EXCEPTION
WHEN no_data_found THEN
Text_IO.Put_Line('Closing the file...');
Text_IO.Fclose(in_file);
END;
I have posted this in ORacle Apps Server.Where i was not able to get the Open Dialoq Box.It is giving an error as
"FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-302000.".
I think the GET_FILE_NAME function is not supported in the Apps Server.
Is there any alternative solution for getting the OPEN DIALOG WINDOW in Oracle Apps Server?
Pls let me know.Hi!
waldemar.hersacher wrote:
"It seems that the VIs called by the clients are running in the user interface thread.
A call to the file dialog box will call a modal system dialog. So LV can't go on executing VIs in the user interface thread."
Are you sure? I think, that File Dialog, called by LabVIEW File Dialog from Advanced File Functions Palette doesn't blocking any cycles in subVI, which running in UI Thread. Look in my old example (that was prepared for other topic, but may be good for this topic too).
2 linus:
I think, you must a little bit reorganize you application for to do this. You must put your File Dialog into separated cycle. This cycle, of course, will be blocked when File Dialog appear on the screen. But other cy
cle, which responsible for visualization will run continuosly at the same time...
Attachments:
no_block_with_file_open_dialog.zip 42 KB -
Error while starting Oracle App server
I installed Oracle App Server
when i am trying to start App server I am getting following error.
K:\OAS\opmn\bin>opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=coeserv0:6200
0 of 1 processes started.
ias-instance id=ORACOESERVER.coeserv0.wipro.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=10760)
failed to start a managed process after the maximum retry limit
Log:
k:\OAS\opmn\logs\HTTP_Server~1
I tried to start Apache it is also giving following error.
K:\OAS\Apache\Apache>apache
[Tue May 17 17:43:08 2005] [warn] pid file k:/oas/apache/apache/logs/httpd.pid o
verwritten -- Unclean shutdown of previous Apache run?
ap_spawn_child: Bad file descriptor
Couldn't fork child for piped log process
Note the errors or messages above, and press the <ESC> key to exit. 29...
K:\OAS\Apache\Apache>
AmitHi Cema,
Make sure that httpd.conf file (located at /ORACLE_HOME/Apache/Apache/conf ) has not changed.
Is your AS running on Linux? ".so" is used in case of linux only and for windows extension should be ".dll"
Please use the same if your http server is running on windows. HTTP Server documetation may have more details related to this.
Regards,
Anuj -
Error while installing Oracle Apps server 10.1.3 with Oracle DB 11.2.0.2 residing in the same server and being used by Apps server as it's metadata.
bash-3.00$ export ORACLE_HOME=/data/ora11g/app/ora11g/product/11.2.0
bash-3.00$ cd /data/OAS/install/soa_schemas/irca/
bash-3.00$ ./irca.sh
Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
(c) Copyright 2006 Oracle Corporation. All rights reserved.
ERROR: Cannot find library - /data/ora11g/app/ora11g/product/11.2.0/jdbc/lib/ojdbc14.jar
Please verify that the ORACLE_HOME is set correctly.
bash-3.00$Hi Craig,
Database 11gR2 could be used for Installing Application Server 10.1.3.x but with some limitation.
So please review the note:-887365.1 Oracle Database 11g Release 2 (11.2) Certification for Oracle Application Server 10g (10.1.2, 10.1.3, 10.1.4)
Section :- Oracle Application Server 10g Release 3 (10.1.3)
Regards,
Praaksh. -
hi all,
I am tried to create new OC4J instance from App Server Control. Now OPMN is not starting. I get following error
iguration information
Running in C:\product\10.1.3.1\OracleAS_1
Operation mode:Startup, App Server, No Enterprise Manager, Single Instance
Oracle home:C:\product\10.1.3.1\OracleAS_1
Oracle home name:Unnamed
Instance name:oracleAS.psmtech
Instance type:allProducts
Version:10.1.3.1.0
Uses infrastructure:false
Not an infrastructure instance, no infrastructure information available
Components:[j2ee, orabpel, oraesb, owsm, Wsil]
2007-05-17 04:45:19.328--Begin log output for Mid-tier services (oracleAS.psmtech)
2007-05-17 04:45:19.328--Processing Step: starting OPMN
2007-05-17 04:49:35.921--End log output for Mid-tier services (oracleAS.psmtech)
OPMN has thrown an unknown exception
oracle.appserver.startupconsole.model.ConsoleException: OPMN has thrown an unknown exception
at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:108)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
Caused by: oracle.ias.opmn.optic.OpticBadRequestException: Error starting opmn server: 2
at oracle.ias.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:147)
at oracle.ias.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:77)
at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:90)
... 6 more
Exception caused by
Error starting opmn server: 2
oracle.ias.opmn.optic.OpticBadRequestException: Error starting opmn server: 2
at oracle.ias.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:147)
at oracle.ias.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:77)
at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:90)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
I tried to validate opmn.xml file, shows following error
C:\product\10.1.3.1\OracleAS_1\opmn\bin>opmnctl validate opmn.xml
LPX-00202: could not open "opmn.xml" (error 200)
XML parse failed: error 202.
opmnctl: opmn validation failed!
we have Oracle App Server on Windows server 2003, new installation.
plz help me with this problem.Not sure why you exeucute opmnctl validate, but
C:\product\10.1.3.1\OracleAS_1\opmn\bin>opmnctl validate opmn.xml
LPX-00202: could not open "opmn.xml" (error 200)opmn.xml isn't in $OH/opmn/bin directory. It's in $OH/opmn/conf.
This is quite difficult to debug from this forum. Check the logs in $OH/opmn/logs and see if that helps. Also try to shut everything down (and check that all processes are gone) and then try to restart.
Regards,
Martin -
Oracle App Server 10.1.3.1 + Struts2 parameter map loss
hi,
I am facing an issue with oracle app server 10.1.3.1. With an application deployed in it, any .action hit seems to lose the parameter map. However, i m using Spring MVC with jasper reports for reporting purpose. So hitting a .report seems to go thru without the parameter map loss. I m using struts 2.0.11 in the application.
I have also tried the workaround related to struts.properties - (struts.dispatcher.parametersWorkaround = true). Did not help.
I wrote a CustomActionMapper which is an exact copy of DefaultActionMapper but for the addition of a few log statements to see the parameter map and uri.
I can notice the paramter map coming out empty even when data is posted or queryString with parameters sent.
Any leads on this truly appreciated.
Regardshi,
I am facing an issue with oracle app server 10.1.3.1. With an application deployed in it, any .action hit seems to lose the parameter map. However, i m using Spring MVC with jasper reports for reporting purpose. So hitting a .report seems to go thru without the parameter map loss. I m using struts 2.0.11 in the application.
I have also tried the workaround related to struts.properties - (struts.dispatcher.parametersWorkaround = true). Did not help.
I wrote a CustomActionMapper which is an exact copy of DefaultActionMapper but for the addition of a few log statements to see the parameter map and uri.
I can notice the paramter map coming out empty even when data is posted or queryString with parameters sent.
Any leads on this truly appreciated.
Regards -
Hi
I am installing web cache on two servers in web tier and J2EE server (with OHS) on another two servers in apps tier. Should I use standalone webcache or install from Oracle Apps Server package? If I choose Oracle Apps Server package, I have to disable Home, HTTP components. But it is DCM managed. Any suggestions?
And should I deploy my OHS servers on web cache servers in the web tier? In future we want to expand J2EE installation, we will deploy Portal with SSO, OID etc.
Regards
Shen JieShen Jie,
Please review the Enterprise Deployment to see what are the best architectures.
Hope this helps.
Deepak -
Deployement problem in Oracle App Serv with hibernate + JPA and Spring
Dear All,
I am facing a problem in deployment of a web application in oracle application server 10g. but the same is working fine with Tomcat. The following Exception. Is being thrown.
Failed to deploy web application "OraTest". Failed to deploy web application OraTest". . Nested exception Resolution:
Base Exception:
java.rmi.RemoteException
deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version. deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version I am using the following technologies
1. Spring 2.0.7
2. Struts 2.0.9
3. Hibernate 3.3
4. JPA 1.0
5. Oracle App Server 10.1.2.0.2
Web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>My Application</display-name>
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>/index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>dwr-invoker</servlet-name>
<servlet-class>
org.directwebremoting.servlet.DwrServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>dwr-invoker</servlet-name>
<url-pattern>/dwr/*</url-pattern>
</servlet-mapping>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/conf/spring/datasource-context.xml,
/WEB-INF/conf/spring/aop-context.xml
</param-value>
</context-param>
</web-app>
/Datasource-context.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
<bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" lazy-init="true"/>
<!-- following code is for using oracle -->
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
<property name="driverClassName">
<value>oracle.jdbc.driver.OracleDriver</value>
</property>
<property name="url">
<value>jdbc:oracle:thin:@//xxx.xxx.xxx.xxx/mydb</value>
</property>
<property name="username">
<value>admin</value>
</property>
<property name="password">
<value>admin</value>
</property>
</bean>
<!-- following code is for using mysql -->
<!--
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
<property name="driverClassName">
<value>org.gjt.mm.mysql.Driver</value>
</property>
<property name="url">
<value>jdbc:mysql://192.168.10.157:3306/tpsadmin</value>
</property>
<property name="username">
<value>tpsadmin</value>
</property>
<property name="password">
<value>tpsadmin</value>+
</property>
</bean>
-->
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" lazy-init="true">
<property name="persistenceUnitName" value="mkclsetsPersistenceUnit"/>
<property name="dataSource" ref="dataSource"/>
<property name="jpaVendorAdapter">
<bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" lazy-init="true">
<property name="database" value="ORACLE"/>
<property name="showSql" value="true"/>
</bean>
</property>
</bean>
<bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager" lazy-init="true">
<property name="entityManagerFactory" ref="entityManagerFactory"></property>
</bean>
<tx:annotation-driven transaction-manager="transactionManager"/>
</beans>Aop-context.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
<!-- Bean Definition of all the required Interceptors -->
<bean id="methodLoggingAdvice" class="com.mkcl.sets.common.interceptor.MehodLogInterceptor"/>
<!--
<bean id="appCacheManager" class="net.sf.ehcache.CacheManager">
<constructor-arg index="0" type="java.net.URL" value="classpath:country-ehcache.xml"/>
</bean>
-->
<!--bean id="methodCacheInterceptor" -->
<bean id="methodCachingAdvice"
class="com.mkcl.sets.common.interceptor.MethodCacheInterceptor">
<property name="cache">
<ref local="methodCache" />
</property>
</bean>
<bean id="cacheManager"
class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
<property name="configLocation">
<value>WEB-INF/conf/other/ehcache.xml</value>
</property>
</bean>
<bean id="methodCache"
class="org.springframework.cache.ehcache.EhCacheFactoryBean">
<property name="cacheManager">
<ref local="cacheManager" />
</property>
<property name="cacheName">
<value>mkclSetsCache</value>
</property>
</bean>
<!--
<bean id="methodCachingAdvice" class="interceptor.MethodCachingInterceptor"/>
-->
<aop:config>
<aop:pointcut id="getCountriesPointCut" expression="execution(* com.mkcl.sets.dao.master.impl.LocationDAOImpl.getCountries())"/>
<!-- <aop:pointcut id="methodLogPointCut" expression="execution(* com.mkcl.sets.service.master.impl.CategoryServiceImpl.getAllCategories(..))"/> -->
<aop:pointcut id="methodLogPointCutDao" expression="execution(* com.mkcl.sets.dao..*.*(..))"/>
<aop:pointcut id="methodLogPointCutService" expression="execution(* com.mkcl.sets.service..*.*(..))"/>
<aop:advisor id="methodCachingAdvisor" advice-ref="methodCachingAdvice" pointcut-ref="getCountriesPointCut"/>
<aop:advisor id="methodLoggingAdvisorDao" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutDao"/>
<aop:advisor id="methodLoggingAdvisorService" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutService"/>
</aop:config>
</beans>Persistence.xml
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="mkclsetsPersistenceUnit" transaction-type="RESOURCE_LOCAL">
<!-- jta-data-source>mkclDS</jta-data-source-->
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<!-- properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.OC4JTransactionManager"/>
</properties-->
</persistence-unit>
</persistence>Do I need to add some other configuration in the existing files or do I need to add some other configuration files ? Please help to deploy my application.
Thanks a lot in advance.
With Best Regards,
Ishaan
nullDid you ever find a solution to this Ishaan?
I imagine you ended up having to upgrade 10gR2 to 10gR3 at least. Correct? -
Have the following question.
First time upgrading Oracle Apps Server. So not that familiar in this area.
1. Step 6.1.2 in Oracle Application Server Patch Set Notes it says <p>
If you are applying 10g Release 3 (10.1.3) Patch Set 5 (10.1.3.5.0) to a 10g Release 3 (10.1.3.0.0) Oracle home and your system uses Enterprise Javabeans 3.0 applications, then you must undeploy your applications before applying the patch </p>
When I try to start Application Server Control I get the following error, please advice <p>
./apps/tech_st/10.1.2/bin/emctl start iasconsole
./apps/tech_st/10.1.2/bin/emctl: line 336: cd: /d2/R12AB/ab/apps/FINVIS19/apps/tech_st/10.1.2/: No such file or directory
./apps/tech_st/10.1.2/bin/emctl: line 338: /d2/R12AB/ab/apps/FINVIS19/apps/tech_st/10.1.2//perl/bin/perl: No such file or directory
</p>
<p>
/u01/oraerp/DEV> ./apps/tech_st/10.1.2/opmn/bin/opmnctl status
./apps/tech_st/10.1.2/opmn/bin/opmnctl: line 730: /d2/R12AB/ab/apps/FINVIS19/apps/tech_st/10.1.2//opmn/bin/argus: No such file or directory
</p>
Do we have to undeploye EJB3.0Hi,
It seems like you are upgrading E-Business Suite . If thats the case its better post the problem in Ebiz forum. Also post the document id you are following, your app and db release, OS release. We do not deploy J2EE applications on Ebiz Tech Stack app server. So un-deployment should not be applicable here. -
Deploying reports on Oracle app server
Hi
Our current application has Oracle reports deployed on Oracle AS and Oracle Report Server. Can we replicate same scenario for Crystal report.
Means can we use Crystal Report on Oracle App Server / Oracle Report Server. Or do I need to use Crystal report ServerCould you please provide/point the documentation/steps for deplying Reports on Java App Server (IN My Case Oracle App Server)
Kuldeep C.
Software Engineer
Persistent Systems Ltd.,
Pune, India -
Apex Installation On Oracle App Server Apache
Installation using an existing Apache server like on the Oracle Apps Server can be done as a replacement for the Apache that is installed with Apex but may require the installation of mod_plsql into Apache.
If you need to do this, use the documentation for the Oracle Apps Server for installing mod_plsql. The Apex documentation assumes that mod_plsql is installed and is missing steps for a complete installation.
Installing on one web server is advantageous for applications that are integrated with Oracle App Server applications like the SOA Suite.Installation using an existing Apache server like on the Oracle Apps Server can be done as a replacement for the Apache that is installed with Apex but may require the installation of mod_plsql into Apache.
If you need to do this, use the documentation for the Oracle Apps Server for installing mod_plsql. The Apex documentation assumes that mod_plsql is installed and is missing steps for a complete installation.
Installing on one web server is advantageous for applications that are integrated with Oracle App Server applications like the SOA Suite. -
Oracle App Server 10.1.2 (Windows) with STAF
I'm trying to run STAF in a servlet in OAS and STAF has a jar named JSTAF.jar that further uses some dll files. Oracle App server is not able to load the dll files. To overcome this i specified -Djava.library.path=<dll files directory> in the server properties but now OAS is able to load some of STAF dll files but it still gives the following error. Please Suggest are there any options in OAS to make it load all the dll files.:
500 Internal Server Error
java.lang.UnsatisfiedLinkError: C:\staf\bin\JSTAF.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) at com.ibm.staf.STAFHandle.<clinit>(STAFHandle.java:109) at com.nokia.gmlc.test.util.GMLCconfigSimulator.<init>(GMLCconfigSimulator.java:63) at com.nokia.gmlc.test.testcase.si.RtSync.<clinit>(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at org.apache.cactus.util.ClassLoaderUtils.loadClassFromContextClassLoader_aroundBody2(ClassLoaderUtils.java:117) at org.apache.cactus.util.ClassLoaderUtils.loadClassFromContextClassLoader_aroundBody3$advice(ClassLoaderUtils.java:198) at org.apache.cactus.util.ClassLoaderUtils.loadClassFromContextClassLoader(ClassLoaderUtils.java) at org.apache.cactus.util.ClassLoaderUtils.loadClass_aroundBody0(ClassLoaderUtils.java:100) at org.apache.cactus.util.ClassLoaderUtils.loadClass_aroundBody1$advice(ClassLoaderUtils.java:198) at org.apache.cactus.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java) at org.apache.cactus.server.runner.WebappTestSuiteLoader.load_aroundBody0(WebappTestSuiteLoader.java:82) at org.apache.cactus.server.runner.WebappTestSuiteLoader.load_aroundBody1$advice(WebappTestSuiteLoader.java:240) at org.apache.cactus.server.runner.WebappTestSuiteLoader.load(WebappTestSuiteLoader.java) at junit.runner.BaseTestRunner.loadSuiteClass(BaseTestRunner.java:193) at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:86) at org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java:302) at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody0(ServletTestRunner.java:209) at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody1$advice(ServletTestRunner.java:158) at org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)There was a blog that described some level of Axis use with what looks like OC4J 9.0.4 -- so that should extend to 10.1.2. since they are essentially the same thing.
http://radio.weblogs.com/0132036/2003/11/16.html
-steve- -
Oracle App Server 10.1.2.0.2 operability with Axis SOAP engine
Hi We are planning to deploy client stubs generated using the WSDL2Java tool as provided by Apache Axis, i.e., we would be writing the client side logic for invoking a web service deployed on a different server. For this we are using Axis engine to generate stubs and we write our own JSP/HTML pages and deploy this on Oracle App Server 10.1.2.0.2. Is their any issue in adopting this approach. Is Oracle App Server 10.1.2.0.2 compatible with Code created using Apache Axis?
There was a blog that described some level of Axis use with what looks like OC4J 9.0.4 -- so that should extend to 10.1.2. since they are essentially the same thing.
http://radio.weblogs.com/0132036/2003/11/16.html
-steve- -
Use of Xerces Parser in out application with Oracle App Server 9.0.4
The problem in brief:
Our product is a web-app that runs under various Application servers.
One of our customers who uses Oracle App server, recently upgraded from 9.0.2 (9g) to 9.0.4 (10g), and our product no longer works with the latter version.
Our product uses XML parser Xerces 1.1.
In 9.02 it was possible to replace the App servers parser with Xerces 1.1. In 9.02 it was possible to replace the App servers parser with Xerces 1.1 (We modified the opmn.xml file, setting the Java options for our oc4j instance bootclasspath with xerces parser). Hence, our product works.
In 9.0.4, apparently, Oracle moved to a different parser, and it no longer allows the parser to be replaced. If the bootclasspath is modified with XERCES(tested various versions of xerces) parser, rightfully so ORACLE Application server does not start.
Unlike other prominent Application Servers (such as webshpere etc,) the Oracle application server does not support separate JVMs or namespaces for web-apps either.
We like, oralce application server, OC4J instance for our application to use the xerces parser version qualified with our product. We understand, replacing the XML parser for the entire Oracle Application Server is not supported function.
Since, Oracle Application Server is loading the oracle 'xmlparserv2' at system class path, though the applicaton has xerces.jar in application path (either in AppLib or web-inf/lib directory, Its not a class loading issue) it is not getting used (since javax.xml.parsers.documentbuilderFactory is mapped to oracle parser).
So, it looks like the only option available to us is to modify our product to use Oracle's XML parser. This is a major software change, and we want to keep it as last resort option.
Any suggestion and help will be higly appreciated.
Perraju Nadakuduty (raju)
E-mail:[email protected]Raju --
Thanks for the intelligent posting on a difficult issue for you.
I wasn't aware of anything specifically being introduced that prevented the bootclasspath technique from working** in the 904 release.
For 904, the bootclasspath needs to be put in the start parameters tag of the java-options tag.
<process-type id="home" module-id="OC4J" status="enabled">
<module-data>
<category id="start-parameters">
<data id="java-options" ... -Xbootclasspath/a:/java/lib/xerces.jar"/>
</category>
</module-data>
</process-type>
You can also try copying the xerces.jar into the jre/lib/ext directory so it's loaded by the system classloader and see if that works**. This will put xerces at the extension level so
**these workarounds are not supported and will put you in an unsupported situation if a problem occurs.
The good news is that have taken steps to clearly enable the separation of container versus appplication class spaces in thenext production release (10.1.3) of OC4J. We will be providing a new classloading model which cleanly separates the two namespaces and allows applications to provide their own versions or distributions of class libraries with no collisions with the OC4J runtime libraries.
I don't know of any easy ways to do what you need -- other than reworking the app to use JAXP so that the parser implementation used is pluggable as you kind of allude to. If it was possible, I'd do that rather than hard coding in the use of the Oracle XML parser.
But just to reiterate, switching in xerces at the bootclasspath level is not a supported operation since it may have an effect on the OC4J runtime operation.
cheers
-steve-
Maybe you are looking for
-
i can't see my purchased apps in itunes on new ipad mini. when I go into the itunes store. It shows nothing. I haven't changed my ID or country of purchase. It shows that I would have to rebuy them when I go into the store. Is there something in sett
-
ISP: Comast Broadband LinkSys Wireless Router: SRX200 (WRT54GX2) PCs: 2 Dell laptops, D410 & D600 PC Connections: Each laptop works wired or wirelessly to access Internet Problem statement: When my wife an dI both work from home, we can only maintain
-
Wait for Event Step (Urgent).
Hi, all! I m unable to successfully execute my WAIT FOR EVENT step in my Workflow. Scenario: Have my own customised screen for HR approval process. In the second step after displaying to the approver when he actually presses on the <b>APPROVE</b> but
-
Printer is Offline Message on a Mac 10.6.8
Hi, This problem is driving me crazy, and wanted to print alot of documents. But anyway, I followed the troubleshooting issues posted on your support site and followed and nothing happened. I have tried resetting my printer, re-installed my HP softwa
-
Smart folder - different locations
Hello, I'm just wondering, whether is possible (somehow) to create smart folder with 2 different locations of search. For instance: I have Movies folder in my MBPro and also Movies folder in my external HDD (connected via USB or Airport extreme or Ti