Does Oracle 8.1.5 with weblogic 6.1 sp2 suppports Distributed Transactions ---A really night Mare
Which version of jdbc thin driver should i use to achieve distributed transaction
with oracle 8.1.5 in weblogic 6.1 sp2
right now if iam using the driver classes provided in weblogic.jar iam gettig the
following Exception
AccountBean.ejbCreate( id = accountId, initial balance = $ 3000.0)
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured
in the transaction branch start(
) failed on resource 'OracleXAPool' Unexpected error during start for XAResource
'OracleXAPool': null
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1044)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1010)
at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148)
at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:226)
at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
at examples.ejb.basic.beanManaged.AccountBean.ejbCreate(Unknown Source)
at examples.ejb.basic.beanManaged.AccountBean_g1748h_Impl.ejbCreate(AccountBean_g1748h_Impl.java:172)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:492)
at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:462)
at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl.create(AccountBean_g1748h_HomeImpl.java:76)
at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:158)
at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:253)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:220)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy126.create(Unknown Source)
at examples.wtc.atmi.simpapp.ToupperBean.putMessage(ToupperBean.java:194)
at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl.putMessage(ToupperBean_8roqg7_EOImpl.java:284)
at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Regards
Ranga Rao
Oracle Server 8.1.5 does not provide support for 2PC.
Full XA support is provided from version 8.1.7.
Sergi
"Lawrence" <[email protected]> wrote:
>
>Ranga,
>Please use classes12.zip for this.If you still find problem, please let
>me know.
>Thanks
>Lawrence
>
>"Ranga Rao" <[email protected]> wrote:
>>
>>
>>Which version of jdbc thin driver should i use to achieve distributed transaction
>>with oracle 8.1.5 in weblogic 6.1 sp2
>>
>>right now if iam using the driver classes provided in weblogic.jar iam
>gettig
>>the
>>following Exception
>>
>>////////////////////////////////////////////////////////////////////////////////////////////
>>AccountBean.ejbCreate( id = accountId, initial balance = $ 3000.0)
>>java.sql.SQLException: XA error: XAER_RMERR : A resource manager error
>has
>>occured
>>in the transaction branch start(
>>) failed on resource 'OracleXAPool' Unexpected error during start for XAResource
>>'OracleXAPool': null
>> at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1044)
>> at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1010)
>> at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148)
>> at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:226)
>> at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
>> at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
>> at examples.ejb.basic.beanManaged.AccountBean.ejbCreate(Unknown
>>Source)
>> at examples.ejb.basic.beanManaged.AccountBean_g1748h_Impl.ejbCreate(AccountBean_g1748h_Impl.java:172)
>> at java.lang.reflect.Method.invoke(Native Method)
>> at weblogic.ejb20.manager.DBManager.create(DBManager.java:492)
>> at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:462)
>> at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
>> at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl.create(AccountBean_g1748h_HomeImpl.java:76)
>> at examples.ejb.basic.beanManaged.AccountBean_g1748h_HomeImpl_WLSkel.invoke(Unknown
>>Source)
>> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
>> at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
>> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
>> at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:158)
>> at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
>> at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
>> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:253)
>> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:220)
>> at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
>> at $Proxy126.create(Unknown Source)
>> at examples.wtc.atmi.simpapp.ToupperBean.putMessage(ToupperBean.java:194)
>> at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl.putMessage(ToupperBean_8roqg7_EOImpl.java:284)
>> at examples.wtc.atmi.simpapp.ToupperBean_8roqg7_EOImpl_WLSkel.invoke(Unknown
>>Source)
>> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
>> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
>> at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
>> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
>> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>>/////////////////////////////////////////////////////////////////////////////////
>>
>>Regards
>>Ranga Rao
>>
>>
>
Similar Messages
-
Hi,
I am facing following issue in my one environment. but in other environment same class path is working fine. I have compared all jar and classpath for both weblogic server.
I am using weblogic 11g.
27 Mar 2013 15:21:09,507 ERROR XXXServlet:293 - oracle.sql.ARRAY incompatible with weblogic.jdbc.vendor.oracle.OracleArray
java.lang.ClassCastException: oracle.sql.ARRAY incompatible with weblogic.jdbc.vendor.oracle.OracleArray
at com.emc.nems.wsd.ui.beans.reports.mpapi.FacilityBeanType.nullSafeGet(FacilityBeanType.java:126)
at org.hibernate.type.CustomType.nullSafeGet(CustomType.java:128)
at org.hibernate.type.AbstractType.hydrate(AbstractType.java:105)
at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2114)
at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1404)
at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1332)
at org.hibernate.loader.Loader.getRow(Loader.java:1230)
at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:603)
at org.hibernate.loader.Loader.doQuery(Loader.java:724)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
at org.hibernate.loader.Loader.doList(Loader.java:2232)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
at org.hibernate.loader.Loader.list(Loader.java:2124)
at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:312)
at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1723)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:175)
at com.emc.nems.oms.dao.hibernate.util.OMSHibBaseDAO.executeNamedQueryWithoutTransaction(Unknown Source)
at com.emc.nems.wsd.dao.hibernate.reports.mpapi.MpapiReportHibDAO.findMCR020(Unknown Source)
at com.emc.nems.wsd.ui.handler.reports.ReportsHandler.getMPAPIData(Unknown Source)
at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.executeReport(XXXServlet.java:1009)
at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.generateAuditFile(XXXServlet.java:318)
at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.execute(XXXServlet.java:273)
at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.doGet(XXXServlet.java:207)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3731)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3695)
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:2285)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2184)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1459)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Regards,
AbhishekCreating my Oracle connection works fine ... code as follows:
<i>Context ctxt = getInitialContext();
DataSource dataSource = (DataSource) ctxt.lookup(poolName);
Connection conn = dataSource.getConnection();
OracleConnection oracleConn = (OracleConnection)((WLConnection)conn).getVendorConnection();</i>
I also have reviewed documentation:
http://e-docs.bea.com/wls/docs81/jdbc/thirdparty.html. In section 'Using OracleStruct Extension Methods' it highlights that
<i>java.sql.Struct struct =(weblogic.jdbc.vendor.oracle.OracleStruct)(rs.getObject(2));</i>
None of the documentation actually mentions <b>oracle.sql.STRUCT</b>. For Weblogic to truely provide support for Oracle it needs an easy way of converting to this data type. At present I cannot interact with Oracle APIs until I can create an oracle.sql.STRUCT. -
How to know report server name in oracle forms and reports with weblogic server 10.3.5
Hello Experts, I am new in oracle forms and reports.I have installed Oracle forms 11g with weblogic server 10.3.5 at windows 7.Forms and reports are working well.But I want to call a report from an oracle form button press trigger. For This I need to know the my report server name which i dont know.Please tell me how can I know my report server name.
I want to call a report from an oracle form button press trigger. For This I need to know the my report server name
You can find the name of the standalone reports server in $ORACLE_INSTANCE/config/ReportsServerComponent.
Or you can use Fusion Middleware Control Console, normally at http://<machine name>:7001/em -
Does Oracle 10G XE collide with other installed Oracle products?
I have IDS 9i (Forms and Reports 9i) installed on my laptop for use with our remote database. Does Oracle 10G XE do anything with my Oracle home settings?
I have Windows XP SP1 on my laptop.
MikeIf you have Instant Client (or something that bundles the Instant Client, such as ZendCore for Oracle), in your path on Windows, then you will get problems, such as
1) The install spinning
2) SQLPlus crashing when launched
The offending DLL is called oraociei10.dll
Check to see if you have this in your environment. Search will do this for you. If you do, check to make sure that the corresponding directory is not in your path. if it is, then the fix is to remove the offending directory from your path. -
JSF with Weblogic 8.1 SP2
Hello,
I am trying to deploy a JSF application in weblogic 8.1 SP2. But I am getting some servlet initialization exception. Have anyone of u faced such problem? Then please let me know the solution.
Also, is there any way to know what versions of different J2EE component does a particular version of weblogic supports? Websphere has got a batch file which when executed gives the supported versions of JDBC etc. in an html file. Does weblogic has something similar?
Regards,
SauravI think it is that answer. However, Weblogic Enterprise Security does
support SAML.
"Joe Newcomer" <[email protected]> wrote in message
news:[email protected]..
>
Hi,
I would like to play around with SAML-based authentication with WebLogicPlatform
8.1 sp2.
I searched thru dev2dev, google and e-docs, but could not come up with anyhow-to
or example.
Can somebody please tell me how can we do this?! (I hope the answer is not'WebLogic
does not support SAML at this at this time!').
Thanks
Joe -
Problem with Weblogic 8.1 Sp2 and Struts 1.1 + tiles
I am using weblogic 8.1 sp2 with struts and tiles.
I am getting the follwing error in my web pages, which is not consistent.
The error stack trace is as below.
[java] <Oct 6, 2005 12:23:53 PM GMT+05:30> <Error> <HTTP> <BEA-101309> <[ServletContext(id=3212
195,name=awmweb,context-path=/awm)] could not deserialize the context attribute "org.apache.struts.
iles.DEFINITIONS_FACTORY"
[java] java.io.NotSerializableException: com.awm.awm.controllers.layout.BaseLayoutControll
r
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
[java] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
[java] at java.util.HashMap.writeObject(HashMap.java:978)
[java] at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
[java] at java.util.HashMap.writeObject(HashMap.java:978)
[java] at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
[java] at weblogic.servlet.internal.AttributeWrapper.convertObjectToBytes(AttributeWrapper.
ava:136)
[java] at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:112)
[java] at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:69)
[java] at weblogic.servlet.internal.WebAppServletContext.getAttribute(WebAppServletContext.
ava:619)
[java] at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.getDefinitionsFactory(TilesUti
StrutsModulesImpl.java:145)
[java] at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.getDefinitionsFactory(TilesUti
StrutsModulesImpl.java:133)
[java] at org.apache.struts.tiles.TilesUtil.getDefinitionsFactory(TilesUtil.java:186)
[java] at org.apache.struts.tiles.TilesUtil.getDefinition(TilesUtil.java:224)
[java] at org.apache.struts.taglib.tiles.util.TagUtils.getComponentDefinition(TagUtils.java
339)
[java] at org.apache.struts.taglib.tiles.DefinitionTag.doStartTag(DefinitionTag.java:261)
[java] at com.awm.awm.jsp._errors.__500_45_servererror._jspService(__500_45_servererro
.java:208)
[java] at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
[java] at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStub
mpl.java:971)
[java] at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
[java] at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
[java] at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.filters.AWMBaseFilter.doFilter(AWMBaseFilter.java:97)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.quote.QuoteUsageFilter.doFilter(QuoteUsageFilter.java:70)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.filters.AWMBaseFilter.doFilter(AWMBaseFilter.java:97)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.filters.FrontFilter.doFilter(FrontFilter.java:160)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.filters.JTidyFilter.doFilter(JTidyFilter.java:152)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.filters.PerfLogFilter.doFilter(PerfLogFilter.java:211)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.jav
:305)
[java] at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:
23)
[java] at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletConte
t.java:3908)
[java] at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext
java:3683)
[java] at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585
[java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
[java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
[java] >
Can any one comment on why I am getting this error? Is it related to the hot deployment issue? Please comment.
Thanks in advance,
KHi,
Generally this type of exception raised by a class or the serialization runtime when a class may not be serialized.The argument should be the name of the class.
You might be forgot to implement the serializable interface for the class in struts frame work.
check it properly.
Regards
Anilkumar kari -
Sun Identity Server 6.1 with Weblogic 8.1 sp2
Hi,
I've installed the IS 6.1 with WLS 8.1 sp2 and the agent 2.1.1 and followed the agent configuration guide to configure the xml files (web.xml and weblogic.xml) and agent authenticator.
When I login to the restricted resource, the browser is redirected to the IS server login page. After login, the browser is redirected back to the resource with 403 forbidden.
Is there any step missing? Should I additional add some policy in the IS console? .....
CliveI have just installed Sun Identity Server 6.2 with WebLogic 8.1 SP3 and am experiencing the same results. Have you resolved this issue in your environment? We are evaluating Portal Server running on a BEA WLS Container and thus do not have Sun Support on the Identity Server Component of this configuration.
-
Hello,
I have an OutOfMemoryError when applying an xsl transformation to generate html
code in a web page. I'm running Weblogic 6.1 sp2
I think the problem comes from the objectin which th html is stored during the
transformation. The problem only occurs from a minimal xml size. I could fix
it by increasing JVM allocated size but I would like to find a more flexible solution.
If I know an other way to solve this problem, I really would appreciate !
Thanl you,
Laurent.
[AgentsGeres.jsp]Hello,
You might try asking your question in the JSP newsgroup:
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.jsp
There just may not be a more flexible solution :-)
This doc may be of some value, see chapter 2:
http://edocs.bea.com/wls/docs61/pdf/perform.pdf
HTH,
Bruce
Laurent Gosuin wrote:
>
Hello,
I have an OutOfMemoryError when applying an xsl transformation to generate html
code in a web page. I'm running Weblogic 6.1 sp2
I think the problem comes from the objectin which th html is stored during the
transformation. The problem only occurs from a minimal xml size. I could fix
it by increasing JVM allocated size but I would like to find a more flexible solution.
If I know an other way to solve this problem, I really would appreciate !
Thanl you,
Laurent.
Name: AgentsGeres.jsp
AgentsGeres.jsp Type: Hypertext Markup Language (text/html)
Encoding: base64 -
How to configure Oracle 8 to work with Weblogic portal4.0
Hi! I'm trying to configure my portal to work with oracle8i using thin driver.I've set classes12.zip in the classpath.But if I set the DATABASE=ORACLE_OCI value inthe set-environment.sh file the server does not start.Pls help.
Here's the error log it throws for the problem:
: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.R
DBMSException: An error occured creating a database connection for the realm.]
java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
on: An error occured creating a database connection for the realm.]
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
a:258)
at weblogic.security.SecurityService.initialize(SecurityService.java:115
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:390)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
'> -
Problems using Oracle or MSSql DBMS with Weblogic 5.1 SP6
We have installed Weblogic 5.1 with service pack 6 on NT 4.0.
The database access works fine with the default Cloudscape,
but when we try to use the SQL scripts for Oracle supplied by BEA,
we keep getting rollbacks.
We have also tried to modify the SQL scripts to access a MSSQL 7
database,
and we get the same kind of problems.
Can anybody help ?
Thanx.
Fabien Coppens
Consultant B2C,
Fi System
78 Bld. de la République
92100 Boulogne
Tel : +33-1-47 61 52 55
mailto : [email protected]I guess SQL syntax for cloudscape may not be same as Oracle. Pls check
cloudscape manuals.
Also you are talking about rollbacks. Could you be more specific.?
Pls post full stack trace here.
Kumar
Fabien Coppens wrote:
We have installed Weblogic 5.1 with service pack 6 on NT 4.0.
The database access works fine with the default Cloudscape,
but when we try to use the SQL scripts for Oracle supplied by BEA,
we keep getting rollbacks.
We have also tried to modify the SQL scripts to access a MSSQL 7
database,
and we get the same kind of problems.
Can anybody help ?
Thanx.
Fabien Coppens
Consultant B2C,
Fi System
78 Bld. de la République
92100 Boulogne
Tel : +33-1-47 61 52 55
mailto : [email protected] -
Does Oracle Designer 10g work with Oracle 10g Express?
Guys:
Does anybody know if Oracle Designer works with Oracle 10g Express?
Regards,
Mike GormanDesigner will not work on express edition of the Oracle Database. You will need the Standard or the Enterprise Edition of the Database.
-
The simple program below is a client that executes a SELECT query -
there are 13 rows in the table, of which 10 are printed when I run the
program, then after that the ORA-01002 error is reported. I am not
doing anything with LOBs, or updates. I've tried putting
con.setAutoCommit(false) as well, but that does not do anything.
Why am I getting this error? Can anyone help.
Thanks
-H
Context ctx = null;
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL,
"t3://127.0.0.1:7001");
PreparedStatement stmt = null;
ResultSet rs = null;
UserTransaction ut = null;
try {
ctx = new InitialContext(ht);
javax.sql.DataSource ds
= (javax.sql.DataSource) ctx.lookup ("jtaXADS");
java.sql.Connection conn = ds.getConnection();
// You can now use the conn object to create
// Statements and retrieve result sets:
ut = (UserTransaction)
ctx.lookup("javax.transaction.UserTransaction");
ut.begin();
stmt = conn.prepareStatement("select firstname,surname from
EMPLOYEE ");
stmt.executeQuery();
rs = stmt.getResultSet();
// Close the statement and connection objects when you are finished:
while (rs.next())
System.out.println("Result is " + rs.getString("firstname") + " " +
rs.getString("surname"));
ut.commit();
stmt.close();
conn.close();
catch (Exception e) {
e.printStackTrace();
// a failure occurred
finally {
try {ctx.close();
rs.close();}
catch (Exception e) {
// a failure occurred
e.printStackTrace();Thanks everybody.
I have tried this, calling ut.begin() first before getConnection,
however no difference. However the problem goes away if I call
stmt.setFetchSize(100);
But I would prefer not to have to code this in every time!!!
I see there is a setting within Weblogic Admin console to see the
row-prefetch, but that is already set to 45 rows, so why do have to
explicitly call stmt.setFetchSize(100)!!!
Thanks
-H
"Carl Lawstuen" <[email protected]> wrote in message news:<[email protected]>...
Agreed. The transaction must start before the connection. This is what
is most likely causing the error.
"Nils Winkler" <[email protected]> wrote in message
news:[email protected]...
Hi,
one more thing: The UserTransaction has to be started before you obtain
the connection, not after.
Nils
Humphrey wrote:
The simple program below is a client that executes a SELECT query -
there are 13 rows in the table, of which 10 are printed when I run the
program, then after that the ORA-01002 error is reported. I am not
doing anything with LOBs, or updates. I've tried putting
con.setAutoCommit(false) as well, but that does not do anything.
Why am I getting this error? Can anyone help.
Thanks
-H
Context ctx = null;
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL,
"t3://127.0.0.1:7001");
PreparedStatement stmt = null;
ResultSet rs = null;
UserTransaction ut = null;
try {
ctx = new InitialContext(ht);
javax.sql.DataSource ds
= (javax.sql.DataSource) ctx.lookup ("jtaXADS");
java.sql.Connection conn = ds.getConnection();
// You can now use the conn object to create
// Statements and retrieve result sets:
ut = (UserTransaction)
ctx.lookup("javax.transaction.UserTransaction");
ut.begin();
stmt = conn.prepareStatement("select firstname,surname from
EMPLOYEE ");
stmt.executeQuery();
rs = stmt.getResultSet();
// Close the statement and connection objects when you are finished:
while (rs.next())
System.out.println("Result is " + rs.getString("firstname") + " " +
rs.getString("surname"));
ut.commit();
stmt.close();
conn.close();
catch (Exception e) {
e.printStackTrace();
// a failure occurred
finally {
try {ctx.close();
rs.close();}
catch (Exception e) {
// a failure occurred
e.printStackTrace();
============================
[email protected] -
Does Oracle Internet Directory come with Application Server 10g Release 3
I noticed Appserver 10g 10.1.3 does not have as many components as Appserver 10.1.2. It does not even come with Oracle Internet Directory. Do I need to install Appserver 10.1.2 first and then upgrade to Appserver 10.1.3?
Nope. Doesn't work that way. AS 10.1.3 is a different release...
Perhaps one way of seeing AS is as a family name for sets of application platform products or technology. The "core" of AS is OHS and OC4J + management, for many of the releases or product sets (i.e. not all of the AS family are or were based on OC4J). On top of that core, Oracle adds products depending on the release.
If you go from the Downloads menu -
You would see that (currently) 10.1.3.x or 10.1.3.1 ("for deployment" - See All) is e.g a SOA Suite release. It also has Service Registry, Data Integrator and WebCenter Suite.
AS 10.1.3.0.0 is a OC4J release, if I'm not mistaken, to include support for Java/JDK 5.
AS 10.1.4.0.1 is a Identity Management release.
If you are looking for other app server products such as Discoverer or Reports Services, the latest release that I know of is 10.1.2.0.2. If you have AS 10.1.2.0.x, you may upgrade the including products via a patch set to 10.1.2.2 or later. Portal and IM components in this release may be upgraded to 10.1.4.x.
Also note that AS patch sets might introduce some additional version number confusion.
Combining different releases into mid-tier and infrastructure services is possible, if you need to stay with the latest features (such as a setup with 10.1.2.x mid-tiers using 10.1.4 Identity management). See Upgrade and Installation guides for information and configuration rules.
http://www.oracle.com/technology/software/products/ias/htdocs/101310.html
http://www.oracle.com/technology/software/products/ias/htdocs/101401.html
http://www.oracle.com/technology/software/products/ias/htdocs/101202.html
Message was edited by:
orafad -
Does Oracle 8i Personal work with Window-Me?
Hi, Experts:
I want to install Oracle 8i Personal (Win98 version) in Window-Me operating system. Does anyone know if it works or not? Thank for any suggestions!
Regards!No, it doesn4t
-
IPlanet 4.1 redirector issue with WebLogic 6.0 SP2
We have a servlet reading a PDF file and write out to the outputstream. We got an
IO exception when doing:
myOutputStream.write(byte[], 0, len);
The exception socket write exception: Broken pipe.
For the same program if we run it using weblogic's own internal
web server, everything run through fine.
Our pragram trace shows that the same servlet get called multiple times when using
IPlanet redirector, while only invoked once when using Weblogic's internal webserver.
Is this a redirector bug ? or there is some trick we missed out.Terry,
This is a known problem, and CR058420 was opened to address this
issue. For 6.0, there is not a patch available. The recommended
solution is to upgrade to 6.1 and apply the appropriate patch.
Thanks,
Simon
Developers Relation Engineer
BEA Support.
Terry Carter wrote:
> we use weblogic as a webserver with one of our web applications.
> The index.html page is a soft link pointing to one of 2 pages.
> 1 page is a site up page and the other is a site down page.
>
> Using a soft link worked fine with WL60 sp1 but when we moved to SP2
> we now get a 404 when trying to load the index.html page.
>
> Any ideas why this would be broken?
>
> Terry Carter
Maybe you are looking for
-
I just updated to ios7 and do not like the redesign. I want the old design back. Has anyone found out how to restore the old appearance. I do not understand why the change. I now have to unlock my phone to be able to check my battery level because my
-
Is there a way to automatically create a 1/4 scale duplicate of something that changes with the master. So you have one thing that you draw on and another off to the side, hopefully on another art board, that mirrors it at 1/4 scale. I feel like this
-
I would like to include an HTML banner in my mail signatures. The process is relatively simple in MS Outlook, but I cant find an equivalent process in Mail. Any suggestions? Many thanks.
-
someone stole my iphone and now I have a new one, but I want to recover my photos of my another iphone, how i can do it?
-
Re: BT INFINITY BEING MISSOLD
My mother is having difficulty with broadband she joined from o2 broadband got a £10.90 discount but broadband slow she the suprisingly received a telephone call offering bt infinity for an extra 1.95 per month when the paperwork arrived today she