Compiling java classes from JDeveloper
Hi guys... perhaps this thred need to be created in JDeveloper fourm, it so please let me know.
I generated the classes from a web service which complie without errors and exedcute correctly. When trying to compile the main stub in Oracle database, I get an error "CONNOT RESOLVE SYMBOL" reviewing the java class, I see that extends the wrapper generated by Jdev. So I try to complie the extendable class, after trying to generate and compile it in the database, I get the error: "class$ is reserved for internal use" The code has the next line:
static java.lang.Class class$(java.lang.String param1)
Is this error launched from the oracle database? My guess is that maybe Im missing some library or something and thats why I can create the such Java Name procedures. But I will like if anyone could guide me through this exception.
Thanks
JP
Do you have .jar (or the .class) files created after the compile from JDeveloper?
If you do, you can load all of them using the command line utility loadjava:
$ loadjava
loadjava: Usage: loadjava [-definer] [-encoding encoding] [-force] [-genmissing] [-genmissingjar jar] [-grant grants] [-help] [-nousage] [-noverify] [-oci8] [-order] [-resolve] [-resolver resolver] [-schema schema] [-synonym] [-thin] [-tableschema schema] [-user user/password@database] [-verbose] classes..jars..resources..properties...
$
Similar Messages
-
How do I call a simple java class from a bpel process?
Hi.
In JDeveloper 10.1.4.3.0 I've created a simple java class that does an ftp get operation followed by an unzip. The class uses some 3rd part libraries (jars).
I want to use a simple bpel process to schedule a daily execution of this java class, and deploy it all to our SOA-server, - and was looking into using the <bpelx:exec> function.
The java class and the bpel process is all stored in the same JDeveloper project.
How do I put this together so that both my java class and the necessary jars are available to the bpel process?
I've looked into the JavaExecSample.bpel, and it's says something about "...the class com.otn.samples.javaexec.CreditCalculator is locally packaged with this BPEL process".
How do I do that?
Can I make it and test it all locally from my workstation (only JDeveloper installed, I guess there's nothing that can execute the bpel code?), or do I have to compile class etc (make war-file?) and deploy to SOA server (BPEL-INF/lib or classes?) before anything can be tested?
(I guess all this is simple, once you know how, but being a newbie to this I need a shove in the right direction :-)
Regards,
-Haakon-To create a java class and dependent jars inside the BPEL process project you need to do the following:
1. Right click on your BPEL process project and select New and then Java Class from the Items.
2. Make the BPEL process project, JDeveloper would compile the java classes and add them into the BPEL suite case jar, see the output folder and check the BPEL suite case jar file for java classes and dependent jars.
You can test your Java classes from JDeveloper IDE, no need to deploy the classes on SOA server. When you make the BPEL project it compiles .bpel files and Java classes. You can test your classes once .bpel file and java classes compiled successfully.
Regards,
Dharmendra
http://soa-howto.blogspot.com -
Trying to invoke a Java class from BPEL Proces using Java Embedding
Hi All,
I have a requirement to invoke a Java class from the BPEL process;
I am trying to import the class by "* <bpelx:exec import="+package_name.classname+"/>*.
But, while compiling, I get the following error:
"Error(19,57): Failed to compile bpel generated classes. failure to compile the generated BPEL classes for BPEL process "BPEL_PROCESS_NAME" of composite "default/COMPOSITE_NAME!1.0"
The class path setting is incorrect. Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version."
Referred the scac.log:
SAXParseException in file +project_path+\composite.xml
org.xml.sax.SAXParseException: <Line 29, Column 32>: XML-24535: (Error) Attribute 'http://www.w3.org/XML/1998/namespace:id' not expected.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:335)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:318)
at oracle.soa.scac.ValidationFaultUtil.validateStreamWithSchema(ValidationFaultUtil.java:146)
at oracle.soa.scac.ValidationFaultUtil.validateCompositeWithSchema(ValidationFaultUtil.java:120)
at oracle.soa.scac.ValidateComposite.validateWithSchema(ValidateComposite.java:1480)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:519)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:223)
May 19, 2010 6:46:29 PM com.collaxa.cube.CubeLogger info
INFO: LibClasspath=E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\commonj.sdo_2.1.0.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\./classes
May 19, 2010 6:46:37 PM com.collaxa.cube.CubeLogger info
INFO: validating "RHMEDIInboundProcess.bpel" ...
May 19, 2010 6:46:37 PM com.collaxa.cube.CubeLogger warn
WARNING: CubeProcessor.compileGeneratedClasses() classpath is: E:\Softwares\OracleFMW\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;E:\Softwares\OracleFMW\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;E:\Softwares\OracleFMW\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;C:\JDeveloper\mywork\InboundEDI_RnD\parseInboundEDIXML\classes\com\onerheem\integration\EDIInboundProcess\parseInboundEDIXML.jar;;C:\JDeveloper\mywork\InboundEDI_RnD\RHMEDIInboundProcess\SCA-INF\classes;C:\JDeveloper\mywork\InboundEDI_RnD\RHMEDIInboundProcess\SCA-INF\classes;C:\JDeveloper\mywork\InboundEDI_RnD\RHMEDIInboundProcess\SCA-INF\gen-classes;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\commonj.sdo_2.1.0.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\./classes
Any suggestions to rectify the same?Hi,
I wud suggest you to make a jar of ur java class and include it in the project libraries of BPEL and make use of java embedded activity this way it works.
have a luk at below link:
http://niallcblogs.blogspot.com/search/label/embedded%20Java -
Calling my Java class from JSP page
Hello, I am trying to call my Java class from my JSP page passing parameters to it and getting back a collection of result sets. Can someone tell me what I might be doing wrong:
JSP code to call Java class:
<%
String strEssUser = "test";
String strProcessingMonth = "JUL";
String strProcessingYear = "2002";
strQueryList=new ListReturn(strEssUser.toString(), strProcessingMonth.toString(), strProcessingYear.toString());
%>
I get this error when I try to run this JSP page using tomcat:
C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\em\jsp\Test_0005fSummarySBU_0005fscreen$jsp.java:77: Class org.apache.jsp.ListReturn not found.
strQueryList=new ListReturn(strEssUser.toString(), strProcessingMonth.toString(), strProcessingYear.toString());
I'm not sure if this problem is the way I am calling the Java class, or if I have a problem in the Java code itself. Can anyone help?Ok, I get a very strange error now:
org.apache.jasper.JasperException: Unable to compile class for JSPerror: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
What is this??? Anyone? -
Calling java class from jsp page
Dear Friends.
I wrote jsp page and java class.
Am calling java class from jsp page. after processing result,
I have to refresh jsp page from java class.
processing time may take 5 minutes or 1 minute etc. that depends on user.
Can It be possible ? if possible , How ?Ok, I get a very strange error now:
org.apache.jasper.JasperException: Unable to compile class for JSPerror: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
What is this??? Anyone? -
Compiling a class from another class
is it possible to compile a class from the code in another class?
i.e I want to check whether code in a .java file will compile before I use it.
Is there any methods that I could use to do this and could anyone give me advice on HOW to use the methods suggested?
thanks in advance
davidi was looking at that but it seems to only run files, not commands
is there a way to use it with command.com or cmd.exe or something to send commands to it?
also if i used a readline on an inputstream it only returned the first line (i tried running a batch file so the only line it returned was ..> javac testscript.java but i spose if i put
@echo off
javac testscript.java
if exist testscript.class (
echo compiled correctly
) else (
echo compiled incorectly
so the first line returned would either be "compiled correctly" or the compile error, but this would be compiling it to see if it compiles so im not sure if this answers the first question anyway =p -
I am trying to call a java class from SLSB . There are external jars which are imported in my java class . When i try to instatiate the java class in SLSB. It ia not able to access the external jars. It gives the following exception :
0000002e ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "applyRules" on bean "BeanId(MDB_SLSBEAR#MDB_SLSB.jar#msgProcess, null)". Exception data: java.lang.NoClassDefFoundError: org.springframework.context.ApplicationContext
My code is as follows :
SLSB:
package com.vsnl.ejbs;
import com.vsnl.pricing.bizObjects.CustomizedRateRequest;
import com.vsnl.pricing.bizObjects.RateRequest;
import com.vsnl.pricing.dao.ARR.AutoprocsMain;
import org.springframework.context.ApplicationContext;
* Bean implementation class for Enterprise Bean: msgProcess
public class msgProcessBean implements javax.ejb.SessionBean {
static final long serialVersionUID = 3206093459760846163L;
private javax.ejb.SessionContext mySessionCtx;
* getSessionContext
public javax.ejb.SessionContext getSessionContext() {
return mySessionCtx;
* setSessionContext
public void setSessionContext(javax.ejb.SessionContext ctx) {
mySessionCtx = ctx;
* ejbCreate
public void ejbCreate() throws javax.ejb.CreateException {
* ejbActivate
public void ejbActivate() {
* ejbPassivate
public void ejbPassivate() {
* ejbRemove
public void ejbRemove() {
public void applyRules(CustomizedRateRequest customizedRateRequest){
System.out.println("RR ID in SLSB***"+customizedRateRequest.getProductCustomerId());
System.out.println("RR ID in SLSB$$$"+customizedRateRequest.getIsDestFlag());
try{
System.out.println(" before the callng of commented function ");
AutoprocsMain autoprocsMain = new AutoprocsMain();
System.out.println(" after making instance ");
//autoprocsMain.applyRules(customizedRateRequest);
catch(Exception e){
e.printStackTrace();
My Java Class:
package com.vsnl.pricing.dao.ARR;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.ArrayList;
import java.util.List;
import com.vsnl.pricing.dao.ARR.Base;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.log4j.Logger;
import org.drools.FactHandle;
import org.drools.RuleBase;
import org.drools.RuleBaseFactory;
import org.drools.WorkingMemory;
import org.drools.compiler.PackageBuilder;
import org.drools.rule.Package;
import org.springframework.context.ApplicationContext;
import com.vsnl.pricing.bizObjects.Customer;
import com.vsnl.pricing.bizObjects.RateRequest;
import com.vsnl.pricing.interfaces.ARR.IARRDAO;
import com.vsnl.util.VSNLLogger;
import com.vsnl.pricing.bizObjects.InnerObject;
import com.vsnl.pricing.bizObjects.CustomizedRateRequest;
public class AutoprocsMain extends Base{
private static Log log=LogFactory.getLog(AutoprocsMain.class);
private static Logger logger = Logger.getLogger(Invoker.class);
ApplicationContext ctx;
//ApplicationContext ctx;//=configure();
IARRDAO autoprocsDAO;//=(IAutoprocsDAO)ctx.getBean("autoProcDAOTarget");
public AutoprocsMain() {
System.out.println(" inside the Autoproc constructor");
//VSNLLogger.debug(logger, "before creatiom of CTX");
//System.out.println(" before creation of CTX ");
try{
//System.out.println(" inside the Autoproc constructor");
ApplicationContext ctx=configure();
autoprocsDAO=(IARRDAO)ctx.getBean("arrTarget");
catch(Exception e)
//VSNLLogger.error(logger, e.getMessage());
//VSNLLogger.debug(logger, "after creation of CTX");
//System.out.println(" after creation of CTX ");
public void applyRules(CustomizedRateRequest customizedRateRequest)throws Exception{
RateRequest rateRequest=new RateRequest();
List rateRequestObjs= new ArrayList();
List<CustomizedRateRequest> CustomizedRateRequestObjs=new ArrayList<CustomizedRateRequest>();
try{
//rateRequest= autoprocsDAO.getRecord();
rateRequestObjs=autoprocsDAO.getAllRateRequests();
//VSNLLogger.debug(logger, " AFTER THE CALL OF getAllRateRequests() function ");
CustomizedRateRequestObjs=autoprocsDAO.getCustomizedObjects(rateRequestObjs);
catch(Exception e)
//VSNLLogger.error(logger, e.getMessage());
RuleBase ruleBase=readRule();
WorkingMemory workingMemory = ruleBase.newStatefulSession();
FactHandle handle =workingMemory.insert(customizedRateRequest);
//customizedRateRequest.setContinueRule("1");
workingMemory.fireAllRules();
if(CustomizedRateRequestObjs.size()>0)
FactHandle handle =workingMemory.insert(CustomizedRateRequestObjs.get(0));
for(int i=0;i<CustomizedRateRequestObjs.size();i++)
CustomizedRateRequest customizedRateRequest=CustomizedRateRequestObjs.get(i);
customizedRateRequest.setContinueRule("1");
workingMemory.modifyInsert(handle,customizedRateRequest );
workingMemory.fireAllRules();
System.out.println(" after the firing of all rules ");
public static void main (String args[])
AutoprocsMain procsMain = new AutoprocsMain();
try{
procsMain.applyRules();
catch(Exception e)
e.printStackTrace();
private static RuleBase readRule() throws Exception {
System.out.println(" ****** inside readrule &&&& ");
//read in the source
Reader source = new InputStreamReader( AutoprocsMain.class.getResourceAsStream( "/Sample.drl" ) );
// Reader source1 = new InputStreamReader( AutoprocsMain.class.getResourceAsStream( "/com/vsnl/resources/Sample2.drl" ) );
//Reader source = new InputStreamReader( AutoprocsMain.class.getResourceAsStream( "/com/vsnl/resources/CustomerDiscount.drl" ) );
//optionally read in the DSL (if you are using it).
//Reader dsl = new InputStreamReader( DroolsTest.class.getResourceAsStream( "/mylang.dsl" ) );
//Use package builder to build up a rule package.
//An alternative lower level class called "DrlParser" can also be used...
System.out.println(" after package builder ");
PackageBuilder builder = new PackageBuilder();
System.out.println(" after package builder ");
//this wil parse and compile in one step
//NOTE: There are 2 methods here, the one argument one is for normal DRL.
builder.addPackageFromDrl( source );
System.out.println(" after add package source");
//builder.addPackageFromDrl(source1);
System.out.println(" after add package source1");
//Use the following instead of above if you are using a DSL:
//builder.addPackageFromDrl( source, dsl );
//get the compiled package (which is serializable)
Package pkg = builder.getPackage();
System.out.println(" after get package ");
//add the package to a rulebase (deploy the rule package).
RuleBase ruleBase = RuleBaseFactory.newRuleBase();
ruleBase.addPackage( pkg );
System.out.println(" end of read rule function");
return ruleBase;
public IARRDAO retBean()
return null;
}Hi i am new to EJB .
please explain me the problem ..and kindly tell me to how to add this in classpath. I am using webSphere application server.
I added this in the classpath in the startup script.
I also added all the required jars in the EAR libraries ( I am using the RAD IDE).
Please help. -
Is there an easy way to call a java class from an applet?
Does anyone know of an easy way to call a server based java class from an applet? Has anyone done it or came across it? If yes how/where?
Cheers, Chris.I'm not sure about the issue. Are you talking about "servelets"? "RMI"? Take a look at those issues.
-
How can I call a java class from within my program?
I was wondering if there's a platform independent way to call a java class from my program.
Here's my scenario. I'm working on a platform independent, feature rich, object-oriented command prompt program. The way I'm designing it is that users can drop classes they write into my bin directory and gain access to the class through my program. For example, they drop a class named Network.class in the bin directory. They would type Network network at my command prompt and gain access to all the methods available in that class. They can then type system.echo network.ipaddress() at my prompt and get the system's ip address. I have it designed that there's a server running in the background and the clients connect to my port. Once connected the end-user can enter their user name and password and gain access to the system. When they type a command they actually call another java program which connects to my server using a seperate thread. They can then communicate back and forth. I have it set that everything has a process id and it's used to keep track of who called what program. Once the program is done it disconnects and closes. Rather than getting into the nitty gritty (I didn't want to get into heavy detail, I know how everything will work) I'm really interested in finding out how I can call a java program from my program. I don't want it to be part of the app in any way.
-
How to call a Java class from another java class ??
Hi ..... can somebody plz tell me
How to call a Java Class from another Java Class assuming both in the same Package??
I want to call the entire Java Class (not any specific method only........I want all the functionalities of that class)
Please provide me some slotuions!!
Waiting for some fast replies!!
Regards
Smita MohantyHi Smita,
you just need to create an object of that class,thats it. Then you will be able to execute each and every method.
e.g.
you have developed A.java and B.java, both are in same package.
in implementaion of B.java
class B
A obj = new A();
//to access A's methods
A.method();
// to access A's variable
//either
A.variable= value.
//or
A.setvariable() or A.getvariable() -
Calling a Java Class from PL/SQL
Hai,
I need a technique of calling a class file and invoke its
methods written in Java by PL/SQL for my intranet development.
PLease let me know if you have really experienced and won.
Thanks
JOhnsonFirst, to call a Java class from PL/SQL the class needs to be
deployed to the database. you can check the 8i documentation for
the instructions for loading Java into the database(LoadJava).
The document contains information on how to load the Java and
call it from PL/SQL. The following links should help.
Loading Java:
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/
java.817/a83728/03write6.htm
Invoking a Java Method in the database:
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/
java.817/a83728/04jserv2.htm
Gary (JDev Team) -
Error Invoking Java class from Stored proc
We are getting this error while calling a stored procedure that invokes a
static function of a java class from inside Oracle 8.1.7.
ORA-29516: Aurora assertion failure: Java thread deadlock detected
ORA-06512: at "APPS.SERVICECONSUMERINVOKE", line 0
ORA-06512: at line 40
In a Toad SQL Window, when I execute the stored procedure that invokes the
java function, it executes successfully on the first attempt. When I try to
execute it again on the same SQL Window, it gives the above error. The java
class is part of a package and indirectly makes a JMS request-reply call
via other helper classes.
The same package works fine from other web containers and
unlike the Oracle JVM Aurora, the JVMs don't detect a deadlock.
Why does the Aurora throw an error?Did you try issusing a commit and then trying again in Toad SQL Window?
The advice is to contact support:
ORA-29516: Aurora assertion failure: string
Cause: An internal error occurred in the Aurora module.
Action: Contact Oracle Worldwide Support. -
I want to call External Java class from the PL/SQL
Hi,
I am using Oracle Apps R11i (11.5.7), I wanted to call external Java class from the PL/SQL. This external Java class is residing in another application server.
How do I do this.
I know one way. Develop C routine in Oracle Apps to call external java class and call this C routine from the PL/SQL.
Is there any simple method available? or any other method?
Thanks in advance.
-VenkatFirst of all, this is a Java application you're talking about, right (i.e. it has a main() function)? It's not just a class that you're trying to instantiate is it? If it's an application, you obviously have to start a new virtual machine to run it (rather than using the virtual machine built into the database like stored java). I'm a little leary of your mention of an "application server" as this would more commonly mean that a virtual machine is already over there running with access to this class. In which case, you'd typically interface with SOAP or some other RPC API.
All that aside, as long as you have physical disc access (through NFS or whatever) to the class file, you could use a java wrapper class with a system call to do this. In fact, there is a thread in just the last day or so on this very forum that has the code to do just that (see " Invoking OS Commands from PL/SQL"). However, it's worth noting that the virtual machine will be running on the database server in this case and not the application server. -
Calling Custom XSLT java class from BPEL in SOA Suite 11g
Hi All,
Morning...need some help with this issue...we are currently on SOA Suite 11g (11.1.1.4) version.
Earlier while we were on SOA Suite version 10g (10.1.3.3) we were calling the custom java classes from the xsl mapping for complex transformation and for this we were placing the .class file as .jar file at the location mentioned here $OC4J_HOME/j2ee/home/applib directory and then mentioning the namespace as http://www.oracle.com/XSL/Transform/java/{$classname$} in the XSLT mapping file.
Now in SOA Suite 11g if we need to retain similar functionality for external custom java calls could someone please help us where do we need to put the .jar file now ..
exactly at which directory location/path and on which instance/server (application server instance or middle tier instance ) we need to put this .jar file
Currently we are stuck and need some help with this.
With thanks & RegardsHi Eric & Anuj,
Thanks for replying , sorry for checking on this now...
here at this path /opt101/app/oracle/SOAD/SOA11gR1/fmw/Oracle_SOA1/soa/modules/oracle.soa.ext_11.1.1
we got the ora.soa.ext.jar file and extracted it to get the MANIFEST.mf file ..have mentioned below.
Now if we need to link our custom .jar file named customfunctions.jar so we need to mention it as below is this correct :
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 17.0-b17 (Sun Microsystems Inc.)
Implementation-Vendor: Oracle
Implementation-Title: Oracle SOA EXT
Implementation-Version: 11.1.1
Product-Name: Oracle SOA EXT
Product-Version: 11.1.1.4.0
Specification-Version: 11.1.1
Extension-Name: oracle.soa.ext
Class-Path: classes/
Class-Path:customfunctions.jar classes/ -- is this the way to mention (means we need to add this additional line or we need to add to the existing line at Class-Path: classes/)
2.
Eric the Alternative method mentioned in your update :
Open a command prompt and change the current directory to the oracle.soa.ext_11.1.1 directory ,
then execute the build.xml file in the oracle.soa.ext_11.1.1 folder using Ant
Now could someone please guide us regards this ANT means how does it work and its relation to the build.xml file and how do we check whether we have ANT utility available or not..
not much conversant with this ANT hence asking here..would lookout for your reply
thank you -
Generation of java classes from XML Schema.
Hi All,
I am working with JWSDP-2.0 but got stucked.:
To generate Java classes from an XML Schema with the JAXB ,I need to have following jar file in thils location with this JWSDP-2.0
<JWSDP>/jaxb/lib/jaxb-api.jar
<JWSDP>/jaxb/lib/jaxb-impl.jar
<JWSDP>/jaxb/lib/jaxb-libs.jar
<JWSDP>/jaxb/lib/jaxb-xjc.jar
<JWSDP>/jwsdp-shared/lib/namespace.jar
<JWSDP>/jwsdp-shared/lib/jax-qname.jar
<JWSDP>/jwsdp-shared/lib/relaxngDatatype.jar
And here I m not finding as jaxb-libs.jar,namespace.jar and jax-qname.jar on respective location.
If I m putting these left jar file from another place it is not generating all the classes as at least in number it should be 45 but it is generating merely 5 classes.
Can any one help me regarding this.
Regards.
Shelly.These JAXB JAR files are for JAXB 1.0.
For JAXB 2.0 the following JAR files are required.
C:\Sun\jwsdp-2.0\jaxb\lib\jaxb-api.jar
C:\Sun\jwsdp-2.0\jaxb\lib\jaxb-impl.jar
C:\Sun\jwsdp-2.0\jaxb\lib\jaxb-xjc.jar
C:\Sun\jwsdp-2.0\jwsdp-shared\lib\activation.jar
C:\Sun\jwsdp-2.0\sjsxp\lib\jsr173_api.jar
C:\Sun\jwsdp-2.0\sjsxp\lib\sjsxp.jar
Maybe you are looking for
-
New hard drive...how do I get my songs back?
My hard drive recently crashed and I had to get it replaced. Most of my songs weren't saved onto cd's (and I don't own an ipod), how do I get all those songs I bought back onto my system?
-
Slow cd import with imac 24 vs dual G5
my new imac 24 is much slower at importing cd's (converting to mp3 at 192) than my G5... something like 7-8x with the imac vs 18-20x with the G5... ??? is this typical for your results or do I have a bum setting??? stephen
-
HT5958 Things dissappear in Final Cut 10.1.1
My team and I at work are all having these issues (4 different computers, all with the same issues): I am working on projects that have multiple file formats: Apple Pro Res video files, .jpgs, .psds, and built-in generators. When I use transitions (
-
Some questions about view options for single folders
hi, I'm trying to customize the finder a little, but I'm running into some troubles. It seems that finder is not capable of saving view options for single folders, is it? What I mean is: For example I want my standard view to be "column view, sorted
-
[solved] Amarok 2.3.1: streaming/webradio doesn't work anymore
I updated to Amarok 2.3.1 and now music streams/webradio doesn't work anymore. Anyone else experiencing this? Someone know, how I can get rid of this? EDIT/SOLUTION: Switched phonon-backend from gstreamer to xine and now it works again. Last edited b