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.
null
OK. 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
Similar Messages
-
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.
-
I can deploy Oracle XE for production in the Web?
I can deploy Oracle XE for production on web site with support for 100 users or more?
I run Oracle 10g XE on a home computer with 2GB of memory, and when I have a web browser, email, and SQL Developer open I am using more than 1GB of memory. If you're running Microsoft Office and other software on this machine while multiple users are accessing the database, my guess is that you're running out of physical memory and the operating system is running on swap/pagefile space (using the hard disk to emulate physical memory, which is extremely slow in comparison).
You could take a look at this by opening the Windows Task Manager (CTRL+SHIFT+ESC), watching the graphs/numbers in the Performance tab, and seeing if the "Commit Charge" number at the bottom is exceeding the amount of physical memory you have installed (check by viewing System Properties: WINKEY+BREAK).
My suggestion is, at the least, to run the XE database on a standalone PC/server (probably one with better CPU than a Celeron, which doesn't have much CPU cache), and make sure all the switches in your workplace are running at 100Mbps or 1Gbps speed, so that users pulling large datasets will have decent response times. -
Oracle Strategy for the UIX & BC4J in the new JDeveloper version
What is Oracle Strategy for the UIX & BC4J in the new JDeveloper version:
- Like DataBinding
- BC4J Integration
- UIX controller
- Internationalization
- Supporting for Palm,phone and pager.Hi,
Are these questions all BC4J specific?
General databinding info is discussed here:
What's the developement direction of UIX?
For BC4J/UIX integration, in 9.0.5 we will continue to support our existing api's, but you can also use uix as the view and bc4j as the model in adf, which is described here:
http://otn.oracle.com/products/jdev/htdocs/905/sod_otn.html#adf
Aside from bug fixes, I don't think there are major changes in the controller/internationization. Did you have specific questions about the controller and internationalization?
We are planning to support Palm web browser 2.0, but due to the timing of the release of a platform that supports it and our own schedules, I don't think it will be officially supported in the 9.0.5 release. We won't have phone or pager support in 9.0.5. -
Oracle Containers for J2EE Deployment Guide???
Hi. I am trying to find a document referenced in the 10.1.3 EA1 help text, entitled Oracle Containers for J2EE Deployment Guide. I've searched the Oracle online documentation and the JDeveloper help text but haven't found this. Any pointers?
Johnny LeeI didn't see anything in the 10.1.2 docset here:
http://download-east.oracle.com/docs/cd/B14099_16/nav/docindex.htm -
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 -
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 -
Hi!!
Hope to get help here.I developed BC4J appln in Jdeveloper3.1 and wld like to deploy it as Oracle 8i EJB session Bean .When I tried Deployment an error occured as follows-
'Generating EJBHome and EJBObject on the server...
An exception occurred during code generation: Class not found: restaurant.common.ejb.RestaurantModuleHome.class
*** Errors occurred while deploying the EJB to JServer ***
*** Deployment completed ***'
- Now shd I try the complete deployment again (will it overwrite previous stuff?) or is there some other way?
Thanx,
Swati
nullAndy,
Please see the following topic in the online help for instructions:
User Guides
Developing Applications
Developing Web Applications
Using JavaServer Pages
Deploying A JSP Application -
Workspace error while deploying BC4J
Hello,
I'm trying (!!!) to deploy my BC4J as Oracle 8i EJB Session Bean. During the process I become sometimes some :
"loading : oracle/xml/parser/v2/FilterExpr
Error while loading oracle/xml/parser/v2/FilterExpr
Exception java.io.IOException: ORA-01536: dipassement du quota d'espace affecti ` l'espace table 'SR_DAT'"
But in the Storage Manager my workspace SR_DAT is not full. I have tried to increase it till 100M, the error messages are always the same. I have tried to increase the java pool in init.ora, but nothing changed...
Thanks for your help !
nullGeorges,
A few additional hints from some other interal folks:
It is possible that the tablespace quota is being exceeded for that
particular user. I would suggest connecting as system, and granting the
user unlimited tablespace quota. This can be done with the following
command:
ALTER USER <username> QUOTA UNLIMITED ON <tablespace_name>Also, check the size of the initial extent for the default tablespace. If it is larger than the available space in the tablespace, that could also cause a problem.
null -
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? -
Deploy BC4J/JSP applications on OC4J
I am trying to deploy JDeveloper3.2 BC4J/JSP applications on OC4J. However, I have no lucky at all. My OC4J will hang when I tried to run my JSP applications.
Does this only happen to me? Any suggestion will be appreciated.
nullI've followed the instructions in the "How TO Deploy a BC4J Application to an Oracle9iAS J2EE Container in Local Mode" again. The OC4J still hung. I turn on the -Djbo.debugoutput switch this time. I used the following line to startup the OC4J.
java -Djbo.debugoutput=console -cp C:\oc4j\j2ee\home\orion.jar;
C:\oc4j\j2ee\home\lib\classes12.jar;
C:\JDev3.2_BC4Jlib\xmlparserv2.jar;
C:\JDev3.2_BC4Jlib\jdev-rt.zip;
C:\JDev3.2_BC4Jlib\jbojdbcpatch.zip;
C:\JDev3.2_BC4Jlib\connectionmanager.zip;
C:\JDev3.2_BC4Jlib\jbohtml.zip;
C:\JDev3.2_BC4Jlib\jboimdomains.zip;
C:\JDev3.2_BC4Jlib\ordim817.zip;
C:\JDev3.2_BC4Jlib\ordvir817.zip;
C:\JDev3.2_BC4Jlib\ordhttp.zip;
C:\JDev3.2_BC4Jlib\jbomt.zip;
C:\JDev3.2_BC4Jlib\jbodomorcl.zip;
C:\JDev3.2_BC4Jlib\jboremote.zip;
C:\JDev3.2_BC4Jlib\jndi.jar;
C:\JDev3.2_BC4Jlib\jbodatum12.zip;
C:\JDev3.2_BC4Jlib\;
C:\JDev3.2_BC4Jlib\bc4j_scott.jar
com.evermind.server.ApplicationServer
I got the following message from my console:
(The OC4J hung at [132]..)
Loading from CLASSPATH bc4j_scott_bc4j_scott_Bc4j_scottModule.properties
Diagnostics: Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.prop
erties");
[00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
[01] CommonMessageBundle (language base) being initialized
[02] Stringmanager using default locale: 'null'
[03] Creating a new pool instance
[04] BC4JDeployPlatform: LOCAL
[05] Propertymanager: searching for file and system based properties
[06] {{ begin Loading BC4J properties
[07] -----------------------------------------------------------
[08] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
[09] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
[10] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
[11] Skipping empty Property ConnectionMode from System Default
[12] Skipping empty Property HostName from System Default
[13] Skipping empty Property ConnectionPort from System Default
[14] Skipping empty Property ApplicationPath from System Default
[15] Skipping empty Property java.naming.security.principal from System Default
[16] Skipping empty Property java.naming.security.credentials from System Default
[17] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
[18] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
[19] BC4J Property jbo.pers.max.active.nodes='10' -->(SessionImpl) from System Default
[20] BC4J Property jbo.pcoll.mgr='oracle.jbo.pcoll.OraclePersistManager' -->(SessionImpl) from Sys
tem Default
[21] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
[22] Skipping empty Property JBODynamicObjectsPackage from System Default
[23] BC4J Property MetaObjectContextFactory='oracle.jbo.server.xml.DefaultMomContextFactory' -->(M
etaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[24] BC4J Property MetaObjectContext='oracle.jbo.server.xml.XMLContextImpl' -->(MetaObjectManager)
from /oracle/jbo/server/jboserver.properties resource
[25] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(Se
ssionImpl) from Client Environment
[26] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserv
er.properties resource
[27] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
[28] Skipping empty Property HandleName from System Default
[29] Skipping empty Property Factory-Substitution-List from System Default
[30] BC4J Property jbo.project='bc4j_scott' -->(MetaObjectManager) from Client Environment
[31] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
[32] BC4J Property jbo.dofai lover='true' -->(MetaObjectManager) from System Default
[33] BC4J Property jbo.doconnectionpooling='false' -->(MetaObjectManager) from System Default
[34] BC4J Property jbo.recyclethreshold='10' -->(MetaObjectManager) from System Default
[35] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
[36] BC4J Property RELEASE_MODE='Reserved' -->(MetaObjectManager) from System Default
[37] BC4J Property jbo.maxpoolcookieage='-1' -->(MetaObjectManager) from System Default
[38] Skipping empty Property PoolClassName from System Default
[39] BC4J Property jbo.maxpoolsize='2147483647' -->(MetaObjectManager) from System Default
[40] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
[41] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
[42] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
[43] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserve
r.properties resource
[44] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(Met
aObjectManager) from System Default
[45] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jbos
erver.properties resource
[46] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
[47] BC4J Property oracle.jbo.defineColumnLength='true' -->(MetaObjectManager) from System Default
[48] Skipping empty Property jbo.tmpdir from System Default
[49] Skipping empty Property jbo.server.internal_connection from System Default
[50] Skipping empty Property SessionClass from System Default
[51] Skipping empty Property TransactionFactory from System Default
[52] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
[53] BC4J Property jbo.debug.prefix='DBG' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.prope
rties resource
[54] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnos
tic.properties resource
[55] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagn
ostic.properties resource
[56] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnost
ic.properties resource
[57] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagn
ostic.properties resource
[58] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnos
tic.properties resource
[59] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
[60] BC4J Property jbo.ejb.txntimeout='60' -->(SessionImpl) from System Default
[61] BC4J Property jbo.ejb.txntype='global' -->(MetaObjectManager) from System Default
[62] Skipping empty Property oracle.jbo.schema from System Default
[63] Copying unknown Client property (CSSURL='/webapp/cabo/images/cabo_styles.css') to session
[64] Copying unknown Client property (DBconnection='jdbc:oracle:thin:@Oracle_Prod1:1521:p816') to
session
[65] Copying unknown Client property (password='tiger') to session
[66] Copying unknown Client property (JDBCName='rick') to session
[67] Copying unknown Client property (ConfigName='bc4j_scott.Bc4j_scottModule.Bc4j_scottModuleLoca
l') to session
[68] Copying unknown Client property (ImageBase='/webapp/jsimages') to session
[69] Copying unknown Client property (user='rick') to session
[70] Copying unknown Client property (Password='tiger') to session
[71] Copying unknown Client property (ApplicationName='bc4j_scott.Bc4j_scottModule') to session
[72] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.proper
ties resource
[73] }} finished loading BC4J properties
[74] -----------------------------------------------------------
Diagnostics: Routing diagnostics to standard output (use -Djb o.debugoutput=silent to remove)
[75] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
[76] JavaVMVersion: 1.3.0_02
[77] JavaVMVendor: Sun Microsystems Inc.
[78] JavaVMName: Java HotSpot(TM) Client VM
[79] OperatingSystemName: Windows 2000
[80] OperatingSystemVersion: 5.0
[81] OperatingSystemUsername: RWANG
[82] Connected to Oracle JBO Server - Version: 3.2.9.76.3
[83] {{+++ id=10000 type: 'BC4J_CREATE_ROOTAM' Create Root Application Module 'bc4j_scott.Bc4j_sco
ttModule'
[84] {{+++ id=10001 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.Bc4j_scottModule
[85] {{+++ id=10002 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.bc4j_scott
[86] Loading from /bc4j_scott/bc4j_scott.xml file
[87] Loading from indvidual XML files
[88] Loading the Containees for the Package 'bc4j_scott.bc4j_scott'.
[89] }}+++ End Event10003 null
[90] Loading from /bc4j_scott/Bc4j_scottModule.xml file
[91] }}+++ End Event10002 null
[92] {{+++ id=10003 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.DeptView
[93] Loading from /bc4j_scott/DeptView.xml file
[94] ViewObjectImpl's default fetch mode = 0
[95] {{+++ id=10004 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.Dept
[96] Loading from /bc4j_scott/Dept.xml file
[97] Loading Typemap entries from oracle.jbo.server.OracleTypeMapEntries
[98] CSMessageBundle (language base) being initialized
[99] }}+++ End Event10005 null
[100] OracleSQLBuilder reached getInterface
[101] Oracle SQL Builder Version 3.2.0.0.0
[102] }}+++ End Event10004 null
[103] {{+++ id=10005 type: 'BC4J_CREATE_VIEWOBJECT' Create ViewObject 'DeptView'
[104] }}+++ End Event10006 null
[105] {{+++ id=10006 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.EmpView
[106] Loading from /bc4j_scott/EmpView.xml file
[107] {{+++ id=10007 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.Emp
[108] Loading from /bc4j_scott/Emp.xml file
[109] }}+++ End Event10008 null
[110] }}+++ End Event10007 null
[111] {{+++ id=10008 type: 'BC4J_CREATE_VIEWOBJECT' Create ViewObject 'EmpView'
[112] }}+++ End Event10009 null
[113] {{+++ id=10009 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.FkDeptnoLink
[114] Loading from /bc4j_scott/FkDeptnoLink.xml file
[115] }}+++ End Event10010 null
[116] {{+++ id=10010 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.FkDeptnoAssoc
[117] Loading from /bc4j_scott/FkDeptnoAssoc.xml file
[118] }}+++ End Event10011 null
[119] Created root application module: 'bc4j_scott.Bc4j_scottModule'
[120] Locale is: 'en_US'
[121] }}+++ End Event10001 null
[122] AM pool is establishing an application module connection
[123] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
[124] DBTransactionImpl Max Cursors is 50
[125] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[126] {{+++ id=10011 type: 'JDBC_CONNECT' null
[127] Trying connection/2: url='jdbc:oracle:thin:@Oracle_Prod1:1521:p816' info='{user=rick, passwo
rd=tiger}' ...
[128] }}+++ End Event10012 null
[129] Successfully logged in
[130] JDBCDriverVersion: 8.1.7.1.0
[131] DatabaseProductName: Oracle
[132] DatabaseProductVersion: Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production With the
Partitioning option JServer Release 8.1.6.0.0 - Production <---It's hanging here for a very very long time......
Any idea?
null -
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. -
Problem to deploy to a WebService interface for ADF Business Components to Weblogic Server
Hi,
I'm trying to deploy a custom application ,in which i have exposed ADF Business Components through a WebService interface, to a standalone weblogic server.
Application Module is configured with a Service Interface for ordinary ViewObjects.
Now I want to create a EAR file of this application to deploy it on the weblogic server.
But I got an error while deploying it.The error i am getting is shown below.
ERROR: No Java EE modules detected in EAR archive. Deployment aborted. == (oracle.jdevimpl.deploy.ear.WeblogicAssembler)
I have followed the steps mention in the below link :
http://technology.amis.nl/2010/12/29/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components/
I'm using Jdeveloper 11.1.2.4 on windows.
Please suggest what i could be doing wrong.
Regards,
HimanshuDoes the deployment profile include Java EE modules?
Refer
Java EE Developer: ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.Veto… -
[XI 3.1] BEST PRACTICE method of Oracle connection for RPTs on Linux
Business Objects XI (3.1) - SP3.
Running on Red Hat Enterprise Linux OS.
7,000+ Crystal Reports 2008 *.rpt objects ONLY (No Universe / No WebI).
All reports connecting to Oracle 10g databases.
==================
In the past, all of this infrastructure was running on Windows Server OS and providing the database access via a Named ODBC connection (eg. "APP_DATA".)
This made it easy to manage as all the Report Developers had a standard System DSN called "APP_DATA" which was the same as the System DSN name on all of our DEV, TEST/UAT, and PROD servers for Business Objects.
When we wanted to move/promote a *.rpt file from DEV to PROD we did not have to change any "Database Connection" info as it was all taken care of by pointing the System DSN called "APP_DATA" a a different physical Oracle server at the ODBC level.
Now, that hardware is moving from Windows OS to Red Hat Linux and we are trying to determine the Best Practices (and Pros/Cons) of using one of the three methods below to access the Oracle database for our *.rpts....
1.) Oracle Native connection
2.) ODBC connection
3.) JDBC connection
Here's what we have determined so far -
1a.) Oracle Native connection should be the most efficient method of passing SQL-query to the DB with the fewest issues and best speed [PRO]
1b.) Oracle Native connection may not be supported on Linux - http://www.forumtopics.com/busobj/viewtopic.php?t=118770&view=previous&sid=9cca754b468fc67888ab2553c0fbe448 [CON]
1c.) Using Oracle Native would require special-handling on the *.rpts at either the source-file or the CMC level to change them from DEV -> TEST -> PROD connection. This would result in a lot more Developer / Admin overhead than they are currently used to. [CON]
2a.) A 3rd-Party Linux ODBC option may be available from EasySoft - http://www.easysoft.com/products/data_access/odbc_oracle_driver/index.html - which would allow us to use a similar Developer / Admin overhead to what we are used to. [PRO]
2b.) Adding a 3rd-Party Vendor into the mix may lead to support issues is we have problems with results or speeds of our queries. [CON]
3a.) JDBC appears to be the "defacto standard" when running Oracle SQL queries from Linux. [PRO]
3b.) There may be issues with results or speeds of our queries when using JDBC. [CON]
3c.) Using JDBC requires the explicit-IP of the Oracle server to be defined for each connection. This would require special-handling on the *.rpts at either the source-file (and NOT the CMC level) to change them from DEV -> TEST -> PROD connection. This would result in a lot more Developer / Admin overhead than they are currently used to. [CON]
==================
We would appreciate some advice from anyone who has been down this road before.
What were your Best Practices?
What can you add to the Pros and Cons listed above?
How do we find the "sweet spot" between quality/performance/speed of reports and easy-overhead for the Admins and Developers?
As always, thanks in advance for your comments.Hi,
I just saw this article and I would like to add some infos.
First you can quite easely reproduce the same way of working with the odbc entries by playing with the oracle name resolution on the server. By changing some files (sqlnet, tnsnames.ora,..) you can define a different oracle server for a specific name that will be the same accross all environments.
Database name will be resolved differently regarding to the environment and therefore will access a different database.
Second option is the possibility to change the connection in .rpt files by an automated way like the schedule manager. This tool is a additional web application to deploy that can change the connection settings of rpt reports on thousands of reports in a few clicks. you can find it here :
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80af7965-8bdf-2b10-fa94-bb21833f3db8
The last option is to do it with a small sdk script, for this purpose, a few lines of codes can change all the reports in a row.
After some implementations on linux to oracle database I would prefer also the native connection. ODBC and JDBC are deprecated ways to connect to database. You can use DATADIRECT connectors that are quite good but for volumes you will see the difference.
Maybe you are looking for
-
BI Publisher Installation Guide HP-UX Itanium
Hallo!I want to install BI Publisher 10.1.3.4.1 on HP-UX Itanium.I am totally new to BI Publisher thus I am not sure how to proceed. I have created a user BIP who will own the BIP s/w.I would like to know which environment variables to put in the .pr
-
Camileo X Sports - wifi connect app doesn't work
Got this as i thought it was as good as the gopro 3+ black and to be fair even thought its bigger it is as good. the camera is spot on but feel its let down by the toshiba wifi connect app that you have to use to down load video. I use the camera on
-
How can I get rid of the app Bird Clock?
does anyone know how to delete/remove/trash the Bird Clock app? It is huge on my screen-doesn't shrink down..and I cannot get rid of it! when I try to throw it in the trash it says I can't because it is "open"..so how do I close it? Help! what a jist
-
A simple select query taking forever
Hi All I am not able to execute a simple select query, I traced my session and here is TKPROF of that Trace. Solaris 8 , Oracle 10.2.0.4.0 TKPROF: Release 10.2.0.4.0 - Copyright (c) 1982, 2007, Oracle. All rights reserved. Trace file: 502_ora_28260.
-
Workcentres and Routing Reports
Hi Gurus, My requirement is as below, Since 1 of the plant has planned to golive in the month of Sep09,now we are in the preparation of Scenario testing in Q.now i need to know with repect to plant XXXX i want to take a cansolidated reports of workce