Deploying BC4J on Apache
What are the steps one needs to follow while deploying BC4J to Apache as a middle-tier library? Any URLs where this is discussed?
Thanks for your help.
Hello ,
You just need to have the BC4J application
classes & the BC4J framework jar files
placed in the middle tier (
JBO , and have them included in your CLASSPATH.The BC4J classes
then could be accessed from a java application deployed on Apache.
This is similar to Local deployement.
null
Similar Messages
-
hi everyone,
on which web servers can we deploy BC4j?
Is creating jar files enough?What extra we have to do
We want BC4j to deploy on apache server,which i think does not support jsp.So what we need to do and how?
tnx in advance.For JSP support on apache, download the OJSP product from OTN. It comes with instructions for configuring apache to run JSP pages.
-
Issues with deploying BC4J/JSP applications on OC4J
To everyone who's been having problems deploying BC4J/JSP applications to OC4J.
We are aware that you're having problems deploying to OC4J, and we're working on them. OC4J was not available in time for us to add support for OC4J deployment to the JDeveloper 3.2.3 release. In addition there are some bugs in the first release of OC4J that have an impact on BC4J applications. This note describes the issues, and how we plan to address them.
Issue 1: Classpath problems
People have been getting "class not found" or "properties file not found" errors when they try to run their JSP. The answer is to make sure that all relevant archives and your JSP's .properties file are in the OC4J classpath - there's a note addressing the .properties file problem at http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html. In general though, setting up the classpath can be tricky.
Issue 2: JSP TAG NOT RELEASED ON END TAG. SAME TAG IS REUSED.
This issue affects JSP pages whose behaviour relies on a tag instance being cleaned up as a result of release() being called.
Your tag will not be released, and subsequent instances of the tag will reuse the first instance, rather than instantiating a new
one.
Issue 3:JSP SCRIPTABLE VARIABLE NULL
A scriptable variable set in a tag cannot be accessed by a scriptlet. For example, this JSP code will throw a
NullPointerException, because the scriptlet cannot access the value of resultRow:
<jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
<%
session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
%>Workaround: Add a line of code at the beginning of the scriptlet to explicitly get the variable's value from the page context, for
example:
<jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
<%
resultRow = (oracle.jbo.Row)pageContext.findAttribute("resultRow");
session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
%>
What we plan to do
To address issue 1, we're currently testing a utility that installs the BC4J runtime libraries to OC4J, and provides a script to start OC4J with the correct classpath. We plan to post this by the end of this week, along with instructions for deploying a BC4J application to OC4J; deployment will be a lot simpler after running the utility.
To address issues 2 and 3, we're working on a second utility that installs BC4J runtime and provides a fix to the JSP compiler. We plan to post this second utility by the end of next week.
We do apologise for the problems you're having; please bear with us as we work on making it easier for you to deploy BC4J applications to OC4J.
Thanks
BlaiseHi, I have been trying desparately to deploy
a simple example JDeveloper application for months and months.
I HAVE NEVER BEEN SUCCESSFUL IN DEPLOYING ANYTHING.
I don't know much about webservers and I am relying
on the instructions from JDeveloper help and this website.
I have already tried Apache, and WebLogic
because there are instructions in the JDev help.
No luck.
Now I am trying to use OC4J on 9ias because there are instructions.
I have read the instructions about how to install a BC4J
app on OC4J about 25 times, but I can't get this thing to work.
It works fine inside of JDeveloper.
I create a BC4J project using the scott
schema (just the dept and emp tables).
Then I create an empty project for my JSP client.
I choose JSP Application from the web
objects and it connects to my BC4J project.
As I say, when I run it in JDeveloper, there is no problem.
In the instructions for installing BC4J
in OC4J, it first says install JDev 3.2.3 and OC4J.
This is done, and it tested fine.
Then it says to install the deployment software.
No problem.
But when I deploy the app according to the instructions,
it just hangs (like Rick Wang's program did).
The main.jsp page loads and displays correctly,
but when I click on the links to the DeptView.jsp
or EmpView.jsp it just hangs.
Here is the entire batch file I'm using
to start OC4J: cd c:\oracle_9ias\j2ee\home
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\default-web-app\lib
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\classes
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\classes12.jar
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\xmlparserv2.jar
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jdev-rt.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbojdbcpatch.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\connectionmanager.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbohtml.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboimdomains.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordim817.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordvir817.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordhttp.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbomt.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodomorcl.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboremote.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jndi.jar
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodatum12.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\al_BC4J.jar
java -cp C:\oracle_9ias\j2ee\home\orion.jar;%CLASSPATH%
com.evermind.server.ApplicationServer
pause
The file al_BC4J.jar contains my application.properties file
and my connections.properties file, as well as my business components.
All of the files referenced in my classpath are
present in my c:\oracle_9ias\j2ee\home\lib directory.
I noticed that Raghu's classpath contains a file called jdev.jar
So does the classpath of another fellow who says
he was successful in deployment (his name is Jeffrey Jackson).
I searched my JDev_3.2.3 for this file and found it nowhere.
I also searched my OC4J home and my 9iAS for this file and
found it nowhere.
It is nowhere on my C:\.
Is this file necessary?
I will also try removing my application.properties file
and my connections.properties file from my BC4J .jar file
and put them in a separate .jar file at the root level (as Raghu did).
However, Jeffery Jackson did not do this and says he was
successfull in deployment.
***DO I NEED TO JAR UP ANY OF MY THE FILES FROM the JSP
FOLDER IN JDevHome\myhtml???***
***or place them in the classpath?***
I have read over all of the discussions at: http://technet.oracle.com:89/ubb/Forum2/HTML/008232.html
and http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html
many, many times.
Can anyone help me? -
Hello,
Using the ADF Runtime Installer for JBoss found in JDeveloper 10.1.3.0.4, i've received deployment error during startup of JBoss. The error message as displayed in the console window as follows:
09:29:16,325 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@89f00429 { url=file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/deploy/bc4j.ear }
deployer: org.jboss.deployment.EARDeployer@3a835d
status: Deployment FAILED reason: Could not create deployment: file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp65518bc4j.ear-contents/webapp.war; - nested throwable: (org.jboss.ws.WSException: java.lang.ClassNot
FoundException: oracle.jbo.server.emd.EMDServlet)
state: FAILED
watch: file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/deploy/bc4j.ear
altDD: null
lastDeployed: 1146014956309
lastModified: 1146014950147
mbeans:Above it there is a lot more lines of stack trace, tell me if you need it to help me with this problem. The file structure deployed is as follows (Based on the log displayed in JDeveloper):
In deploy directory
bc4j.ear
In jlib directory
bc4jdomgnrc.jar
In lib directory
adf-connections.jar
adfbinding.jar
adfcm.jar
adfm.jar
adfmtl.jar
adfmweb.jar
adfshare.jar
adfui.jar
antlr.jar
bc4jct.jar
bc4jctejb.jar
bc4jdomgnrc.jar
bc4jdomorcl.jar
bc4jhtml.jar
bc4jimdomains.jar
bc4jmt.jar
bc4jmtejb.jar
cache.jar
collections.jar
commons-cli-1.0.jar
commons-el.jar
concurrent.jar
datatags.jar
dc-adapters.jar
dms.jar
http_client.jar
jazncore.jar
jdev-cm.jar
jsp-el-api.jar
mdds.jar
mdsrt.jar
ojdbc14.jar
ojdbc14dms.jar
ojdl.jar
ojpse.jar
oracle-el.jar
oraclepki.jar
orajaxr.jar
orasaaj.jar
orawsdl.jar
orawsrm.jar
ordhttp.jar
ordim.jar
osdt_cert.jar
osdt_core.jar
osdt_saml.jar
osdt_wss.jar
osdt_xmlsec.jar
regexp.jar
runtime12.jar
share.jar
toplink.jar
translator.jar
wsclient.jar
wsdl.jar
wssecurity.jar
xml.jar
xmlef.jar
xmlparserv2.jar
xsdlib.jar
xsqlserializers.jar
xsu12.jar
And another thing, is there any way to have the ADF Runtime Installer install the ADF Runtime into another JBoss config directory. As far as I noticed, it will only install into the JBoss default config directory.
TQ in advance.Hi Cleber,
Is it possible that you can send me a copy of your original 10.1.2 project which contains these diagrams so that I can take a look? The diagrams should open fine in 10.1.3.0.4.
My email address is [email protected], if you could zip up your project and then change the .zip file extension to .zap to get it through the email server.
Regards,
Lisa
JDev QA -
Prolbem deploying BC4J in Oracle 8i for NT
Hello,
We're testing the sample of BC4J distributed with JDev 3.0.
When we test it localy, it works ok. Our problem arises when we
try to deploy the BC4J as a EJB on Oracle 8i on NT. First when we
deploy the BC4J runtime the deployment process returns some erros
like the following one:
Error while resolving class
oracle/jbo/server/DatabaseTransactionFactory
ORA-29554: unhandled Java out of memory condition
resolving: oracle/jbo/common/remote/PiggybackReturn
resolving: oracle/jbo/server/xml/JTPersistable
resolving: oracle/jbo/server/util/JboSQLUtil
Error while resolving class oracle/jbo/server/util/JboSQLUtil
ORA-29554: unhandled Java out of memory condition
(Oracle 8i has 100Mb of Java Pool Size and we tryed
increasing this aspect but without results)
After the BC4J runtime finished, the BC4J deploy stars
returning the next error:
Reading Deployment Descriptor...done
Verifying Deployment Descriptor...done
Gathering users...done
Generating Comm
Stubs............................................................
...................done
Compiling Stubs...done
Generating Jar File...done
Loading EJB Jar file and Comm Stubs Jar file...done
Generating EJBHome and EJBObject on the server...
An exception occurred during code generation: null
*** Errors occurred while deploying the EJB to JServer ***
*** Deployment completed ***
Does anyone know which is the problem?
Thanks in advance.
nullOK. I know it's bad form to reply to your own messages...
I've found and executed the SQL script but the SELECT statement returns no rows.
I'm still getting ORA-29554 for a number of classes. A java_pool_size of 120Mb has made no difference. Can anyone suggest any other settings that might be causing the problem.
Maybe somebody who has successfully deployed BC4J to 8i could post/email me a spool of "show parameters" from server manager....?
Thanks,
Rob.
null -
I am trying to deploy BC4J as Ejb to 8i (8.1.6). I use the following deployment method with j: my Jdev root.
setjboenv j: ejb8i
loadjava - u user/passwd@host:port:sid - thin -v - r grant "SYS,PUBLIC" j:lib\xmlparserv2.jar
loadjava - u user/passwd@host:port:sid - thin -v - r grant "SYS,PUBLIC" j:lib\jbomt.zip
loadjava - u user/passwd@host:port:sid - thin -v - r grant "SYS,PUBLIC" j:lib\jboejb.jarI then create a deployment profile for ejb 8i with the ide. (Without deploying)
I then use loadjava outside the IDE to deploy the 2 jar files created
MyProject1CommonEJB.jar
and
Myproject1.jar
I then use the ide again to deploy the bean profile
Package1ModuleServerEJB.prf
The last step fails with the error :
Publishing EJBHome...org.omg.CORBA.BAD_PARAM: null Strings are illegal in IIOP. Please correct your application or run the ORB in backward compatibility mode. minor code: 0 completed: No
void oracle.aurora.ejb.deployment.GenerateEjb.invoke()
void oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(java.lang.String[], java.io.InputStream, java.io.PrintStream, java.io.PrintStream)
void oracle.aurora.ejb.deployment.GenerateEjb.main(java.lang.String[])
Exception in thread main
Strangely, when I test this EJB with the tester (middle tier = remote ejb) it works, but from JSP's I get an application error : "Unknown Exception"
I am using Jdev 3.1
Also using the deploy option when creating the deployment profile fails apparantly due to the missing grant "SYS,PUBLIC" when loading classes to the database before deploying the bean.
What can be done ?
nullHi Blaise
Thanks for the reply. I have tried to do the complete deployment from within Jdev, but now I get the following error right at the end of the deployment.
/BC4J1AppModuleEjb/EjbObject_RemoteBC4J1AppModuleEjb:ORA-29535: source requires recompilationjava.lang.NullPointerException at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) ..... etc.
I have tried to deploy to a clean schema with the java privilages granted as described in the Jdev release notes.
I included the following libraries in my project :
JBO JDBC816 PATCH
JBO OSQL Domains
JDeveloper Runtime
Oracle 8.1.6 JDBC
Connection Manager
JBO Runtime
JBO VB Runtime
JBO 8i Runtime
SQLJ Runtime
JBO 8i Client
JBO Vanilla Domains
JBO EJB Runtime
JServer
Oracle XML SQL Utility
ORACLE XML Parser 2.0
Then I just used the deployment wizzard
null -
Urgent!!! problems deploying BC4J to Oracle 8i
I have the following problem deploying BC4J to Oracle 8i as EJB :
When I tried to deploy as an EJB following the guidelines in the following help page:
Contents help--> Developing Business Components-->Deploying Business Components-->Creating Deployment Profiles and Deploying
I get the following error :
An exception occurred during code generation: Class not found: bc4jEjbtrial.common.ejb.DeptAppModHome.class
*** Errors occurred while deploying the EJB to JServer ***
Could someone please tell me where I am possibly going wrong?What version of jdev are you running? The Bc4jtrial package sounds suspicious.
Thanks
Blaise -
Problem with deploying bc4j into Oracle 8i
Hi ,
We are trying to deploy bc4j in to Oracle 8i. Using the
business componets tutorial as a guideline, we have created
business components for a master detail relationship between dept and emp tables. When tested using the business components tester in
JDev 3.0 in the local mode it is working well. Then we made
the application remotable to be deployed as a corba object in
Oracle 8i database. When the deployment is done the following errors
are occuring during resolving.
resolving: oracle/jbo/server/DatabaseTransactionFactory
Error while resolving class oracle/jbo/server/DatabaseTransactionFactory
ORA-29554: unhandled Java out of memory condition
resolving: oracle/jbo/common/remote/PiggybackReturn
resolving: oracle/jbo/server/xml/JTPersistable
resolving: oracle/jbo/server/util/JboSQLUtil
Error while resolving class oracle/jbo/server/util/JboSQLUtil
ORA-29554: unhandled Java out of memory condition
resolving: oracle/jbo/server/xml/XMLContextCustImpl
oracle/jbo/server/xml/JTStorageOutput is already resolved
resolving: oracle/jbo/server/java/util/Iterator
resolving: oracle/jbo/server/rules/JboSQLCompareValidator
Error while resolving class oracle/jbo/server/rules/JboSQLCompareValidator
ORA-29554: unhandled Java out of memory condition
resolving: oracle/jbo/server/ValidationManager
Error while resolving class oracle/jbo/server/ValidationManager
ORA-29554: unhandled Java out of memory condition
resolving: oracle/jbo/server/TransactionListener
Error while resolving class oracle/jbo/server/TransactionListener
ORA-29554: unhandled Java out of memory condition
resolving: oracle/jbo/common/CheckedListResourceBundle
resolving: oracle/jbo/DeleteEvent
Error while resolving class oracle/jbo/DeleteEvent
ORA-29554: unhandled Java out of memory condition
resolving: oracle/jbo/common/PiggybackObjRemovedEntry
resolving: oracle/jbo/server/rules/SQLBindUtility
resolving: oracle/jbo/server/ViewRowCache
Error while resolving class oracle/jbo/server/ViewRowCache
ORA-29554: unhandled Java out of memory condition
resolving: oracle/jbo/server/ContainerObjectEvent
resolving: oracle/jbo/domain/Char$1$facClass
Error while resolving class oracle/jbo/domain/Char$1$facClass
ORA-29554: unhandled Java out of memory condition
But at the end we are able to resolve all classes from the sqlplus using alter java class .... resolve.
After resolving all the invalid classes manually, when we try to test
the application using business component tester in Oracle 8i mode
we end up with the error
String index out of range: -25
The same thing happens when we are trying to deploy the business components as an ejb in Oracle 8i as well.
Oracle 8i (8.1.5) is running on Windows NT. Java pool size is 60MB
Ramanujam SYou need to configure the Java shared pool size in the init.ora for the RDBMS. The default is 20 MB and this is not enough for deploying the BC4J into the RDBMS, try 50 MB (or more if you can afford it). There are a lot of classes in the BC4J and the resolver needs a lot of temporary space to take care of loading and resolving these.
-
HOWTO:Deploy BC4J as Session Bean in Weblogic
This document describes Howto deploy a BC4J Appmodule as EJB Session Bean to Weblogic and
test the appmodule through the BC4J tester.
=>create a BC4J Application using Business Components Wizard.
=>test it using BC4J tester
=>make the Application Module Remotable [list]
[*]Select Appmodule and right mouse on it to select the edit option
[*]Select Remote tab
[*]Select the check box for Remotable Application Module
[*]Select EJB Session Bean and shuttle it from Available list to Selected list
[*]Click on the finish button[list]
=> Do File| Save All and a Rebuild on the project
=> create the weblogic XML Deployment Descriptor[list]
[*]Choose File|New
[*]Select the web objects tab
[*]Select XML and click ok
[*]Rename the file as ejb-jar.xml using File|Rename
[*]Save it in the JDEV_HOME/myclasses/META-INF directory.
[*]Open the xml file by double clicking on it.
[*]Paste the following into the file
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>wl.WlModule</ejb-name>
<home>wl.common.ejb.WlModuleHome</home>
<remote>wl.common.ejb.RemoteWlModule</remote>
<ejb-class>wl.server.ejb.WlModuleServerEJB</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Bean</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
</assembly-descriptor>
</ejb-jar>
[*]Choose File|New
[*]Select the web objects tab
[*]Select XML and click ok
[*]Rename the file as weblogic-ejb-jar.xml using File|Rename
[*]Save it in the JDEV_HOME/myclasses/META-INF directory.
[*]Open the xml file by double clicking on it.
[*]Paste the following into the file
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN' 'http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>wl.WlModule</ejb-name>
<caching-descriptor>
<max-beans-in-free-pool>100</max-beans-in-free-pool>
<max-beans-in-cache>100</max-beans-in-cache>
<idle-timeout-seconds>60</idle-timeout-seconds>
</caching-descriptor>
<jndi-name>wl.WlModule</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
In this example "wl" is the package name and "WlModule" is the Appmodule name.[list]
=> generate the jar file for appmodule along with xml deployment descriptors[list]
[*]from the command line in JDEV_HOME/myclasses directory run
[*]jar cvf0 wlappmodule.jar wl META-INF[list]
=> edit the setenv.cmd file in WEBLOGIC_HOME directory[list]
[*]set JAVA_HOME=f:\jdev32\java1.2
[*]set JBOLIB=f:\jdev32\lib
[*]set JDBC_CLASSES=f:\jdev32\jdbc\lib\oracle8.1.7\classes12.zip
[*]set JBO_RUNTIME=%JBOLIB%\jboorasql.zip;%JDBC_CLASSES%;%JBOLIB%\jbodatum12.zip;%JBOLIB%\xmlparserv2.jar;%JBOLIB%\jbomt.zip;%JBOLIB%\jboejb.jar
[*]add JBO_RUNTIME in the set CLASSPATH variable[list]
=> create a bc4j deploy batch file "Deploybc4j.cmd" in the WEB_LOGIC HOME
which will generate the server side jar files
@setlocal
set JAVA=java
set JAVAC=javac
set BEAN_JAR=%1
set EJB_TEMP=f:\jdev32\myclasses\wl
set XMLPARSERV2=f:\jdev32\lib\xmlparserv2.jar;
set JDBC_LIBS=f:\jdev32\jdbc\oracle8.1.7\lib\classes12.zip
set JBO_EJB_RUNTIME=f:\jdev32\lib\jbomt.zip;f:\jdev32\lib\jboejb.jar;%XMLPARSERV2%;%JDBC_LIBS%
set CLASSPATH=%CLASSPATH%;%JBO_EJB_RUNTIME%;%BEAN_JAR%;%EJB_TEMP%
%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar;f:\jdev32\lib\jbodomorcl.zip
pushd %EJB_TEMP%
@endlocal
Note: substittue appropriate jar file and directory structure names
=> Run setenv.cmd
=> Run deploybc4j.cmd
=> Configure Weblogic server[list]
If your weblogic server is residing on a different machine then
[*]copy wlAppModuleGenerated.jar (generated jar file from deploybc4j.cmd)
[*]Copy classes12.zip from JDEV_HOME/jdbc/lib/oracle8.1.7/ directory
[*]Copy jbodomorcl.zip
[*]jbodatum12.zip
[*]xmlparserv2.jar
[*]jbomt.zip
[*]jboejb.jar from JDEV_HOME/lib directory
[*]edit weblogic.properties file in WEBLOGIC_HOME directory
[*]In the WEBLOGIC EJB DEMO PROPERTIES sectio
[*]add weblogic.ejb.deploy=E:/weblogic/myserver/wlAppModuleGenerated.jar
(generated jar file from deploybc4j.cmd file)
[*]edit startweblogic.cmd file in WEBLOGIC_HOME directory
[*]set POST_CLASSPATH=f:\jdev32\jdbc\oracle8.1.7\lib\classes12.zip;f:\jdev32\lib\jboorasql.zip;f:\jdev32\lib\jbodatum12.zip;f:\jdev32\lib\xmlparserv2.jar;f:\jdev32\lib\jbomt.zip;f:\jdev32 \lib\jboEJB.jar;f:\jdev32\lib\jbodomorcl.zip
[*]add E:/weblogic/myserver/wlAppModuleGenerated.jar
(generated jar file from deploybc4j.cmd file) in the weblogic_classpath setting[list]
Note: modify the directory structure of jar files as apporpriate
=> Run the BC4J tester to test the deployed BC4J Appmodule as session bean to Weblogic[list]
[*]Add a new library
[*]Select the Project in which you developed the BC4J Appmodule
[*]Project | Project Properties
[*]select libraries tab
[*]Click on Add
[*]Click on New
[*]Specify "JBO WL Client" in the NAME
[*]Click on ... button for adding the jar files
[*]Click on Add/Zip jar button to add the following files
weblogicaux.jar
jboremoteejb.zip
jboremote.zip
<Weblogic_home>/classes
[*]Click on OK
[*]Start the weblogic server
[*]Bring the BC4J Tester by doing a right mouse on the appmodule and selecting Test option
[*]In the Middle Tier Server Type Select "Weblogic"
[*]Specify Host name and port # of weblogic server
[*]Click on Connect[list]
raghu
nullAlthough this explains how to then deploy to Weblogic on another server, it still presumes that it is installed on the same computer as JDev. I moved the weblogic.jar file over to the computer and fudged a few things to get it to work.
Also, I am testing this with Weblogic 6.0, so some of the information does not work as prescribed. I edited the config.xml instead of the weblogic.properties file. I am trying to figure out where to put all of the *.jar and *.zip files that I copied over to the Solaris machine with Weblogic. Any suggestions?
And one of the steps in the section to create the deploybc4j.cmd file is wrong. It says
"%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar;f:\jdev32\lib\jbodomorcl.zip"
Which does not work. I took off the last part:
"%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar"
and it worked. It was getting that whole last part and trying to create a directory with that name and failing.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Shanes ([email protected]):
This seems to assume that JDev and Weblogic are installed on the same server (I refer to the section on setting the setenv.cmd file in the WEBLOGIC_HOME dir that includes the path to the JDev install.
I have JDev installed on a Win 2k box and Weblogic installed on a Solaris. Any suggestions? I got all the way up to the setenv.cmd step fine.<HR></BLOCKQUOTE>
null -
JBOSS WONT DEPLOY BC4J.EAR - FAILS
Following instructions found elsewhere in OTN, I have set up JBOSS to use BC4J by copying relevant files to the JBOSSHOME/lib/ext folder and by deploying BC4J.EAR into the JBOSS deploy folder. Deployment fails mentioning that it is missing a class ...emd.EMDServlet. This class appears in emd.jar and BC4JHTML.jar alike, probably the latter is relevant (not sure). Has anyone else had trouble deploying BC4J.EAR? Using BC4J.EAR from JDeveloper 9.0.3.
Would you please post more error message?
-
Deploy BC4J in JDeveloper 3.1.1.2 to Tomcat
Need help on how to deploy BC4J in JDeveloper 3.1 to Tomcat web server
Thank you very much,
jenJDeveloper's convention is to put:
- .java files in <jdev>\myprojects
- .class files in <jdev>\myclasses
- .html and .jsp files in <jdev>\myhtml
But none of these are mandatory. I suggest you start by creating an empty project and adding all of your files to the project.
Blaise -
Unable to deploy bc4j component properly
I m deploying bc4j from the machine on which oc4j rel 2 server
is running using
jdev 9i, i m facing the following prob.
My applicatin is made in jsp & bc4j.
1. It is giving some EOFException at the time of deploying.
After deployment
some jsome links are working and some are not working.
2. Can we deploy from other remote machine on the oc4j server????
3. how do we use a component already deployed on the server in
our other oc4j
programs??
3. In our system there is a lot of repeatitions of same entities
in different
- application module so how do we redue that?
i wd apreciate any answer this query.
regardshi,
can you please provide more details on this issue.
Which links are working and which links are not working?
What do you mean by the question: can we use other component in the server in our oc4j. What components do you mean?
I hope an answer to these questions will clarify the issue?
thank you -
How to deploy BC4J Substitutions?
Hi All,
I need help on deploying BC4j substitutions.
I have done some custom development for which I did some VO substitution.
Right now I have impoted substitution using jpximport utility refering to my .jpx file residing on my project file.
but in future if client want to deploy that on different server then how they can?
Do I need to copy this .jpx file on custom top and refer this file in jpximport?
Please Guide me.
Regards,
AdarshSubstitutions are stored as site level customization in the JRAD repository. If you are creating a substitution for a VO, /oracle/apps/pos/server/TestVO then the substitutions will be stored in /oracle/apps/pos/server/custoizations/site/0/TestVO.
You can export this cusomization document in to an xml file and export it to a different instance. The easient way of maintainence is to club all the substitutions and store them in a single jpx file and use jpximport to import them all. One substitution line will be imported as one customization document. -
Is it possible to deploy BC4J auction on Microsoft internet information server 4?
nullYou should be able to deploy a JSP web application to any webserver that supports JSP 1.0 and Servlet 2.0 or later.
Make sure to deploy the runtime libraries needed by the app to the webserver's host and include them in the classpath for the webserver.
See your webserver doc for more information on setting its classpath.
For more info on deploying JSP web applciations, see the online help:
User Guides
Developing Applications
Developing Web Applications
Using Java ServerPages
Deploying a JSP Application -
Deploying UIX based on Bc4J in Apache Tomcat Problem
Hi,
I need to deploy the UIX based on BC4J components application in Apache Tomcat, I install all nessesary jar files into web application directory, but i can't see uix pages based on the bc4j components. The non-bc4j uix pages appears fine.
Here the Tomcat log information i am getting when i clicks on the one of the bc4j view page:
2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 16, column 20: <registryDef> is not an understood element.
This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 50, column 57: <rootAppModuleScope> is not an understood element.
This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 170, column 53: <findRootAppModule> is not an understood element.
This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 197, column 53: <findRootAppModule> is not an understood element.
This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 209, column 53: <findRootAppModule> is not an understood element.
This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 226, column 53: <findRootAppModule> is not an understood element.
This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 237, column 53: <findRootAppModule> is not an understood element.
This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 257, column 53: <findRootAppModule> is not an understood element.
This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
Could any one please help me and let me know if I am missing any jar files.
Thanks!!!
Mohammad TahirThanks, Markus
After copying the BC4J runtime libraries into tomcat_install/common/lib , I am able to access all UIX pages based on BC4J.
But I have now problem with WAR files, once I deploy my BC4J UIX web application using the WAR file, I can't access any UIX pages. According to Jdeveloper help we need to put WAR file into tomcat_install/webapps directory.
Please let me know if you have any information about deploying the Web application using the WAR file, beacuse currently my all uix and classes are not packaged.
Again Thanks for your help!
Regards!
Mohammad Tahir
Maybe you are looking for
-
Ann: SuperPatrol as SuperScheduler job
Announcement: Super 1.9 - an EJB/J2EE monitoring/admin tool with SuperEnvironment SuperLogging SuperPeekPoke SuperReport SuperScheduler SuperStress has got a new member: SuperPatrol, as a schedule job. You can anomyously down load it free from: http:
-
Run time error with exception 'EXTRACT_RESOURCEHANDLER_FAILED'
Runtime Errors EXTRACT_RESOURCEHANDLER_FAILED Short text Internal error: Error when logging on to delete the extract file. What happened? Error in the SAP kernel. The current ABAP "RAKOPL02" program had to be terminated because
-
Everytime I press the home button to go to the main menu so I could make a call or any other thing it just goes directly to voice call without holding it too long! Help pls! I dont have an Apple store close! thnks!!
-
Cannot process argument transformation on parameter 'Identity'.
Hi, When using remote exchange powershell I get this error: $MB = Get-Mailbox -Database MyDataBase $MB | foreach-object { $user = Get-User -identity $_ | select DisplayName } Cannot process argument transformation on parameter 'Identity'. Cannot con
-
How i use value signaling Event?
how i use Value signaling event by labview? can you send me example?