Setting Custom CLASSPATH in BPEL
I want to know How to add classpath to BPEL PM. we have proprietory java packages and jar files( there are huge) that are located in a different location but the same middleware linux server where BPEL s installed. I have developed BPEL proceess (which is using bplex:java code and imports proprietory packages) in Jdeveloper which compiles fine as I have added all these packages/jar files to project library.
However, when I deploy the bpel process to server. It is unable to find the classpath. I came to know that I have 2 options fo rthis to work
1. Add all these jars and packages in the BPEL-INF dir
2. Copy all the Jars and packages to orabpel/system/classes in server
Option 1 is very inefficient as these jars/libs are huge. we have many BPEL processes to develop
Option 2 is also not a viable solution as there will be duplicate copies of classes and there is lot of maintenance involved to sync there custom jars/libs.
Is there any I can include our proprietory classes in BPEL global classpath?
Please help. We are running on BPEL 10.1.2.0.2
What about the documentation:
http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/appx_ref.htm#CIABBDAE
1. Add the files into the BPEL client bpelc CLASSPATH:
1. Open SOA_Oracle_Home\bpel\bin\obsetenv.bat. For UNIX operating systems, the file is named obsetenv.sh.
2. Edit the file as follows:
@REM set MY_CLASSES_DIR=%CLASSPATH%
set MY_CLASSES_DIR=%OB_HOME%\system\classes
set MY_CLASSPATH=%MY_CLASSES_DIR%;your_jar_files
2. Add the files into the Oracle BPEL Server bpelc CLASSPATH in either of two ways:
1. Open SOA_Oracle_Home\bpel\domains\default\config\domain.xml (if the default domain is being used).
2. Edit the file as follows:
<property id="bpelcClasspath">
<name>BPEL process compiler classpath</name>
<value>your_jar_files;...</value>
<comment>...</comment>
</property>
3. Restart Oracle BPEL Server.
or
1. Go to Manage BPEL Domain > Configuration on Oracle BPEL Control.
2. Go to the bpelcClasspath property.
3. Enter your_jar_files; in the Value field.
4. Click Apply.
5. Restart Oracle BPEL Server.
3. Add the files into the Oracle Application Server CLASSPATH:
1. Open application.xml, which is in SOA_Oracle_Home\j2ee\home\config\
2. Edit the file as follows:
<library path=your_jar_files/>
<library path="C:\Ora_Home\bpel\system\classes"/>
Similar Messages
-
Where to set the classpath for custom classes in jsp
Hi,
we have created our custom classes in and ported in contentDB and that classes are internally using some jar files. Previously we have set the classpath of all the jar files provided in CDB devkit in the orion-web.xml but if are opening the explorer.jsp or any other jspx of contentDB we are getting the classcastexception and page is not opening.
Is there any problem in setting the classpath. Please if any one knows abt this, reply as soon as possible.
thanks,
swapna soni.I think it is Oracle 10g Release 2... since when I click the top OAS link in the Enterprise Manager Console, it took me to 'Enterprise Manager 10g Grid Control Release 2' this page.
And...10g Application Server Control Release 10.1.2.0.1, I think 2.0.1 means Release 2.
Thanks and let me know if you need something else. -
Custom classpath and custom jar entry in R12
Hi all,
I have created the custom classpath and custom jar file for isrore process. I had put custom jar and custom class entry in orien_application.xml file. But it was working on R12 at doveloper mode. It will creates the classes for custom jsp file using custom import class or custom jar. But once i revert back the devloper mode means it won't work.
Could you please help..Oracle apps R12 - Compiling JSP with custom classpath
We all know that to compile JSP manually on the Oracle Application R12 instance, we need to run the file $FND_TOP/patch/115/bin/ojspCompile.pl.
Its help is as follows:
syntax: ./ojspCompile.pl COMMAND {ARGS}
COMMAND --compile update dependency, compile delta
--create rebuild entire dependency file
-delta.out update dependency, list delta to file
-dep.out update dependency, output heirarchy to file
ARGS -s matching condition for JSPs filenames
-p number of parallel compilations
-log to override logfile from ojspCompile.conf
You are
recommended to set the log file location
outside of any network file system shared (NFS) area/drive.
-conf to override ojspCompile.conf
--retry retry previously failed compilation attempts
--flush forces recompilation of all parent JSPs
--quiet do not provide an actively running progress meter
--fast instantly fail jsps that are possibly invalid
example1: ojspCompile.pl compile -s 'jtf%' -p 20 retry
example2: ojspCompile.pl compile -s 'jtflogin.jsp,jtfavald.jsp' flush
example3: ojspCompile.pl compile fast --quiet
If your JSP uses custom classes, then compiling jsp manually can fail if proper classpath is not set. Yes, even though if you have setup the classpath correctly in orion-application.xml, it will fail because this jsp compile utility does not read orion-application.xml classpath.
So, the problem is to identify where to set the classpath so that above utility can pick it up. After several search and looking into code, I found following:
By default, the jsp compiler script uses following configuration file
$INST_TOP/appl/admin/ojspCompile.conf
This conf file has a classpath field in it which is usually pointed to file
$INST_TOP/appl/admin/ojspCompile.properties
This property file lists the classpath used for JSP compilation.
So if your classes are not listed in this file, your jsps will not compile by ojspCompile.
Ofcourse, you can always set the "main_mode" to "recompile" in orion-web.xml, but that for production you do not want to change it and compile the JSP on file deployment.
References:
458338.1 How to Enable Automatic Compilation of JSP pages in R12 Environment
433386.1 JSP Pages Hanging in R12 After Removing Cached Class Files in _pages
783094.1 Compile jsp files at Application R12 at Windows -
Issue in setting custom identity service for soa 11.1.1.4
Hello,
I am facing issue in setting custom identity service for soa 11.1.1.4
It is not picking up the implemented UserManager (in custom IDM) implemented via ServiceProvider and IdentityStoreService.
This is configured in jps-config.xml
The same setup was working in soa 11.1.1.2
I believe there is a change done in JpsProvider in bpm-service.jar to authenticate via default login context from oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule
If my uderstanding is correct,
Please guide me in implementing custom identity store and services for bpm services for soa 11.1.1.4
Tried various work arounds but no luck.
Thanks
BalaHi...
Can u tell me how did u set up custom identity service for 11.1.1.2 ?
Thanks -
Help, how to install jvm and set the classpath using a batch file
hello,
i have created my java application and now have to create an installable / batch file which will install the JVM on the users machine and also the java packages such as javamail and the class files that i have created . it also has to set the classpath.
i would like to know if anyone can tell me how to go about iti.e. how can i install the JVM using a batch file and then place the javamial packages etc in the apropriate directory .
or is it advisable to explain it to the user how to go about it in tht user manual.
and would also like to know that if i install the JVM will the path for the java.exe be set
or will i have to set the path explicitly from the "batch file" so that the user can run the application without and problem just by running the java command followed by filename from the command prompt.hi,
I have windows and I use it.
The only problem with the free edition is that you can only create 1 launcher and that during the installation you get 1 popup showing that the installer was created with an unregistered version.
Stijn -
How to set custom font family in qml label in black berry 10 os
how to set custom font family in label text qml in black berry 10 OS
AFAIK, this is not the correct way to set the image location.
We call the working directory as context, so inside the context root along with WEB-INF, maintain a folder with name img and put all the images in that directory.
You can use either .\<image_folder> or the optimum way would be (if you are using JSPs) to use getContext() method and traverse accordingly.
FYI,,, using getContext() will give you context root directory, from there it is as simple as accessing any other folder.
Hope this answers your question.
Cheers,
Jeets. -
How to set custom master page for sharepoint application page ?
Hello,
I need to apply custom master page for the custom application page I created for login purpose.
Can anyone please let me know how to apply master page for custom application page ?
Note : I need to set custom master page for application page at web application level.
thanks,
Dipti ChhatrapatiHi Dipti,
You can use the same reference as ASP.NET
Example
"<%@ Page Language="C#" masterpagefile="../_catalogs/masterpage/minimal.master" title="teste" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full"
meta:progid="SharePoint.WebPartPage.Document" %>"
You can use SharePoint Designer 2010
http://www.microsoft.com/download/en/details.aspx?id=16573 to make the reference from you aspx page to you custom masterpage.
When you are editing a aspx page you can go to ribbon "Style" and attach the custom Masterpage.
André Lage Microsoft SharePoint, CRM Consultant
Blog:http://aaclage.blogspot.com
Codeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/ -
How to set the CLASSPATH in Unix Server
Hi, everyone~
Do anyone noe how to set the CLASSPATH in the hp-ux server? I tried the setenv CLASSPATH, but not working.. I think should use export. But my jsp pages still cannot working, dunnoe y?
I wonder is the hp-ux support jsp and servlet or not?
In order to let the jsp and servlet to run properly in the unix server, what kinds of steps should taken ?
Hope somemore who experience with this situation b4 can give me some guidance.. Thanks~~
regards,
tzeyikTomcat ignores any and all CLASSPATH environment variables. Even if you could figure out how to set it, Tomcat wouldn't use it.
Better to learn how Tomcat's CLASSPATH works and how to deploy Web apps properly. - MOD -
How to set custom master page for social/sites.aspx in sharepoint 2013
How to set custom master page for social/sites.aspx in sharepoint 2013.?
File path is
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\SocialDataStore\SocialDataStoreList\sites.aspx
Thanks in advanceHi,
You could open the sites.aspx in Notepad or SharePoint designer, and set the master page to your own master page directly via editing:
<%@ Page language="C#" MasterPageFile="~masterurl/custom.master" Inherits="Microsoft.SharePoint.Portal.WebControls.FollowedContentWebPartPage,Microsoft.SharePoint.Portal,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c"
%>
Regards,
Rebecca Tu
TechNet Community Support -
How to set custom size of Close Button e.g. 32x32 of Title Window in Flex 4
How to set custom size of Close Button e.g. 32x32 of Title Window in Flex 4?
Hi
Here is the code of the Button in the skin class of spark title window.
<s:Button id="closeButton" skinClass="spark.skins.spark.TitleWindowCloseButtonSkin"
width="15" height="15" right="7" top="7" />
So first change the default height and width from 15 to 32. Then in the Button Skin class i.e. spark.skins.spark.TitleWindowCloseButtonSkin change paths to modify the cross symbol.
Hope this helps
Rush-me -
Novice Trying to Set The CLASSPATH Variable
I am trying to compile a file (which can be downloaded at http://java.sun.com/docs/books/tutorial/getStarted/QandE/FirstClass.java). Despite being able to successfully compile several other files, this particular one will not compile. According to my JAVA Tutorial book, the problem may lie in the CLASSPATH variable, but I am having a great deal of trouble trying to set/understand it. My operating system is WINDOWS 2000. PLEASE HELP!!!
in win 2000, the classpath can be set by the following process.
Right Click My Computer icon and click on properties.
(This can be done by going to the Control Panel and Double Clicking the System icon too).
Once you have the properties window of the system click on the 'Advanced' tab.
There is a button called 'Environment variables'.Click on it.
You will have a part called 'System Variables' there.
Here there is an entry called Classpath. Just add the entry of what you want to add to the classpath, separating each entry with a ';' semicolon as mentioned there and click on the Set button.
That should set the classpath.If that does not take effect immediately, restart the system and it will take effect.
Tell me if it worx.
All the best. Bye!
Cheers,
Win! -
How can i set the classpath??
CAN ANYONE PLEASE HELP ME HOW TO SET THE CLASSPATH IN WINDOWS ME ,WHAT IS THE RIGHT CODE TO SET THE CLASSPATH I AM USING JDK1.3 VERSION.
THANK YOU VERY MUCH
ERICK LUCCIOTry this way Start->Program->System tools-> System Summary>startup .Try to find the variable classpath,make sure the path is correct.The classpath contain the the *.java & *.class you save. I'm also new in java .This path & classpath question is so trouble to me .Now i'm running jdk1.3.1_2 in WINME ,WINNT AND WIN2000 IN no problem.........
-
How to set a CLASSPATH in JBuilder8
I know it's probably a really easy answer or an incredibly stupid question but how do you set a classpath using JBuilder8 I'm trying to run a web-service and I need no access "axis jar files" I could really do with some help
thanks
"be wildered IT intern"Hello and thank's ever so much for your help sadly It still won't co-operate at this stage I can only beg for help it's vtal I have this running today!!!
so this is the main part of the code thats causing problems
package samples.userguide.example2 ;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
import org.apache.axis.utils.Options;
import javax.xml.rpc.ParameterMode;
I've added the libraries and this is what the window shows :
project project properties _ libraries required
Axis
Apache Soap
Xerces
Ant
JDK 1.4.1-b21
When I try to run anything I get the following errors
Erreurs
Classe org.apache.axis.client.Call non accessible ; fichier org/apache/axis/client/Call.class introuvable � la ligne 3
Classe org.apache.axis.client.Service non accessible ; fichier org/apache/axis/client/Service.class introuvable � la ligne 4
Classe org.apache.axis.encoding.XMLType non accessible ; fichier org/apache/axis/encoding/XMLType.class introuvable � la ligne 5
Classe org.apache.axis.utils.Options non accessible ; fichier org/apache/axis/utils/Options.class introuvable � la ligne 6
Classe javax.xml.rpc.ParameterMode non accessible ; fichier javax/xml/rpc/ParameterMode.class introuvable � la ligne 7
Classe Options introuvable dans classe samples.userguide.example2.CalcClient � la ligne 12
Classe Options introuvable dans classe samples.userguide.example2.CalcClient � la ligne 12
Classe Service introuvable dans classe samples.userguide.example2.CalcClient � la ligne 33
Classe Service introuvable dans classe samples.userguide.example2.CalcClient � la ligne 33
Classe Call introuvable dans classe samples.userguide.example2.CalcClient � la ligne 34
Classe Call introuvable dans classe samples.userguide.example2.CalcClient � la ligne 34
Variable XMLType introuvable dans classe samples.userguide.example2.CalcClient � la ligne 38
Variable ParameterMode introuvable dans classe samples.userguide.example2.CalcClient � la ligne 38
Variable XMLType introuvable dans classe samples.userguide.example2.CalcClient � la ligne 39
Variable ParameterMode introuvable dans classe samples.userguide.example2.CalcClient � la ligne 39
Variable XMLType introuvable dans classe samples.userguide.example2.CalcClient � la ligne 40
Imports
CalcClient
CalcClient()
main(String[] args) -
I can't set my classpath to compile serlets any help?
I don't understand I'm doing it the way my book says to do it but I can't for the life of me set a freaking class path for my tomcat server so I can compile my serlets here's how it says to do it
C:\Documents and Settings\Compaq_Owner\Desktop>javac -classpath C:\Program Files\Apache Software Foundation\Tomca
t 5.0\common\lib\servlet-api.jar
Can anyone tell me what the hell I'm doing wrong any help is greatly appreciated thanksOk I think I get what your saying but couls someone show me the syntax where to include the source files at and how here's what I did but it couldn't read the file so I'm guessing I'm not putting it in right and also is there a way to permanently set the classpath so I won't have to go through this everytime I want to compile java servlet files?
C:\Documents and Settings\Compaq_Owner\Desktop>javac -classpath "C:\Program Files\Apache Software Foundation\Tomc
at 5.0\common\lib\servlet-api.jar" "C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jhtp6\WEB-INF\
classes\WlcomeServlet.java"
error: cannot read: C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jhtp6\WEB-INF\classes\WlcomeSe
rvlet.java
1 error -
Setting the classpath of classes12.zip for Tomcat
Hi
I am using Apache Tomcat webserver and while trying to run a jsp page which intializes oracle.jdbc.driver.OracleDriver it throws an error
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Please suggest how to set the classpath of classes12.zip in Apache Tomcat
My Code Snippett
<%@ page import="java.util.*,java.sql.*,javax.servlet.*"%>
<body>
<%
Connection con ;
ResultSet rs ;
Statement stmt ;
ResultSetMetaData rsmd ;
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
catch(Exception e)
out.println(e);//print the exception on the command prompt
%>The simplest way to do this is to copy classes12.zip to the WEB-INF/lib directory. The JSP should then find this automatically.
As a side note, that is an ancient JDBC driver - you might want to upgrade to something from this millennium.
Maybe you are looking for
-
Sql query to achive the running division
Hi all, plz help me out with the sql query to achive the below output create table emp_a (empno number, deptno number, sal number) insert into emp_a values(901, 10,100); insert into emp_a values(902, 10,400); insert into emp_a values(901, 20,300); in
-
OAS 10G 10.1.2 Oracle_Home Size = 5GB Plus
Dear Experts, I have installed OAS 10G 10.1.2 (Forms & Report Services) five months before. My problem is the size of Oracle_Home which is now 5.15 GB. Which may effect on performace of OAS as currently i need to restart the report server daily. Plea
-
Photo stream picture limits.
I understand my iPhone 4S has 1000 pictures available on photo stream, but what happens to the ones it deletes when you have reached 1000? Are they accessible anywhere?
-
IBook freezes at the Apple Logo
I'm trying to help my mother get her iBook ready to take to warmer climates this winter. She transferred all of her data via firewire and now is unable to get it booted up. It gets to the bitten apple logo and won't go any further. I had her try to z
-
Creating a Producer for remote portlets
Hi there. I need to to offer one of my portlets as a remote portlet. I´m using Weblogic 8.1 SP3 and the problem is that the workshop property editor doesn´t show the "Offer as remote" property for my portlets as it´s written in the documentation. Can