Use other application server to run Oracle generated web services
Hi all,
I am currently running an Oracle 9i database and application server (OC4J) and use WebservicesAssembler (JPublisher) to expose PL/SQL packages as web services to an external PDA application.
Is it possible to run the EAR files (the assembled web service) generated in this way on another type of application server? This question because I need to use Resin in a live environment.
If this is not possible, would there be a way to work around it? I mean by manually programming the web service against the PL/SQL package. And if so, has anybody tried that out before?
Are there other alternatives?
Thanks in advance for your help!
Regards,
Stijn Lambert
Hello,
Which version of OracleAS/Web Service stack are you using?
If you are using a version prior to 10.1.3 the Web Service stack is proprietary and not portable.
JAX-RPC used in 10.1.3 is more portable but you have to be very careful about the way you create your deployment descriptor.
In a general manner you can always create pure JDBC/JPublisher clients and expose them using the Web Service that you want.
Regards
Tugdual Grall
Similar Messages
-
WS-I fails with Oracle Generated Web Service
Hi
I recently used WS-I Analyzer to analyze the HTTP Analyzer logs. I get the following error:
SSBP1003
The Content-Type header is not present.
Element Location:
lineNumber=19
SSBP5101
The message either (1) did not have a "Content-Type" HTTP header field, or (2) the "Content-Type" HTTP header field had a field-value whose media type was something other than "text/xml"
Element Location:
lineNumber=19
Any ideas?I successfully developed the oracle native web service for returning single record but the next challenge is to develop web service in order to return multiple record (like Employees data base on each department)You could return a list (multiple values/records) in XML format (using XMLType or CLOB), or CSV, or JSON, or whatever.
function get_employees (p_department_id in number) return clob
as
begin
return 'your_xml_string_here';
end get_employees;It would be up to the client (the caller of the web service) to extract the values from whatever format you decide upon, of course.
- Morten
http://ora-00001.blogspot.com -
"Running Oracle Spatial Web Services" tutorial error
Hi,
I am currently working on setting up the WFS service with OC4J. I completed the initial tutorial to set it up and everything went well. I am now trying to run the WFS demos from WSCLIENT and using this tutorial: http://www.oracle.com/technology/obe/11gr1_db/datamgmt/spatialws/spatialws.htm.
I just focused on the WFS Relational features and did the following:
Ran @wfsrelmd.sql and users/tables/grants were all successful.
Ran compileAndRunClient.bat runwfsct and the feature was created successfully.
Ran compileAndRunClient.bat runwfsrel and received the following error in the OC4J server shell:
"Starting OC4J from C:\oc4j\j2ee\home ...
Jan 4, 2010 12:40:02 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
2010-01-04 12:40:03.445 NOTIFICATION JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
2010-01-04 12:40:03.446 NOTIFICATION JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
10/01/04 12:40:05 Oracle Containers for J2EE 10g (10.1.3.5.0) initialized
10/01/04 12:40:43 Oracle Spatial WS Server could not set up configuration parameters: java.lang.NullPointerException
10/01/04 12:40:43 java.lang.NullPointerException
10/01/04 12:40:43 at sun.misc.MetaIndex.mayContain(MetaIndex.java:225)
10/01/04 12:40:43 at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:744)
10/01/04 12:40:43 at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
10/01/04 12:40:43 at sun.misc.URLClassPath.getResource(URLClassPath.java:220)
10/01/04 12:40:43 at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1126)
10/01/04 12:40:43 at java.lang.ClassLoader.getResource(ClassLoader.java:975)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.findJREResource(PolicyClassLoader.java:1233)
10/01/04 12:40:43 at oracle.classloader.JVMSearchPolicy.findResource(JVMSearchPolicy.java:36)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResource(PolicyClassLoader.java:1763)
10/01/04 12:40:43 at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1168)
10/01/04 12:40:43 at oracle.spatial.ws.WSProperties.load(WSProperties.java:101)
10/01/04 12:40:43 at oracle.spatial.ws.WSProperties.getProperty(WSProperties.java:294)
10/01/04 12:40:43 at oracle.spatial.ws.WSProperties.setLogProperties(WSProperties.java:546)
10/01/04 12:40:43 at oracle.spatial.ws.svrproxy.SdoWsService.init(SdoWsService.java:119)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JAXRPCProcessor.callInitIfImplementsServiceLifecycle(JAXRPCProcessor.java:602)
10/01/04 12:40:43 at oracle.j2ee.ws.server.J2EEImplementor.<init>(J2EEImplementor.java:82)
10/01/04 12:40:43 at oracle.j2ee.ws.server.J2EEJavaImplementor.<init>(J2EEJavaImplementor.java:54)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JavaImplementorFactory.createImplementor(JavaImplementorFactory.java:26)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JAXRPCProcessor.createImplementor(JAXRPCProcessor.java:586)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JAXRPCProcessor.getImplementor(JAXRPCProcessor.java:550)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JAXRPCServlet.createSOAPMessage(JAXRPCServlet.java:878)
10/01/04 12:40:43 at oracle.j2ee.ws.server.WebServiceServlet.initProcessorContext(WebServiceServlet.java:314)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JAXRPCServlet.initProcessorContext(JAXRPCServlet.java:324)
10/01/04 12:40:43 at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:198)
10/01/04 12:40:43 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
10/01/04 12:40:43 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
10/01/04 12:40:43 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
10/01/04 12:40:43 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
10/01/04 12:40:43 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
10/01/04 12:40:43 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
10/01/04 12:40:43 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
10/01/04 12:40:43 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
10/01/04 12:40:43 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
10/01/04 12:40:43 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
10/01/04 12:40:43 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
10/01/04 12:40:43 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
10/01/04 12:40:43 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
10/01/04 12:40:43 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
10/01/04 12:40:43 at java.lang.Thread.run(Thread.java:619)
10/01/04 12:40:43 [oracle.spatial.ws.CacheLoader, Mon Jan 04 12:40:43 EST 2010,WARN] Connection not initialized for WFS Cache
10/01/04 12:40:43 [oracle.spatial.csw.CSWCacheLoader, Mon Jan 04 12:40:43 EST 2010, WARN] Connection not initialized for CSW Cache
10/01/04 12:40:49 [oracle.spatial.ws.svrproxy.SdoWsService, Mon Jan 04 12:40:49EST 2010, INFO] Make Spatial Request, using wfs_rel_user
10/01/04 12:40:49 java.lang.NullPointerException
10/01/04 12:40:49 at sun.misc.MetaIndex.mayContain(MetaIndex.java:225)
10/01/04 12:40:49 at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:744)
10/01/04 12:40:49 at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
10/01/04 12:40:49 at sun.misc.URLClassPath.getResource(URLClassPath.java:220)
10/01/04 12:40:49 at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1126)
10/01/04 12:40:49 at java.lang.ClassLoader.getResource(ClassLoader.java:975)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.findJREResource(PolicyClassLoader.java:1233)
10/01/04 12:40:49 at oracle.classloader.JVMSearchPolicy.findResource(JVMSearchPolicy.java:36)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResource(PolicyClassLoader.java:1763)
10/01/04 12:40:49 at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1168)
10/01/04 12:40:49 at oracle.spatial.ws.svrproxy.SdoWsMultiplexer.<clinit>(SdoWsMultiplexer.java:228)
10/01/04 12:40:49 at oracle.spatial.ws.svrproxy.SdoWsService.makeSpatialRequest(SdoWsService.java:274)
10/01/04 12:40:49 at oracle.spatial.ws.svrproxy.runtime.SpatialWSSoapHttp_Tie.invoke_makeSpatialRequest(SpatialWSSoapHttp_Tie.java:60)
10/01/04 12:40:49 at oracle.spatial.ws.svrproxy.runtime.SpatialWSSoapHttp_Tie.processingHook(SpatialWSSoapHttp_Tie.java:155)
10/01/04 12:40:49 at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
10/01/04 12:40:49 at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:430)
10/01/04 12:40:49 at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
10/01/04 12:40:49 at java.security.AccessController.doPrivileged(Native Method)
10/01/04 12:40:49 at javax.security.auth.Subject.doAs(Subject.java:396)
10/01/04 12:40:49 at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
10/01/04 12:40:49 at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:294)
10/01/04 12:40:49 at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
10/01/04 12:40:49 at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:151)
10/01/04 12:40:49 at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
10/01/04 12:40:49 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
10/01/04 12:40:49 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
10/01/04 12:40:49 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
10/01/04 12:40:49 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
10/01/04 12:40:49 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
10/01/04 12:40:49 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
10/01/04 12:40:49 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
10/01/04 12:40:49 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
10/01/04 12:40:49 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
10/01/04 12:40:49 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
10/01/04 12:40:49 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
10/01/04 12:40:49 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
10/01/04 12:40:49 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
10/01/04 12:40:49 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
10/01/04 12:40:49 at java.lang.Thread.run(Thread.java:619)
10/01/04 12:40:49 [SdoWsMultiplexer, Mon Jan 04 12:40:49 EST 2010, ERROR] No handlers in system.
10/01/04 12:40:49 [oracle.spatial.ws.svrproxy.SdoWsService, Mon Jan 04 12:40:49EST 2010, INFO] Make Spatial Request, using wfs_rel_user
10/01/04 12:40:49 [SdoWsMultiplexer, Mon Jan 04 12:40:49 EST 2010, ERROR] No handlers in system.
10/01/04 12:40:49 [oracle.spatial.ws.svrproxy.SdoWsService, Mon Jan 04 12:40:49EST 2010, INFO] Make Spatial Request, using wfs_rel_user
I have no idea where this error is coming from and would really appreciate any help if any of these errors indicate a problem someone may know of.
Thanks for your help!I never did solve the problem. I decided to try out GeoServer for WFS and am very impressed. It was much easier to install and pretty feature-filled as well with a lot of documentation. I would definitely suggest checking it out to see if it will fit your needs.
-
ACCENT Symbol in Oracle Reports printing using 10g Application server
Some of the report with names containing ACCENT symbol are printing like upside-down comma. But the report used to printing certified copy and the client requiring to print the ACCENT symbol as it is. Oracle support recommend us to use PDFPrint destination, which is third-party utility that converting the post-script output to printer for ACCENT symbol. Please provide the link and instruction to download the PDFprint utility and installation requirement for the below environment:
Oracle Application Server Version=10.1.2.3.0
SUN SPARC - 64 bit
Thanks
KrishnaBy the looks of it you used 9i which also used an Application Server so your knowledge should be up to date. The Default URL has changed a little as has the port. Look in the installation guide for the default URL and port.
If you mena the development side you can use the one-button-run functionality which makes it possible to run am form without the full App Server just by hitting the run button in the builder. You do need to start the local OC4J but that is easy. On Windows there is a start menu item to do that. On Linux you run a shell script I think. -
Oracle Reports with Other Application Server
Can Oracle Reports be run within other Application Server such as WebSphere?
For example, I've created Oracle Reports and save it as RDF file. Is there a way to have my application which run inside WebSphere to initiate Oracle Reports to compile RDF file into HTML or PDF without having to make a command line call?
Thank you in AdvanceHi Fred Narthasilpa,
I have searched thru some of the Oracle Manuals for the same and found that they will provide support to Websphere soon, to publish Oracle Reports.
However, not sure whether the same is made avl. as of today.
Have a nice day,
Raja Angamuthu B -
HOW TO: Set up your application server to run BC4J
How To set up your application server to run BC4J.
INTRODUCTION
A running BC4J application is actually the combination of:
* Your own application files
* BC4J runtime libraries
In order to successfully run your BC4J application in local mode, the first requirement is
that your application server contains the necessary BC4J libraries.
This How To describes the steps required to ensure that you have a functional
BC4J runtime environment installed on your application server.
Oracle IAS 1.0.2 and Tomcat 3.1 will be used as examples.
THE BC4J RUNTIME LIBRARIES
Whatever application server you deploy to, the following libraries
are required in the following order to be in the classpath.
BC4J Libraries:
xmlparserv2.jar
jdev-rt.zip
jbojdbcpatch.zip
connectionmanager.zip
jbohtml.zip
jboimdomains.zip
ordim817.zip
ordvir817.zip
ordhttp.zip
jbomt.zip
jbodomorcl.zip
jboremote.zip
jndi.jar
jbodatum12.zip
These libraries can be found in <JDEV_HOME>/lib/
INSTALLING THE LIBRARIES ON IAS:
Installing the libraries is simply a matter of copying them to the
application server's filesystem and adding them to the classpath.
IAS's classpath can be modified by editing the file:
<IAS_HOME>\Apache\Jserv\conf\jserv.properties
In this file you'll find the existing pre-installed BC4J libraries which
looks like this:
wrapper.classpath=<IAS_HOME>\Apache\BC4J\lib\ordvir817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\lib\ordim817.zip
etc.
Note! These BC4J libraries correspond to JDeveloper 3.1.1.
In order to run JDev 3.2 based applications you will have to update these libraries
to JDeveloper 3.2 production.
Steps:
1. Copy (or FTP) the JDev 3.2 BC4J libraries from <JDEV_HOME>\lib to a NEW directory on the
appserver's filesystem called:
<IAS_HOME>\Apache\BC4J\newlib
2. Modify the classpath by editing <IAS_HOME>\Apache\Jserv\conf\jserv.properties.
Example: (modified classpath entries)
# New 3.2 BC4J Runtime libraries
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\xmlparserv2.jar
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jdev-rt.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbojdbcpatch.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\connectionmanager.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbohtml.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jboimdomains.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordim817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordvir817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordhttp.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbomt.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbodomorcl.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jboremote.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jndi.jar
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbodatum12.zip
Note: Make sure to remove or comment out the existing 3.1.1 BC4J library entries!
To see the changes, you must restart IAS and that's it, your IAS will be updated with
the JDev 3.2 BC4J libraries which allow you to run BC4J Data Tags among other
things!
INSTALLING THE LIBRARIES ON TOMCAT
As before, this process involves both the copying of the libraries
and modifying the classpath.
After copying the BC4J libraries to a path accessible from Tomcat,
you can modify Tomcat's classpath by editing it's startup script:
<TOMCAT_HOME>\bin\tomcat.bat (NT)
<TOMCAT_HOME>\bin\tomcat.sh (Unix)
Here is a portion of a modified tomcat.bat (on NT)
rem Add BC4J libraries
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\xmlparserv2.jar
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jdev-rt.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbojdbcpatch.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\connectionmanager.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbohtml.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jboimdomains.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\or dim817.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\ordvir817.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\ordhttp.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbomt.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbodomorcl.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jboremote.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jndi.jar
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbodatum12.zip
rem Add Oracle JDBC library
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\classes12.zip
Note: I also added the Oracle JDBC library since Tomcat does not have it.
It is found at:
<JDEV_HOME>\jdbc\lib\oracle8.1.7\classes12.zip
And That's It!
When Tomcat is restarted using this script, the necessary BC4J libraries
will be in the classpath..
A follow up How To:"How To Deploy a BC4J JSP Application on IAS and Tomcat"
will be posted shortly!I copied the following files in jserv classpath
bc4jct.jar
bc4jctejb.jar
bc4jdomorcl.jar
bc4jhtml.jar
bc4jimdomains.jar
bc4jmt.jar
bc4jmtejb.jar
bc4juixtags.jar
collections.jar
datatags.jar
jdev-cm.jar
regexp.jar
share.jar
uix2.jar
cabo.war
classes12.jar
nls_charset12.jar
ordim.jar
ordhttp.jar
runtime12.jar
jdev-rt.jar
xmlparserv2.jar
bc4j_jclient_common.jar
webapp.war
I got this list from Jdev 9031 on-line help
I also copied the new DataTags.tld file to /webapp directory
When i run my jsp page i get this error..
java.lang.NoClassDefFoundError: java/util/TimerTask
at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:693)
at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:148)
at jspapp.odrjsp__html._menu._jspService(Compiled Code)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
at oracle.jsp.JspServlet.doDispatch(Compiled Code)
at oracle.jsp.JspServlet.internalService(Compiled Code)
at oracle.jsp.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at oracle.portal.provider.v1.http.JspRenderer.renderBody(JspRenderer.java:116)
at oracle.portal.provider.v1.RenderManager.render(RenderManager.java:164)
at oracle.portal.provider.v1.http.ServletProviderResponse.showPortlet(Compiled Code)
at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(Compiled Code)
at oracle.portal.provider.v1.http.HttpProvider.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jserv.JServConnection.processRequest(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
In the JDK 1.3 APi docs, i found that TimerTask was introduced only in JDK 1.3
Does this mean that BC4J (in jdev 9031) will only work
with JDK 1.3 or later?
Thanks for your time.
Harish -
I cannot create an Application server connection in Oracle JDeveloper 11 g
i cannot create an Application server connection in Oracle JDeveloper 11 g , i got 0 of 9 test successful and i got this erros
Cannot establish connection.
Testing JSR-160 DomainRuntime ... skipped.
Testing JSR-88 ... skipped.
Testing JSR-88-LOCAL ... skipped.
Testing JNDI ... skipped.
Testing JSR-160 Edit ... skipped.
Testing HTTP ... failed.
Testing Server MBeans Model ... skipped.
Testing HTTP Authentication failed
0 of 9 tests successful.Hi,
you can start the Jdev by command line and then see the log that it is generating. Maybe there you can see the problem that is happening.
Also you can check if the server is running with
telnet hostname 7001
Some possible reasons
you have a firewall blocking the connection
did you check /etc/hosts file entry ? should be something like this <ip address of host > hostname1
Cheers
Augusto -
Acessing Forms Services using 10g Application Server
im using the 10.1.2.0.2 version of oracle application server to host a 10g forms application. The old way of accessing forms (through the development sever of forms developer) was "http://<hostname>:<port>/forms90/f90servlet"... does that work the same way in forms application server? If not, which files do I need to configure and how do I get to the forms servlet? I usually adjust the formsweb.cfg file and use the regular link, but since this is my first time setting up an application server, im a little confused. Anyone know? Thanks!
MoBy the looks of it you used 9i which also used an Application Server so your knowledge should be up to date. The Default URL has changed a little as has the port. Look in the installation guide for the default URL and port.
If you mena the development side you can use the one-button-run functionality which makes it possible to run am form without the full App Server just by hitting the run button in the builder. You do need to start the local OC4J but that is easy. On Windows there is a start menu item to do that. On Linux you run a shell script I think. -
Transaction Time out error in EJB while using Websphere Application Server.
Hi All,
I am using Websphere Application server and getting the transaction time out error. By default the transaction time out is 120 second. I am using session bean for doing a set of transaction. These set are dynamically generated. Is there any way to set the transaction time out for only this session bean to infinite ?
Thanks in advance
VivekHi,
According to WAS 6 , every opened connection has to be commited (or rolledback) explicitly (didnt try autocommit) before closing. Even if all you have done with that connection is a SELECT Query.
This has apparently solved the same problem I was getting. implement it and see whether it helps you. -
Hi,
I am trying to know the difference between Application Server and Web Server.I did lot of research on this..and found the below thread on the same..But..I didnt get it cleared.
http://forum.java.sun.com/thread.jspa?forumID=31&threadID=759556
It is given that Application Server serves business logic.But,IIS is a webserver and business logic sits on the same...
I am not clear with this...
Can anybody make it clear..What is the use of application server?
Is Application Server always used along with web server?
Is there something called Web Application Server?
Those who worked with an application server..Please make it clear..
Thanks
Vasanth_ReddyA web server serves one purpose: serving requests from the web (http, ftp)
An application server has a different purpose: providing a container in which applications can run. When writing those applications you don't really have to worry about transaction management, distributed systems, security... the appserver takes care of it for you.
Is Application Server always used along with web server?Messaging systems are examples of appserver without webserver.(different applications communicating by sending messages through appserver). If the client of your enterprise application is no web application, but for example a desktop application, you don't need a webserver (unless you're communicating through webservices).
Is there something called Web Application Server?They're probably not called like that, but most appservers ship with a built in webserver. -
What other Application server supports PI
Hi Experts,
SAP PI has its own Application server ABAP & JAVA.
Can PI supports other application server like (Apache Tomcat, Geronimo,Jboss,Jetty,Jrun,Oracle,Resin,Web Sphere,Weblogic)
Br,
Ahmed.Hello Ahmed,
SAP PI comes packaged with its own Application Server SAP Web AS.
Now, this SAP Web AS already have basic Netweaver Components installed like BASIS, Identity Management, etc.
For installing SAP PI, additional usage type is selected other than SAP Web AS which deploys PI related content onto it.
PI is an integration middleware product from SAP which comes with its own Application Server with an option to install it on a combination of OS-DB.
by "Can PI support other Application Server", if you mean "Can PI be installed on other Application server", AFAIK answer is NO.
But what is the use case?
Regards,
Ankit -
How to download itunes for windows 7 64 bit using other system which is running 32 bit
hi
i am trying to download itunes 64 bit for my system using other system which is running 32 bitDirect links to the installers:
iTunes 12.1.2.27 (64-bit) - iTunes6464Setup.exe
iTunes 12.1.2.27 (64-bit "for older video cards") - itunes64setup.exe
The second of these - which is actually the 32-bit application with a 64-bit installer - should be used if you get a warning about video card incompatibility when you install the standard 64-bit version, but also may resolve issues with playback, QuickTime integration, and problems with third-party applications (including Outlook). -
Install developer10g and oracle application server 10g on oracle linux R6
i want install oracle application server 10g on oracle linux R6
in same server oracle database 10 g installed
the database 10g installed and work fine.
i try install oracle developer 10g installed .succ
but the frmbld.sh didnt work
./frmbld.sh :line 105 :/u01/u03/app/oracle/product/10.2.0/db_1/bin/frmbld:cannot execute binary file?
have two user oracle for database ,oradev for developerthx
can give me any link
any one can help me on application server 10 in oracle linux R6? -
ISE application server not running
Hi Team,
My ISE appliance application server not running, even reboot still the same, any reason?
ISE-3315-K9
Displaying ISE application status ....
ISE Database listener is running, PID: 6270
ISE Database is running, number of processes: 17
ISE Application Server process is not running.
ISE Profiler DB is not running
ISE M&T Session Database is not running.
ISE M&T Log Collector is not running.
ISE M&T Log Processor is not running.
I saw suspicious from logs, anyone experience this before? I coudn't find this ise ErrorCode: -999 from the Cisco KE database.
2015-01-19T15:45:47.371651+11:00 ISE1 ADE-SERVICE[2742]: [9862]:[error] application:operation ci_util.c[597] [marcellus]: Problem executing init script (/opt/CSCOcpm/bin/cpmcontrol.sh) err = 1
2015-01-19T15:45:47.371671+11:00 ISE1 ADE-SERVICE[2742]: [9862]:[error] application:operation cars_install.c[1931] [marcellus]: App (ise) has trouble executing <init> tag
2015-01-19T15:45:47.377124+11:00 ISE1 ADEOSShell[9862]: ADEAUDIT 3015, type=APP INIT, name=Error during application init, username=marcellus, cause=(null), adminipaddress=10.0.10.7, interface=CLI, detai
l=Application (ise) has trouble executing <init> tag
2015-01-19T15:45:47.377333+11:00 ISE1 ADE-SERVICE[2742]: [9862]:[error] application:operation install_cli.c[419] [marcellus]: Error while starting application - Application: ise ErrorCode: -999Hi Neno,
Thanks for replying, this is it.
Displaying ISE version ...
Cisco Identity Services Engine
Version : 1.2.0.899
Build Date : Wed 24 Jul 2013 17:37:31 EST
Install Date : Wed 01 Oct 2014 12:33:32 EST -
Use SAP Application server name in a jsp in ISA
Hello,
We need to use SAP application server name in a jsp file. Any suggestions on how to do this?
Thanks
Archana
Edited by: Archana Swaminathan on Jan 9, 2009 1:02 PMArchana,
The web application server can be determined in the JSP by the isa tag.
<isa:webappsURL
But you can also get the actual value by using WebUtil class. This class has all features that isa tag provides. As such you can get the web application URL using
import com.sap.isa.core.util.WebUtil;
String webAppURL = WebUtil.getAppsURL(PageContext pageContext,
boolean Secure,
String name,
String params,
String anchor,
boolean completeURL);
But if you are asking for SAP application server that is different from what I have explained above, then I don't have a clue. If you are asking for MimeURL, where you have the images stored, you can use MimeURL class.
Easwar Ram
http://www.parxlns.com
Maybe you are looking for
-
Home Sharing 2pcs, 2 iPhone 5s and an iPad
Hello everyone! I am really hoping someone can help me. My mom and I just got iPhone 5s and I would like to be able to share my iTunes music with her, but I am not sure how to set this up. I have reviewed many posts here, but they are all different d
-
Can't log out of facebook since 1/24/13
I have the official Facebook app on both my iPhone and iPad. In the last few days, there must have been a change in the app because now when I choose the red "Log Out" button within the app, it doesn't Log Out, it only presents a screen that looks li
-
How do I put a photo on to my iPod Touch from iPhoto
On my Mac Mini, running SL OSX 10.6.8, is iPhoto '09 v. 8.1.2. and iTunes v. 11.0.2. I've got an old iPod Touch 16GB running v. 2.2.1. I want to move a photo from iPhoto onto my iPod Touch, which used to be simple. However, now when I open iTunes, th
-
No Matching Records found G/L Accounts
Hi All, I am adding a new Sales Order.Convert the sales order to Invoice.When I try to add the INVOICE document,i get an error message saying "No Matching Records found G/L Accounts (OACT). In The sale Order I have selected Item A in line one with pr
-
Hi, I do have a web application which is deployed on Oracle Application Server 10.1.3. When I access a file with Arabic Name, am receiving a response saying that file not found. I can see the path is correct and the file is under appropriate context.