ERROR in oracle/oc4j referential integrit when separate client.jar/ejb.ear
When I publish the container ejb.ear in other server and call the client for delete an table that have child the oracle does not show the message exception like that:
javax.ejb.EJBException: Database error: ORA-02292: integrity constraint (LUIS.FK_FILIAL_FILIAL_EM_EMPRESAS) violated - child record found
; nested exception is: java.sql.SQLException: ORA-02292: integrity constraint (LUIS.FK_FILIAL_FILIAL_EM_EMPRESAS) violated - child record found
It delete the registry in table to pk and the fk is updated to "".
Is your new project trying to access the database?
SQL error: Io exception: The Network Adapter could not establish the connection
Seems to indicate that you have a problem accessing the database probably due to wrong settings of the database connection information.
Also check your data-sources.xml file for any new entries.
Similar Messages
-
I've deployed a servlet testServlet in Oracle oc4j and when I load the servlet in browser, the following error occurs:
java.lang.UnsupportedClassVersionError:
company/abc/testServlet
(Unsupported major.minor version 48.0)
does anyone know why? Thanks.Hi it_qoo,
Your version of OC4J does not support java version 1.4. Unfortunately, I could not find any details in your post as to what version of OC4J you are using. For certain OC4J versions, there are ways to configure it so that it does support java 1.4.
For your information, this topic has been discussed several times in the OC4J forum at Oracle's Technet Web site.
I suggest searching the forum archives for "1.4" and/or "48.0".
Good Luck,
Avi. -
Error installing Oracle Outlook Email Integration On Demand: Registry Issue
Good day all-
Hoping that someone has come across this issue before and is aware of a solution - I have a user that is unable to install the Oracle Outlook Email Integration On Demand plug in for Outlook.
Outlook is not running when the install is done, yet a "Severe" error pop-up is generated during the install which says: "Setup was not able to write all necessary registry entries. The installation will be aborted!"
Still see the same issue after a reboot and no other users are having a problem installing it - anyone have any ideas and/or which registry entires the installer is trying to touch?
Thanks!Hi,
Does the user have admin rights to their machine? Registry entries for OEI are writing to the following:
HKEY_LOCAL_MACHINE>SOFTWARE>Windows>Uninstall>Oracle Outlook Email Integration On Demand
HKEY_LOCAL_USER>Software>Siebel CRM On Demand>Siebel Outlook Email Integration On Demand
HKEY_LOCAL_USERS>Software>Siebel CRM On Demand>Siebel Outlook Email Integration On Demand
Thanks,
Sean -
"package javax.xml .rpc does not exist" error when compiling client jar
When I try to compile the web services client jar with either the clientgen or the <client> element of servicegen I get the following error "package weblogic.webservice.core.rpc does not exist"
Here is the error output
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:10: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.ServiceImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:9: package javax.xml.rpc does not exist
[servicegen] public interface OSHService extends javax.xml.rpc.Service{
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:11: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext context();
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:13: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext joinContext()
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:14: package weblogic.webservice.context does not exist
[servicegen] throws weblogic.webservice.context.ContextNotFoundException;
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:16: package javax.xml.rpc does not exist
[servicegen] com.onexchange.tools.osh.client.OSHServicePort getOSHServicePort() throws javax.xml.rpc.ServiceException;
[servicegen]
^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
nt.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:18: package javax.xml.rpc does not exist
[servicegen] com.onexchange.tools.osh.client.OSHServicePort getOSHServicePort(String username, String password) throws javax.xml.rpc.ServiceException;
[servicegen]
^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:9: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.StubImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
nt.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:12: package weblogic.webservice does not exist
[servicegen] public OSHServicePort_Stub( weblogic.webservice.Port _port ){
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:9: com.onexchange.tools.osh.client.OSHService_Impl should be declared abstract; it does not define context() in com.onexchange.tools.osh.client.OSHService_Impl
[servicegen] public class OSHService_Impl
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
nt.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:40: cannot
resolve symbol
[servicegen] symbol : method _getPort (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHService_Impl
[servicegen] new com.onexchange.tools.osh.client.OSHServicePort_Stub( _g
etPort( "OSHServicePort" ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:49: cannot
resolve symbol
[servicegen] symbol : method _setUser (java.lang.String,java.lang.String,com.on
exchange.tools.osh.client.OSHServicePort)
[servicegen] location: class com.onexchange.tools.osh.client.OSHService_Impl
[servicegen] _setUser( username, password, getOSHServicePort() );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:24: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string", wrap( string ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:25: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string0", wrap( string0 ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:27: ca
nnot resolve symbol
[servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] java.lang.Object result = invoke( "login", _args );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:29: pa
ckage javax.xml.rpc does not exist
[servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:31: pa
ckage javax.xml.rpc.soap does not exist
[servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:44: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string", wrap( string ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:45: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string0", wrap( string0 ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:47: ca
nnot resolve symbol
[servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] java.lang.Object result = invoke( "oshRequest", _args );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:49: pa
ckage javax.xml.rpc does not exist
[servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:51: pa
ckage javax.xml.rpc.soap does not exist
[servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
[servicegen] ^
[servicegen] 22 errors
[servicegen] java.io.IOException: Compiler failed executable.exec
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Comp
ilerInvoker.java:470)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
er.java:329)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
er.java:337)
[servicegen] at weblogic.webservice.tools.build.internal.CompilerHelper.compi
leFiles(CompilerHelper.java:80)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compil
eStubs(ClientGenImpl.java:608)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.genera
teStub(ClientGenImpl.java:553)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
ntGenFromEAR(ClientGenImpl.java:502)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
ientGenImpl.java:348)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.g
enerateClient(ServiceGenTask.java:597)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.e
xecute(ServiceGenTask.java:195)
[servicegen] at org.apache.tools.ant.Task.perform(Task.java:341)
[servicegen] at org.apache.tools.ant.Target.execute(Target.java:309)
[servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
[servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[servicegen] at org.apache.tools.ant.Main.start(Main.java:196)
[servicegen] at org.apache.tools.ant.Main.main(Main.java:235)
BUILD FAILED
Below is the -debug from the ant task immediately following:
<target name="web-service" depends="osh_bean_jar">
<servicegen
destEar="${build}/osh_service"
warName="osh_service.war"
contextURI="web_services" >
<service
ejbJar="${dist}/osh_bean.jar"
targetNamespace="http://www.bea.com/webservices/basic/statelesSession"
serviceName="OSHService"
serviceURI="/OSHService"
generateTypes="True"
expandMethods="True"
style="rpc">
<client
packageName="com.onexchange.tools.osh.client" />
</service>
</servicegen>
</target>
Apache Ant version 1.5.3 compiled on August 13 2003
Buildfile: \onexv3.x\src\antfile\osh.xml
Detected Java version: 1.4 in: C:\bea\JDK141~1\jre
Detected OS: Windows 2000
+User task: propertyfile org.apache.tools.ant.taskdefs.optional.PropertyFile
+User task: vsscheckin org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
+User task: sql org.apache.tools.ant.taskdefs.SQLExec
+User task: cvspass org.apache.tools.ant.taskdefs.CVSPass
+User task: p4reopen org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen
+User task: csc org.apache.tools.ant.taskdefs.optional.dotnet.CSharp
+User task: dirname org.apache.tools.ant.taskdefs.Dirname
+User task: wlrun org.apache.tools.ant.taskdefs.optional.ejb.WLRun
+User task: servicegen weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask
+User task: p4label org.apache.tools.ant.taskdefs.optional.perforce.P4Label
+User task: p4revert org.apache.tools.ant.taskdefs.optional.perforce.P4Revert
+User task: replaceregexp org.apache.tools.ant.taskdefs.optional.ReplaceRegExp
+User task: ddcreate weblogic.ant.taskdefs.build.DDCreateTask
+User task: get org.apache.tools.ant.taskdefs.Get
+User task: jjtree org.apache.tools.ant.taskdefs.optional.javacc.JJTree
+User task: sleep org.apache.tools.ant.taskdefs.Sleep
+User task: jarlib-display org.apache.tools.ant.taskdefs.optional.extension.JarLibDisplayTask
+User task: dependset org.apache.tools.ant.taskdefs.DependSet
+User task: zip org.apache.tools.ant.taskdefs.Zip
+User task: patch org.apache.tools.ant.taskdefs.Patch
+User task: jspc weblogic.ant.taskdefs.j2ee.Jspc
+User task: style org.apache.tools.ant.taskdefs.XSLTProcess
+User task: test org.apache.tools.ant.taskdefs.optional.Test
+User task: tstamp org.apache.tools.ant.taskdefs.Tstamp
+User task: unwar org.apache.tools.ant.taskdefs.Expand
+User task: vsshistory org.apache.tools.ant.taskdefs.optional.vss.MSVSSHISTORY
+User task: icontract org.apache.tools.ant.taskdefs.optional.IContract
+User task: cvschangelog org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask
+User task: p4submit org.apache.tools.ant.taskdefs.optional.perforce.P4Submit
+User task: ccmcheckin org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckin
+User task: p4change org.apache.tools.ant.taskdefs.optional.perforce.P4Change
+User task: bzip2 org.apache.tools.ant.taskdefs.BZip2
+User task: wspackage weblogic.ant.taskdefs.webservices.wspackage.WSPackage
+User task: p4delete org.apache.tools.ant.taskdefs.optional.perforce.P4Delete
+User task: vssadd org.apache.tools.ant.taskdefs.optional.vss.MSVSSADD
+User task: javadoc org.apache.tools.ant.taskdefs.Javadoc
+User task: translate org.apache.tools.ant.taskdefs.optional.i18n.Translate
+User task: signjar org.apache.tools.ant.taskdefs.SignJar
+User task: vajload org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects
+User task: jarlib-available org.apache.tools.ant.taskdefs.optional.extension.JarLibAvailableTask
+User task: wsdd-merge weblogic.ant.taskdefs.webservices.autotype.DDMerge
+User task: WsdlToDotnet org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
+User task: buildnumber org.apache.tools.ant.taskdefs.BuildNumber
+User task: jpcovmerge org.apache.tools.ant.taskdefs.optional.sitraka.CovMerge
+User task: compliance weblogic.ant.taskdefs.webservices.compliance.Compliance
+User task: ejbjar org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
Could not load class (weblogic.ant.taskdefs.perforce.P4Changes) for task p4changes
+User task: war org.apache.tools.ant.taskdefs.War
Could not load a dependent class (com/starbase/starteam/Item) for task stlist
+User task: rename org.apache.tools.ant.taskdefs.Rename
+User task: sequential org.apache.tools.ant.taskdefs.Sequential
+User task: serverdeploy org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy
+User task: wsdlgen weblogic.ant.taskdefs.webservices.wsdlgen.WSDLGen
+User task: property org.apache.tools.ant.taskdefs.Property
+User task: move org.apache.tools.ant.taskdefs.Move
+User task: copydir org.apache.tools.ant.taskdefs.Copydir
+User task: cccheckin org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin
+User task: wljspc org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
+User task: fixcrlf org.apache.tools.ant.taskdefs.FixCRLF
Could not load a dependent class (com/oroinc/net/SocketClient) for task telnet
+User task: sosget org.apache.tools.ant.taskdefs.optional.sos.SOSGet
Could not load class (weblogic.ant.taskdefs.perforce.P4VersionString) for task p4versionstring
+User task: pathconvert org.apache.tools.ant.taskdefs.PathConvert
+User task: autotype weblogic.ant.taskdefs.webservices.javaschema.JavaSchema
+User task: record org.apache.tools.ant.taskdefs.Recorder
+User task: p4sync org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
+User task: exec org.apache.tools.ant.taskdefs.ExecTask
+User task: p4edit org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
+User task: manifest org.apache.tools.ant.taskdefs.ManifestTask
+User task: maudit org.apache.tools.ant.taskdefs.optional.metamata.MAudit
+User task: antlr org.apache.tools.ant.taskdefs.optional.ANTLR
+User task: netrexxc org.apache.tools.ant.taskdefs.optional.NetRexxC
Could not load a dependent class (com/oroinc/net/ftp/FTP) for task ftp
+User task: jpcovreport org.apache.tools.ant.taskdefs.optional.sitraka.CovReport
+User task: wsdl2service weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service
+User task: execon org.apache.tools.ant.taskdefs.ExecuteOn
+User task: ccmcheckout org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckout
+User task: ant org.apache.tools.ant.taskdefs.Ant
+User task: xmlvalidate org.apache.tools.ant.taskdefs.optional.XMLValidateTask
+User task: xslt org.apache.tools.ant.taskdefs.XSLTProcess
+User task: iplanet-ejbc org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbcTask
+User task: ccmcheckintask org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckinDefault
+User task: gzip org.apache.tools.ant.taskdefs.GZip
+User task: native2ascii org.apache.tools.ant.taskdefs.optional.Native2Ascii
+User task: starteam org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut
+User task: ear org.apache.tools.ant.taskdefs.Ear
+User task: input org.apache.tools.ant.taskdefs.Input
+User task: wlpath weblogic.ant.taskdefs.WLPath
+User task: pointbase weblogic.ant.taskdefs.pointbase.PointBase
+User task: rmic weblogic.ant.taskdefs.j2ee.Rmic
+User task: checksum org.apache.tools.ant.taskdefs.Checksum
+User task: mail org.apache.tools.ant.taskdefs.email.EmailTask
+User task: loadfile org.apache.tools.ant.taskdefs.LoadFile
+User task: wsgen weblogic.ant.taskdefs.webservices.wsgen.WSGenTask
+User task: vsscheckout org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKOUT
+User task: stylebook org.apache.tools.ant.taskdefs.optional.StyleBook
+User task: soscheckin org.apache.tools.ant.taskdefs.optional.sos.SOSCheckin
+User task: mimemail org.apache.tools.ant.taskdefs.optional.net.MimeMail
+User task: stlabel org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel
+User task: gunzip org.apache.tools.ant.taskdefs.GUnzip
+User task: concat org.apache.tools.ant.taskdefs.Concat
+User task: cab org.apache.tools.ant.taskdefs.optional.Cab
+User task: touch org.apache.tools.ant.taskdefs.Touch
+User task: parallel org.apache.tools.ant.taskdefs.Parallel
+User task: splash org.apache.tools.ant.taskdefs.optional.splash.SplashTask
+User task: antcall org.apache.tools.ant.taskdefs.CallTarget
Could not load class (weblogic.ant.taskdefs.ejb.DDInit) for task ddinit
+User task: cccheckout org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout
+User task: typedef org.apache.tools.ant.taskdefs.Typedef
+User task: p4have org.apache.tools.ant.taskdefs.optional.perforce.P4Have
+User task: filter org.apache.tools.ant.taskdefs.Filter
+User task: xmlproperty org.apache.tools.ant.taskdefs.XmlProperty
Could not load a dependent class (jdepend/xmlui/JDepend) for task jdepend
+User task: copy org.apache.tools.ant.taskdefs.Copy
+User task: clientgen weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask
+User task: createidl weblogic.ant.taskdefs.iiop.CppIdlSetup
+User task: antstructure org.apache.tools.ant.taskdefs.AntStructure
Could not load a dependent class (com/ibm/bsf/BSFException) for task script
+User task: ccmcreatetask org.apache.tools.ant.taskdefs.optional.ccm.CCMCreateTask
+User task: rpm org.apache.tools.ant.taskdefs.optional.Rpm
+User task: delete org.apache.tools.ant.taskdefs.Delete
+User task: replace org.apache.tools.ant.taskdefs.Replace
+User task: mmetrics org.apache.tools.ant.taskdefs.optional.metamata.MMetrics
+User task: waitfor org.apache.tools.ant.taskdefs.WaitFor
+User task: untar org.apache.tools.ant.taskdefs.Untar
+User task: loadproperties org.apache.tools.ant.taskdefs.LoadProperties
+User task: wldeploy weblogic.ant.taskdefs.management.WLDeploy
+User task: available org.apache.tools.ant.taskdefs.Available
+User task: echoproperties org.apache.tools.ant.taskdefs.optional.EchoProperties
Could not load a dependent class (junit/framework/TestListener) for task junit
Could not load a dependent class (com/starbase/starteam/Item) for task stcheckin
+User task: vajexport org.apache.tools.ant.taskdefs.optional.ide.VAJExport
Could not load a dependent class (com/starbase/starteam/Item) for task stcheckout
+User task: bunzip2 org.apache.tools.ant.taskdefs.BUnzip2
+User task: copyfile org.apache.tools.ant.taskdefs.Copyfile
+User task: wlserver weblogic.ant.taskdefs.management.WLServer
+User task: vsscreate org.apache.tools.ant.taskdefs.optional.vss.MSVSSCREATE
+User task: wlconfig weblogic.ant.taskdefs.management.WLConfig
+User task: ejbc weblogic.ant.taskdefs.j2ee.Ejbc
+User task: unjar org.apache.tools.ant.taskdefs.Expand
+User task: wsdltodotnet org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
+User task: wlcompile weblogic.ant.taskdefs.build.WLCompileTask
+User task: mkdir org.apache.tools.ant.taskdefs.Mkdir
+User task: cvs org.apache.tools.ant.taskdefs.Cvs
+User task: condition org.apache.tools.ant.taskdefs.ConditionTask
+User task: tempfile org.apache.tools.ant.taskdefs.TempFile
+User task: junitreport org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator
+User task: taskdef org.apache.tools.ant.taskdefs.Taskdef
+User task: echo org.apache.tools.ant.taskdefs.Echo
+User task: ccupdate org.apache.tools.ant.taskdefs.optional.clearcase.CCUpdate
+User task: java org.apache.tools.ant.taskdefs.Java
+User task: vsslabel org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL
+User task: renameext org.apache.tools.ant.taskdefs.optional.RenameExtensions
+User task: basename org.apache.tools.ant.taskdefs.Basename
+User task: javadoc2 org.apache.tools.ant.taskdefs.Javadoc
+User task: tar org.apache.tools.ant.taskdefs.Tar
+User task: vsscp org.apache.tools.ant.taskdefs.optional.vss.MSVSSCP
+User task: vajimport org.apache.tools.ant.taskdefs.optional.ide.VAJImport
+User task: setproxy org.apache.tools.ant.taskdefs.optional.net.SetProxy
+User task: p4counter org.apache.tools.ant.taskdefs.optional.perforce.P4Counter
+User task: wlstop org.apache.tools.ant.taskdefs.optional.ejb.WLStop
+User task: ilasm org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
+User task: soscheckout org.apache.tools.ant.taskdefs.optional.sos.SOSCheckout
+User task: apply org.apache.tools.ant.taskdefs.Transform
+User task: ccuncheckout org.apache.tools.ant.taskdefs.optional.clearcase.CCUnCheckout
+User task: jarlib-resolve org.apache.tools.ant.taskdefs.optional.extension.JarLibResolveTask
+User task: jlink org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
+User task: cvstagdiff org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
+User task: javacc org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
+User task: chmod org.apache.tools.ant.taskdefs.Chmod
+User task: pvcs org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs
+User task: jarlib-manifest org.apache.tools.ant.taskdefs.optional.extension.JarLibManifestTask
+User task: jar org.apache.tools.ant.taskdefs.Jar
+User task: sound org.apache.tools.ant.taskdefs.optional.sound.SoundTask
+User task: wlappc weblogic.ant.taskdefs.j2ee.Appc
+User task: mparse org.apache.tools.ant.taskdefs.optional.metamata.MParse
+User task: blgenclient org.apache.tools.ant.taskdefs.optional.ejb.BorlandGenerateClient
+User task: uptodate org.apache.tools.ant.taskdefs.UpToDate
+User task: genkey org.apache.tools.ant.taskdefs.GenerateKey
+User task: javah org.apache.tools.ant.taskdefs.optional.Javah
+User task: ccmreconfigure org.apache.tools.ant.taskdefs.optional.ccm.CCMReconfigure
+User task: fail org.apache.tools.ant.taskdefs.Exit
+User task: unzip org.apache.tools.ant.taskdefs.Expand
+User task: javac org.apache.tools.ant.taskdefs.Javac
+User task: source2wsdd weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD
+User task: p4add org.apache.tools.ant.taskdefs.optional.perforce.P4Add
+User task: jpcoverage org.apache.tools.ant.taskdefs.optional.sitraka.Coverage
+User task: soslabel org.apache.tools.ant.taskdefs.optional.sos.SOSLabel
+User task: depend org.apache.tools.ant.taskdefs.optional.depend.Depend
+User task: wlpackage weblogic.ant.taskdefs.build.WLPackageTask
+User task: vssget org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET
+User task: deltree org.apache.tools.ant.taskdefs.Deltree
+User task: ddcreator org.apache.tools.ant.taskdefs.optional.ejb.DDCreator
+User datatype: patternset org.apache.tools.ant.types.PatternSet
+User datatype: filterset org.apache.tools.ant.types.FilterSet
+User datatype: libfileset org.apache.tools.ant.taskdefs.optional.extension.LibFileSet
+User datatype: filterreader org.apache.tools.ant.types.AntFilterReader
+User datatype: extension org.apache.tools.ant.taskdefs.optional.extension.ExtensionAdapter
+User datatype: fileset org.apache.tools.ant.types.FileSet
+User datatype: dirset org.apache.tools.ant.types.DirSet
+User datatype: filelist org.apache.tools.ant.types.FileList
+User datatype: filterchain org.apache.tools.ant.types.FilterChain
+User datatype: path org.apache.tools.ant.types.Path
+User datatype: classfileset org.apache.tools.ant.types.optional.depend.ClassfileSet
+User datatype: description org.apache.tools.ant.types.Description
+User datatype: xmlcatalog org.apache.tools.ant.types.XMLCatalog
+User datatype: selector org.apache.tools.ant.types.selectors.SelectSelector
+User datatype: mapper org.apache.tools.ant.types.Mapper
+User datatype: substitution org.apache.tools.ant.types.Substitution
+User datatype: extensionSet org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet
+User datatype: regexp org.apache.tools.ant.types.RegularExpression
Setting ro project property: ant.version -> Apache Ant version 1.5.3 compiled on August 13 2003
Setting ro project property: ant.file -> C:\onexv3.x\src\antfile\osh.xml
parsing buildfile \onexv3.x\src\antfile\osh.xml with URI = file:C:/onexv3.x/src/antfile/osh.xml
Setting ro project property: ant.project.name -> osh
Adding reference: osh -> org.apache.tools.ant.Project@12ad19e
Project base dir set to: C:\onexv3.x\src\antfile
resolving systemId: file:properties.xml
+Task: property
[property] Loading Environment env.
Setting project property: env.SYSTEMROOT -> C:\WINNT
Setting project property: env.ONEX_WL_IP -> localhost
Setting project property: env.ORACLE_HOME -> /oracle/ora92
Setting project property: env.WEBROOT -> /weblogic/weblogic81/config/onexdomain-v3x/applications/onexchange
Setting project property: env.PROMPT -> $P$G
Setting project property: env.MY_PASSWORD -> qa1
Setting project property: env.JAVA_OPTIONS -> -Xverify:none
Setting project property: env.POINTBASE_TOOLS -> C:\weblogic\WEBLOG~1\common\eval\pointbase\lib\pbtools44.jar
Setting project property: env.ONEX_CONFIG -> /onexv3.x/ops/config/config_dev-v2.x.txt
Setting project property: env.PWD -> /weblogic/weblogic81/server/bin
Setting project property: env.COMPUTERNAME -> FKHAN2
Setting project property: env.JSPWD -> /weblogic/weblogic81/config/onexdomain-v3x/classfiles
Setting project property: env.MAKE_MODE -> UNIX
Setting project property: env.ALLUSERSPROFILE -> C:\Documents and Settings\All Users
Setting project property: env.h -> /onexv3.x
Setting project property: env.SERVLET_CLASSES -> /weblogic/weblogic81/config/onexdomain-v3x/servletclasses
Setting project property: env.HOMEPATH -> \Documents and Settings\fkhan
Setting project property: env.ONEX_NOTIFY -> 1
Setting project property: env.ONEX -> /onexv3.x
Setting project property: env.ONEX_TQREADER -> 1
Setting project property: env.JDK_CLASSES -> /bea/jdk141_05/lib/rt.jar
Setting project property: env._ -> ./ant.bat
Setting project property: env.EXT -> .60
Setting project property: env.SHELL -> /bin/sh
Setting project property: env.Z -> ;
Setting project property: env.X -> 1
Setting project property: env.MY_NAME -> qa1
Setting project property: env.ONEX_AUDIT -> 1
Setting project property: env.MY_DW_DB_SERVICE -> qa
Setting project property: env.PATH -> C:\weblogic\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK141~1\bin;C:\weblogic\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK141~1\bin;.;C:\onexv3.x\ops\scripts;C:\onexv3.x\scripts;C:\onexv3.x\3rdparty\ant\bin;C:\bea\jdk141_05\bin;C:\onexv3.x\scripts\singledb;C:\Oracle\Ora9\bin;C:\cygnus\CYGWIN~1\H-I586~1\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Perforce;C:\cygwin\bin;C:\putty;C:\weblogic\WEBLOG~1\server\bin\oci920_8
Setting project property: env.MY_INSTANCE -> qa
Setting project property: env.POINTBASE_HOME -> C:\weblogic\WEBLOG~1\common\eval\pointbase
Setting project property: env.WINDIR -> C:\WINNT
Setting project property: env.ONEX_WL_HOME -> /weblogic/weblogic81
Setting project property: env.ONEX_TRADING -> 1
Setting project property: env.HOSTTYPE -> i586
Setting project property: env.J -> /onexv3.x/jars
Setting project property: env.PROCESSOR_IDENTIFIER -> x86 Family 6 Model 8 Stepping 3, GenuineIntel
Setting project property: env.JAVA_VENDOR -> Sun
Setting project property: env.TEMP -> C:\DOCUME~1\fkhan\LOCALS~1\Temp
Setting project property: env.ONEX_JAVA_HOME -> /bea/jdk141_05
SettiCan somebody tell me how to run the webservices in weblogic samples,when i run this(build.xml)i get the following error.
=========================================================Buildfile: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build.xml
clean:
[delete] Deleting directory E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
[delete] Deleting directory E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\client
compile:
[mkdir] Created dir: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
[mkdir] Created dir: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\client
[javac] Compiling 1 source file to E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
ear:
[servicegen] Generating service "HelloWorld" ...
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:9: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.StubImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:12: package weblogic.webservice does not exist
[servicegen] public HelloWorldPort_Stub( weblogic.webservice.Port _port ){
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:9: package javax.xml.rpc does not exist
[servicegen] public interface HelloWorld extends javax.xml.rpc.Service{
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:11: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext context();
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:13: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext joinContext()
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:14: package weblogic.webservice.context does not exist
[servicegen] throws weblogic.webservice.context.ContextNotFoundException;
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:16: package javax.xml.rpc does not exist
[servicegen] examples.webservices.basic.javaclass.HelloWorldPort getHelloWorldPort() throws javax.xml.rpc.ServiceException;
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:18: package javax.xml.rpc does not exist
[servicegen] examples.webservices.basic.javaclass.HelloWorldPort getHelloWorldPort(String username, String password) throws javax.xml.rpc.ServiceException;
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:10: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.ServiceImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:24: cannot resolve symbol
[servicegen] symbol : method _wrap (int)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
[servicegen] args.put( "intVal", wrap( intVal ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:25: cannot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
[servicegen] args.put( "string", wrap( string ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:27: cannot resolve symbol
[servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
[servicegen] java.lang.Object result = invoke( "sayHello", _args );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:29: package javax.xml.rpc does not exist
[servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:31: package javax.xml.rpc.soap does not exist
[servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:9: examples.webservices.basic.javaclass.HelloWorld_Impl is not abstract and does not override abstract method joinContext() in examples.webservices.basic.javaclass.HelloWorld
[servicegen] public class HelloWorld_Impl
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:40: cannot resolve symbol
[servicegen] symbol : method _getPort (java.lang.String)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorld_Impl
[servicegen] new examples.webservices.basic.javaclass.HelloWorldPort_Stub( _getPort( "HelloWorldPort" ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:49: cannot resolve symbol
[servicegen] symbol : method _setUser (java.lang.String,java.lang.String,examples.webservices.basic.javaclass.HelloWorldPort)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorld_Impl
[servicegen] _setUser( username, password, getHelloWorldPort() );
[servicegen] ^
[servicegen] 17 errors
[servicegen] java.io.IOException: Compiler failed executable.exec
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:469)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
[servicegen] at weblogic.webservice.tools.build.internal.CompilerHelper.compileFiles(CompilerHelper.java:80)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compileStubs(ClientGenImpl.java:627)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.generateStub(ClientGenImpl.java:572)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromEAR(ClientGenImpl.java:521)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:345)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateClient(ServiceGenTask.java:597)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:195)
[servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
[servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
[servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[servicegen] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
BUILD FAILED
E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build.xml:42: weblogic.webservice.tools.build.WSBuildException: Compiler failed executable.exec - with nested exception:
[java.io.IOException: Compiler failed executable.exec]
Total time: 29 seconds -
NamingException when hitting client jar
I'm trying to do some load tests on 9iAS and to do this, i have a external class which spawns x number of threads which hits the Client jar. However, doing this, I get a NamingException with the error:
Error reading application-client descriptor: Error looking up EJBHome
I tried to get around this by having the Client jar spawn multiples threads of itself, but that threw the same error. When I call that jar directly, it works fine.
Any thoughts?
nullgday Andrew -
Something to try is to set an additional property on the InitialContext when you create it to prevent it from using caching.
Try setting:
dedicated.connection=true
in either the Hashtable you provide to the InitialContext when you construct it or in the jndi.properties file you are using for your client.
cheers!
-steve-
null -
Error in Oracle BI EE Analytics when running a direct database request
This is in the Oracle Answers portion of the Analytics tool. When a query is entered into the Direct Database Query text box and the "Validate SQL and Retrieve Columns" button is clicked, the columns are indeed returned (which would seem to indicate that the connection pool settings are correct etc.), but when I click on the results tab it throws an error:
View Display Error
Error generating view. You don't currently have the necessary privileges to execute Direct Database Requests.
Error Details
Error Codes: OAMP2OPY:Q4NU7XSN
Invalid Handle Of 'class saw::NQWebView *' Exception
I am at a loss trying to figure this error out - clearly it is connected to the DB since it can see column names, and I was able to use the Administration tool to create a repository which Analytics can use, so why can't I directly query my database? Any help would be greatly appreciated.It sounds like the setting has not been set to allow you to execute a direct database query.
You can do this by logging into the Presentation services as the Administrator user. Clicking on the Settings tab and then selecting the Administration option. On the Oracle BI Presentation Services Administration window select the Manage Privileges option. This brings up the Privileges Administration window, scroll down to the Answers section (listed on the left) and check the Execute Direct Database Requests privilege setting this is defaulted to let no one execute Direct SQL request. Reset the privileges such that the group that the user trying to execute the direct database request belongs to is set to be able to execute the direct database requests. This should alleviate the error that you are getting.
I hope that this helps.
Tim -
Error when connecting an oracle DB with Integration gateway
I followed the steps from the blog How to connect an Oracle DB with Integration Gateway in SMP3 and the ojdbc was deployed successfully to SMP. Still, i'm getting "Driver class oracle.jdbc.driver.OracleDriver not found" error message when i try to test my connection. The first difference i saw when completing these steps was that I'm using SMP3 SP05, could this be the issue?
Joao D Franco Net
Could you share below information:
Can you cross check if deployed driver are OSGi enabled? Refer this.
Can you share screenshot of the destination settings and error ?
note: The blog you followed is referring to SP03 (1st GA of SMP3)..You should not have any problem in connecting to Oracle DB being on any SP.
Regards,
JK -
For some strange reason when I modified a form, (commented out some code in a when-window-activated trigger) I now get the following error.
CDG-01141 ERROR: Module Component Table Usage GR1130A.CUSTOMER.GR_CUSTOMER.GC: Table usage GR_CUSTOMER requires primary key column for referential integrity
I am sure this is not related to my change, but do not know what may have caused this or how to fix it.
Anyone seen this error before? been able to fix it?
Thanks!
Windows 7
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
Designer Version 6.5.95.4.8You know that Developer/Designer 6i is not certified for Windows 7, right? Also, your version is not the latest one, so you can try to install the latest patch set first.
>Table usage GR_CUSTOMER requires primary key column for referential integrity
Check if there is a PK in the table definition (not in the database, but in Designer). -
Issue with Referential Integrity check in Oracle VPD Policy
Hi,
Lets assume I have two tables - Customer and Order, with cust_id in Order table referring to primary key of Customer table.
Example Data;
Customer
cust_id Name
1 abc
2 def
3 ghi
Order
Order_id cust_id Order_type
1 1 A
2 2 A
3 1 B
Now I have policies defined on both the tables;
- for "Select, Insert, Update" queries on Customer table.
- for "Select" queries on Order Table.
Policy 1 on Order Table;
Irrespective of the user, predicate = 'Order_type = ''A'''
Policy 2 on Customer Table;
Irrespective of the user, predicate = '(select count(1) from order o where o.cust_id = customer.cust_id and o.order_type = ''B'') > 0'
My intention is to show only those customers who have atleast one order of type 'B'. And this policy works fine in case a user tries to read data from customer table. (for example, record for cust_id = 2 will not be returned as it don't have any orders of type "B")
However, when a user tries to insert record in Order Table, because of the existing referential integrity constraint, the Policy on Customer table is also getting triggered. And an exception is being raised "ORA-28113: policy predicate has error".
Could someone please explain why this is happening ?I'm afraid, there is no such a mean.
At least I do not know about it. -
Hi
i write simple session EJB with simple helloworld method
Iam using jdeveloper
Jdeveloper gave option to write sample client to test above session bean
When i run that client i got this exception
Am i missing anything
This is a kind of urgent
Any help will be appreciated
oracle.oc4j.rmi.OracleRemoteException: Invocation error: java.lang.NoSuchMethodException: ejb.SessionEJB.helloworld()
at com.evermind.server.rmi.RMIConnection.handleExceptionFromMethodInvocation(RMIConnection.java:745)
at com.evermind.server.rmi.RMIConnection.obtainRemoteMethodResponse(RMIConnection.java:705)
at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:697)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:70)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:27)
at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
at __Proxy1.helloworld(Unknown Source)
at ejb.SessionEJBClient.main(SessionEJBClient.java:24)
Nested exception is:
java.lang.NoSuchMethodException: ejb.SessionEJB.helloworld()
at java.lang.Class.getMethod(Class.java)
at com.evermind.server.rmi.RMIConnection.readMethod(RMIConnection.java:492)
at com.evermind.server.rmi.RMIConnection.handleMethodInvocation(RMIConnection.java:418)
at com.evermind.server.rmi.RMIConnection.handleOrmiCommandRequest(RMIConnection.java:357)
at com.evermind.server.rmi.RMIServerConnection.handleOrmiCommandRequest(RMIServerConnection.java:192)
at com.evermind.server.rmi.RMIConnection.dispatchRequest(RMIConnection.java:325)
at com.evermind.server.rmi.RMIConnection.processReceivedCommand(RMIConnection.java:275)
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:236)
at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:202)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:299)
at java.lang.Thread.run(Thread.java:534)
Process exited with exit code 0.java.lang.NoSuchMethodException: ejb.SessionEJB.helloworld()
Check the method definition.
Does the method have parameters?
Is the method helloWorld? -
Distributed referential integrity
Hi, I have a question. If I am on the wrong forum please direct me as I could not find a specific forum for distrituted databases and these may be a application development question.
I am implementing a simple distributed database application. At this point I am only concerned with creating two tables each on a different server. For simplicty I will name them table1 and table2. This would be the schema if the tables were not distributed and were located on the same server.
CREATE TABLE table1 (
table1_id NUMBER CONSTRAINT table1_pk PRIMARY KEY
CREATE TABLE table2 (
table2_id NUMBER,
table1_id NUMBER,
CONSTRAINTtable2_pk PRIMARY KEY (table2_id, table1_id),
CONSTRAINT table2_fk FOREIGN KEY (table1_id) REFERENCES table1(table1_id)
I have referred to the documentation in both Oracle® Database Administrator's Guide 10g Release 2 (10.2) and Oracle Database Application Developer's Guide. I know that I cannot use declarative referential integrity but how can I distribute the tables so that I can be sure that when I insert a row into table2, I can check to see if there is a matching row in table1 for table1_id?Realistically, I expect that you need to reconsider your architecture.
It does not make sense to check for a matching row in table1 in a remote database while inserting data into table2 in a local database. The best case scenario would be that every insert into table2 would incur the overhead of a network round-trip plus the cost of querying the table in the remote database. If the network went down or if either of the two databases went down, the application would fail, which generally defeats the purpose of a distributed application. Plus, there would be all sorts of concurrency issues (i.e. I delete a row, but before I commit you query the row, see that it exists, and insert a child row. I commit, leaving your row orphaned).
Assuming you really need a distributed architecture, you would want to replicate table1 to both the local and remote nodes. You would then declare referential integrity constraints between your local copy of table1 and table2 (as well as between table1 and table2 on the remote database, assuming you want table2 data available there as well). Your replication process (preferrably using Streams but potentially using multi-master materialized views instead) would then have to be coded to deal with errors because of the asynchronous nature of replication (i.e. to notice that database1 deleted a parent row that you just inserted a child row for and resolve the conflict appropriately).
Justin -
JDev 10.1.3 EA: Error initializing Embedded OC4J
I have installed the latest EA version of JDeveloper on a Linux machine along with JDK 5.0 and when I try to run anything I get:
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
**** Unable to obtain password from principals.xml. Using default.
/home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config>
/home/Mark_Rees/jdk1.5.0_04/bin/java -server -classpath /home/Mark_Rees/jdev_1013/j2ee/home/oc4j.jar:/home/Mark_Rees/jdev_1013/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config/server.xml
[waiting for the server to complete its initialization...]
05/12/29 13:14:24 Application: system is in state FAILED
05/12/29 13:14:24 Error initializing server: Error initializing ejb-modules: No such file or directory; nested exception is: java.util.zip.ZipException: No such file or directory
05/12/29 13:14:24 Fatal error: server exiting
Process exited with exit code 1.
Anyone got any ideas?Check to see if helps
Unable to start oc4j in Jdeveloper 10.1.3 EA1
In my case I got that error when trying to connect to MySQL database when using OC4J -
Error whenever starting OC4J - 10.1.3 EA
I get the following error whenever I start my local OC4J server when I'm trying to run a ADF BC - based JSF/JSP in a new application:
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
**** Unable to obtain password from principals.xml. Using default.
C:\jdev10.1.3EA\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config>
\j2sdk1.4.2_01\bin\javaw.exe -ojvm -classpath C:\jdev10.1.3EA\j2ee\home\oc4j.jar;C:\jdev10.1.3EA\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdev10.1.3EA\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
06/01/05 14:53:14 oracle.classloader.util.AnnotatedClassFormatError: MBeanServerEjbHome_StatefulSessionHomeWrapper1
Invalid class: MBeanServerEjbHome_StatefulSessionHomeWrapper1
Loader: system.root:0.0.0
Code-Source: /C:/jdev10.1.3EA/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/application-deployments/admin_ejb/deployment-cache.jar
Configuration: <ejb> in wrappers
Dependent class: com.evermind.server.ejb.deployment.SessionBeanDescriptor
Loader: oc4j:10.1.3
Code-Source: /C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar
06/01/05 14:53:14 at oracle.classloader.PolicyClassLoader.findLocalClass (PolicyClassLoader.java) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at oracle.classloader.SearchPolicy$FindLocal.getClass (SearchPolicy.java:165) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at oracle.classloader.SearchSequence.getClass (SearchSequence.java:92) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1676) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:302) [jre bootstrap, by jre.bootstrap]
at java.lang.Class.forName0 (Native method) [unknown, by unknown]
at java.lang.Class.forName (Class.java:219) [jre bootstrap, by jre.bootstrap]
at com.evermind.server.ejb.deployment.SessionBeanDescriptor.createHomeInstance (SessionBeanDescriptor.java:407) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstanceCore (EJBPackageDeployment.java:1048) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstance (EJBPackageDeployment.java:1101) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBPackageDeployment.bindRemoteHome (EJBPackageDeployment.java:500) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBPackageDeployment.bindHomes (EJBPackageDeployment.java:401) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBContainer.postInit (EJBContainer.java:1015) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationStateRunning.initializeApplication (ApplicationStateRunning.java:206) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.Application.setConfig (Application.java:392) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.Application.setConfig (Application.java:310) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.initializeSystemApplication (ApplicationServer.java:1418) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications (ApplicationServer.java:1401) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:896) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.lang.Thread.run (Thread.java:534) [jre bootstrap, by jre.bootstrap]
In searching the forum I've only found a couple of things that look similar and they suggest the problem is caused when a project is upgraded. The suggested solution is running the project in JDK 1.5. (see Error Attempting to Run JSP with 10.1.3.0.3.3412
However, my project is a new project, created in 10.1.3, and in the project properties --> compiler settings, I've got the source and target set to 1.4. There hasn't been any upgrade to speak of, and my production environment is JDK 1.4.
I get the same error upon creating a new web application, creating a JSF, placing some Output Text on the page and then attempting to run it.
Does anyone have any idea how to fix this? If I can't run new applications, I'm in trouble...
Thanks,
AndyThanks for the response, Shay.
I was able to get the server to start up by changing the setting in Project Properties --> Libraries --> J2SE Version to 1.5.
Are you saying, then, that regardless of which version of JDK you use to compile your project (Project Properties --> Compiler --> Source & Target, both 1.4 in my case), in order to run it on the embedded OC4J server you have to use 1.5 in the setting above? I just want to understand this so that I can be sure that my app will run on my production app server, which runs JDK 1.4. That's what I was referring to as "my production environment" in my original post.
Thanks again,
Andy -
Error while testing Customizations in Integrated Weblogic server
Hi,
I did a customization to a seeded jsff and am trying to run the associated JSPX file from Jdev. But I am getting the below error when I try to run the associated JSPX file from Jdev.
[12:34:37 AM] Deploying Application...
<Apr 24, 2013 12:34:38 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1366743877242' for task '1'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.appstrace.model, exact-match: false].'
*weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.appstrace.model, exact-match: false].*
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
Truncated. see log file for complete stacktrace
>
<Apr 24, 2013 12:34:38 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'j2ee-app [Version=V2.0]'.>
<Apr 24, 2013 12:34:38 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.appstrace.model, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
Truncated. see log file for complete stacktrace
>
[12:34:38 AM] #### Deployment incomplete. ####
[12:34:38 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
#### Cannot run application due to error deploying to IntegratedWebLogicServer.
[Application stopped and undeployed from Server Instance IntegratedWebLogicServer]
Please help.
Thanks,Hi,
For the above error, I commented the references of oracle.as.scheduler.RuntimeServiceRemote and oracle.as.scheduler.MetadataServiceRemote(I got an error for this EJB also) in web.xml.
When I tried to run the page then, the deployment got completed and the browser is opened for the page, but got the below exception when the page is loaded.
java.lang.ClassCastException: oracle.jbo.mom.DefinitionContextAgeable cannot be cast to oracle.jbo.mom.DefinitionContext at oracle.jbo.mom.DefinitionManager.getCurrentDefinitionContext(DefinitionManager.java:2815)
at oracle.jbo.mom.DefinitionManager.initProject(DefinitionManager.java:1845)
at oracle.jbo.mom.DefinitionManager.initSubExtendsPropForProject(DefinitionManager.java:1771)
at oracle.jbo.mom.DefinitionManager.initManager(DefinitionManager.java:309)
at oracle.jbo.uicli.mom.JUMetaObjectManager.initManager(JUMetaObjectManager.java:1214)
at oracle.jbo.uicli.mom.JUMetaObjectManager.(JUMetaObjectManager.java:90)
at oracle.jbo.uicli.mom.JUMetaObjectManager.getJUMom(JUMetaObjectManager.java:366)
at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:635)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:700)
at oracle.adf.model.BindingContext.initialize(BindingContext.java:402)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:235)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:203)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.apps.fnd.applcore.common.ApplSessionFilter.doFilter(ApplSessionFilter.java:652)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.apps.appstrace.ui.servlet.AppsTraceRequestFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:164)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -
Migration from Oracle OC4J to Weblogic 10.3 and CLOB ClassCastException
I am migrating a web application from Oracle OC4J to Weblogic 10.0.3. In this application there are number of java files which uses the following piece of code and I can't change that:
oracle.sql.CLOB clob = (oracle.sql.CLOB)rs.getClob(columnNumber);
I have deployed the application on Weblogic Application Server. But when I run the application, it gives me the following exception:
*1. SEVERE: Standard exception info for exception of type: 'java.lang.ClassCastException' at level: 0 - Error Text: 'weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB'*
*2. Apr 3, 2008 10:19:33 AM com.agencyport.menu.MenuController insert*
*3. SEVERE: java.lang.ClassCastException: weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB*
*4.*
*5. at com.agencyport.database.OracleDatabaseAgent.updateLOB(OracleDatabaseA*
*6. gent.java:111)*
*7. at com.agencyport.menu.MenuController.insert(MenuController.java:815)*
[Post New]posted Today 11:09:13 AM private message
Quote [Up]
Dear Marcos,
I have tried using ojdbc5, ojdbc6 and classess12 but with the same result. I am stuck with the problem. I have googled a lot but in vein. In some posts I got the idea to use weblogic.jdbc.vendor.oracle.OracleThinClob. But there is no package or class like mentioned in bold, available in weblogic.jar that I get from WEBLOGIC_HOEM/lib. I have downloaded weblogic 10.3 two times but still got no solution. weblogic.jar does not contain weblogic.jdbc.vendor.oracle.OracleThinClob.
I have also read about using weblogic.jdbc.common.OracleClob to write unicode data but I do not find this package within the weblogic.jar
Any idea please......
Regards
Muhammad IjazHave you reviewed this set of documentation:
http://download.oracle.com/docs/cd/E12839_01/wls/docs103/jdbc/thirdparty.html#wp1043705
http://download.oracle.com/docs/cd/E12839_01/wls/docs103/jdbc/thirdparty.html#wp1045809
http://download.oracle.com/docs/cd/E12839_01/wls/docs103/jdbc/thirdparty.html#wp1043777
There is also a special forum for WebLogic JDBC related questions:
WebLogic Server - JDBC
Maybe you are looking for
-
Apple's stance on ML problems - Reminders and Notes.
Hello, all. I must confess I am puzzled with Apple's attitude towards its customer base and how neglectful it has become as a company. I just recently upgraded to Mountain Lion for the sole reason I wished to use Reminders and Notes. These are applic
-
Antivirus on A6000 not working
After factory reset of Lenovo A6000, in Antivirus settings "Virus database auto update" feature disabled and can't be enabled and ask for premium features for which Rs. 49 for 30 days is demanded. Antivirus shows that the "Virus database expired". Wh
-
Hi, when i am going to release an order then system status CSER becomes active.The message comes as error occurred during budget check see cost protocol with message no. IW079 and thus save is being rejected by the system.The system is proposing diag
-
Exchange rates Gand B in Purchase order
Hi, while doing P.O the exhange rate will come from exhange rate type M, now my client wants when they do IMPORT Purchase order the exchange rate has to take fro exchange rate type G(bank buying rate) and while doning Export P.O the exchange rate has
-
Fatal region error detected; run Recovery
I try include 2600 documents 1,06 GB and I have the message (Fatal region error detected; run Recovery ). I executed db_recover.exe to try resolve the problem without sucess. I did this test in 3 differents computers and I had the same problem. I am