Struts PgFlow error using a RowSet control in WL 8.1 SP1
I created a RowSet Control within an existing WAR and setup a PgFlow process to CRUD my linked datasource.
When i run or view the pageflow it builds and deploys fine and I am able to view the generated main grid.jsp containing all my data in the connected datasource. I can click the 'Details' link and view the details of that specifci row in the connected datasource as well. BUT when i try to UPDATE or INSERT it throws the following error:
####<Apr 7, 2005 9:37:46 AM PDT> <Error> <HTTP> <CL2K-RMORTON> <csaDevServer8> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=10511735,name=busAdminWAR,context-path=/busAdminWAR)] Root cause of ServletException.
java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
at com.bea.wlw.netui.util.PopulateContextHelper.populate(PopulateContextHelper.java:75)
at com.bea.wlw.netui.util.PopulateContextHelper.populate(PopulateContextHelper.java:52)
at com.bea.wlw.netui.tags.AbstractBaseTag.populateAvailableContexts(AbstractBaseTag.java:231)
at com.bea.wlw.netui.tags.AbstractBaseTag.evaluateExpressionInternal(AbstractBaseTag.java:424)
at com.bea.wlw.netui.tags.AbstractBaseTag.evaluateExpression(AbstractBaseTag.java:239)
at com.bea.wlw.netui.tags.html.ParameterMap.setMap(ParameterMap.java:91)
at jsp_servlet._test._testpgflow.__updatehrcempcomp._jspService(updateHrcEmpComp.jsp:20)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:185)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:385)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:286)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1017)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1033)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:912)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:806)
at org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:401)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:429)
at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(DynamicSubappActionServlet.java:405)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
The class its looking for is within the struts.jar within the WEB-INF/lib directory of the WAR, so not sure why it cannot find it...
I did some research and the other possibility that this error its being thrown is that the class is conflicting with another in some other .jar. I did a search and only found the one??
So....i tried recreating a completely NEW .EAR and .WAR within that EAR and deployed it on the same DOMAIN server as my EAR/WAR above..and i was able to successfully CRUD the data on my connected datasource.
So....WHY in the heck can't I run this WAR/process in my existing app? do i have to create it in a completely seperate .EAR?????
please help!
Thanks,
-Rusty
I created a RowSet Control within an existing WAR and setup a PgFlow process to CRUD my linked datasource.
When i run or view the pageflow it builds and deploys fine and I am able to view the generated main grid.jsp containing all my data in the connected datasource. I can click the 'Details' link and view the details of that specifci row in the connected datasource as well. BUT when i try to UPDATE or INSERT it throws the following error:
####<Apr 7, 2005 9:37:46 AM PDT> <Error> <HTTP> <CL2K-RMORTON> <csaDevServer8> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=10511735,name=busAdminWAR,context-path=/busAdminWAR)] Root cause of ServletException.
java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
at com.bea.wlw.netui.util.PopulateContextHelper.populate(PopulateContextHelper.java:75)
at com.bea.wlw.netui.util.PopulateContextHelper.populate(PopulateContextHelper.java:52)
at com.bea.wlw.netui.tags.AbstractBaseTag.populateAvailableContexts(AbstractBaseTag.java:231)
at com.bea.wlw.netui.tags.AbstractBaseTag.evaluateExpressionInternal(AbstractBaseTag.java:424)
at com.bea.wlw.netui.tags.AbstractBaseTag.evaluateExpression(AbstractBaseTag.java:239)
at com.bea.wlw.netui.tags.html.ParameterMap.setMap(ParameterMap.java:91)
at jsp_servlet._test._testpgflow.__updatehrcempcomp._jspService(updateHrcEmpComp.jsp:20)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:185)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:385)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:286)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1017)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1033)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:912)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:806)
at org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:401)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:429)
at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(DynamicSubappActionServlet.java:405)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
The class its looking for is within the struts.jar within the WEB-INF/lib directory of the WAR, so not sure why it cannot find it...
I did some research and the other possibility that this error its being thrown is that the class is conflicting with another in some other .jar. I did a search and only found the one??
So....i tried recreating a completely NEW .EAR and .WAR within that EAR and deployed it on the same DOMAIN server as my EAR/WAR above..and i was able to successfully CRUD the data on my connected datasource.
So....WHY in the heck can't I run this WAR/process in my existing app? do i have to create it in a completely seperate .EAR?????
please help!
Thanks,
-Rusty
Similar Messages
-
Customize messages used by row control
Hello,
I am using the RowSet Control / Java Page Control.
The generated jsp-files are all in english.
Now, I want to change the messages, but I can not find them. Some of them comes from Bundle, some from FilterWindowData.
Can someone help me, pleas ?
Regards, MladenHello,
I am using the RowSet Control / Java Page Control.
The generated jsp-files are all in english.
Now, I want to change the messages, but I can not find them. Some of them comes from Bundle, some from FilterWindowData.
Can someone help me, pleas ?
Regards, Mladen -
Error using RMAN thru Database Control
Hello guys..
I installed Oracle 10gR2 on solaris 10, and created a sample DB called HEAT. This database is configured to run in Archivelog mode and also created Flash_recovery_area.
Iam trying to take a simple backup thru RMAN using OEM ( Database Control). there is only 1 database on that server and i plan to use controlfile instead of recovery catalog.
Now here are the steps when i execute, i get an ERROR.
1. connected as 'sys' from Database Control.
2. Went to Maintenence Tab, click in Backup settings.
3. click on Device Tab, enter OS credentials and click on "Test disk backup"..
4. I get an error that says "Disk Backup Test Failed!"
When click on View Error Details :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Feb 2 12:53:29 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
connected to target database (not started)
RMAN>
echo set on
RMAN> run {
2> allocate channel oem_disk_backup device type disk;
3> backup as BACKUPSET current controlfile tag '02022007125328';
4> restore controlfile validate from tag '02022007125328';
5> release channel oem_disk_backup;
6> }
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 02/02/2007 12:53:30
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
RMAN> allocate channel for maintenance type disk;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 02/02/2007 12:53:30
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
RMAN> delete noprompt backuppiece tag '02022007125328';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 02/02/2007 12:53:30
RMAN-12010: automatic channel allocation initialization failed
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
RMAN> exit;
Recovery Manager complete.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I only have 1 database , and it is configured to backup using Control file and not Recovery catalog ( which is the default)...
What additional steps do i have to do, to take a simple backup using database control ? I am not sure why it says Database not available...while DB is indeed available and open.
any help is appreciated..
thanksI, too, am receiving these same errors when I do my backups. The sysadmin took the systems down over the weekend and the backup has failed ever since. Database is up, ORACLE_SID looks fine, what could be wrong? This nightly backup worked before system went down. I can connect as sysdba using the ORACLE_SID as set.
Thanks,
Candy -
dear associates,
linux version: red hat enterprise linux 4.0.
EBS version: 12.1.1
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
Cannot execute configure of database using RapidClone
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for VIS instancedear associates,
can u please assist me how can over come this error or problem.
linux version: red hat enterprise linux 4.0.
EBS version: 12.1.1
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
Cannot execute configure of database using RapidClone
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for VIS instance -
Error 66 and error 18500 using HTTP GET control: SOLVED
Hello, I'm new as a member and as a LabView user but I spent many hours trying to get the URL_Get_HTTP vi to play nicely with my code, and as a courtesy I thought I would post the problems I was having and the resolution(s).
First of all, I was receiving an Error 66 every time I would attempt to make a connection. This implies that the server terminated the connection, but I knew that this was not the case as I could connect just fine in other manners (browsers, PHP, etc)...
1) I changed the "bytes to read" input of the "TCP Read" control residing in the middle of the "TCP Buffered Read.vi" from a constant of 1024 to 1. I have not confirmed that this step is required and you may want to apply step #2 on its own.
2) I stripped the Error 66 from the "URL Get HTTP Document.vi" inbetween the "TCP Buffered Read" control and the "TCP Read Stream" control. You can do this by disconnecting the wire, adding a "Clear Error" control on that wire, or perhaps least offensively using my attached control which selectively removes only Error 66. You should review my control before using it, as I am a new LabView user! If you think this is "bad form" to strip and ignore an error I would completely agree, but I'm going to classify this as a bug in the control itself, and would also point out that the 4th post of the following thread concluded the same thing.
http://forums.ni.com/t5/LabVIEW/Can-t-read-page-containing-XML-using-GET-HTTP-Document/m-p/1191803#M...
3) To this point the Error 66 is no longer showing up, but now Error 18500 is, which is labeled as "undocumented" which was not very helpful. Most people will probably not suffer from this problem, but ultimately the cause was that my URL string ended in a carriage return. The HTTP control does not appreciate this in any way, and a simple Trim on the string before sending it resolved this issue.
Anyway, good luck!
Attachments:
filter_error.vi 24 KBTry to send some valid data in COMP_CODE.
It seems that SAP is returning some reply which is not fitting your response Schema.
SAP Call is made and problem is in generating response document.
Use the design console to test the view again. and try to see the XML resquest document and response document. Compare your request xml with that in design console. -
When using Fire Fox to view documents at my company's website, the following message occurs:
"ERROR: JAS MiscUtils AX Control not installed!"
This error does not occur when I use I.E.That error message probably refers to a missing ActiveX control, which is why it doesn't work in Firefox but does in Internet Explorer.
https://support.mozilla.com/en-US/kb/ActiveX -
Accessing Struts Errors using EL
Hi All,
Does anyone know how to access the messages stored by Struts using Expression Language of JSP 2.0, rather than the Struts custom tags.
Thanks,
Damian SuttonWhat is wrong with the Struts tags? You are aware of the EL version of them?
If you have a JSP2.0 container you can use EL expressions for the attributes, otherwise there is a specific struts-el taglib which takes EL expressions rather than standard runtime expressions.
For stuff like displaying the error messages, I think using the Struts tag will be a lot easier.
Having said that...
The messages are stored in request attributes under the keys declared in org.apache.struts.Globals
public static final String ERROR_KEY =
"org.apache.struts.action.ERROR";
public static final String MESSAGE_KEY =
"org.apache.struts.action.ACTION_MESSAGE";
So you could access this object in jstl as
<c:set var="errors" value="${requestScope["org.apache.struts.action.ERROR"]}"/>
Note you have to use the square brackets syntax as the name includes . in it.
The problem then becomes interpreting those messages.
At this point I can't see any easy way to progress. This attribute could be a String, a String[] or an object of type ActionMessages/ActionErrors
The ActionMessages class isn't written in a way that you can access it using EL.
It has a simple method "get" which gets the iterator.
Maybe ${errors[""]} would get the iterator?
Sure there are ways around these problems, but they all involve coding wrappers/your own custom tags. I think it is easier in the long run just to use the ones provided.
Good luck,
evnafets -
IAnywhere JDBC vs. jConnect 5.5 / RowSet Control Functionality
(First, I apologize for this enourmous post)
First, my specs:
I am using WebLogic Platform 8.1 SP4 on Windows 2000 Professional. I am using iAnywhere's (a Sybase company) Adaptive Server Anywhere 9.0.2 using jConnect 5.5 in one domain and iAnywhere JDBC driver in another.
Second, my problem:
I am using WL Workshop 8.1 to create a RowSet control within a Web Project. I'm then creating a JPF from the RowSet control. I'm following directions from the documentation from the Rapid Application Development class that I took where it references "creating a CRUD application". I'm having different problems depending on the driver I'm using.
With jConnect: When I create the RowSet control, this outputs on my Admin Console:
<May 3, 2005 12:09:47 PM EDT> <Warning> <RMI> <BEA-080003> <RuntimeException thr
own by rmi server: weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getTableName
(I)
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.j
dbc2.tds.RowFormatToken.getTableName has not been completed and should not be ca
lled..
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.jd
bc2.tds.RowFormatToken.getTableName has not been completed and should not be cal
led.
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseRuntimeException(Ljava.lang.S
tring;[Ljava.lang.String;)V(ErrorMessage.java:773)
at com.sybase.jdbc2.utils.Debug.notImplemented(Ljava.lang.Object;Ljava.l
ang.String;)V(Debug.java:387)
at com.sybase.jdbc2.tds.RowFormatToken.getTableName(I)Ljava.lang.String;
(RowFormatToken.java:523)
at weblogic.jdbc.wrapper.ResultSetMetaData_com_sybase_jdbc2_tds_RowForma
tToken.getTableName(I)Ljava.lang.String;(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getTableName(I)Ljava
.lang.String;(ResultSetMetaDataImpl.java:132)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl_WLSkel.invoke(ILwebl
ogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object
;)Lweblogic.rmi.spi.OutboundResponse;(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.
server.RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.sp
i.OutboundResponse;)V(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run()Ljava.lang.Object;(BasicS
erverRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.se
curity.subject.AbstractSubject;Ljava.security.PrivilegedExceptionAction;)Ljava.l
ang.Object;(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.ac
l.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSub
ject;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(SecurityManage
r.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.
InboundRequest;)V(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.Ex
ecuteThread;)V(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest
;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Sourc
e)
>
<May 3, 2005 12:09:47 PM EDT> <Warning> <RMI> <BEA-080003> <RuntimeException thr
own by rmi server: weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getCatalogNa
me(I)
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.j
dbc2.tds.RowFormatToken.getCatalogName has not been completed and should not be
called..
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.jd
bc2.tds.RowFormatToken.getCatalogName has not been completed and should not be c
alled.
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseRuntimeException(Ljava.lang.S
tring;[Ljava.lang.String;)V(ErrorMessage.java:773)
at com.sybase.jdbc2.utils.Debug.notImplemented(Ljava.lang.Object;Ljava.l
ang.String;)V(Debug.java:387)
at com.sybase.jdbc2.tds.RowFormatToken.getCatalogName(I)Ljava.lang.Strin
g;(RowFormatToken.java:540)
at weblogic.jdbc.wrapper.ResultSetMetaData_com_sybase_jdbc2_tds_RowForma
tToken.getCatalogName(I)Ljava.lang.String;(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getCatalogName(I)Lja
va.lang.String;(ResultSetMetaDataImpl.java:140)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl_WLSkel.invoke(ILwebl
ogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object
;)Lweblogic.rmi.spi.OutboundResponse;(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.
server.RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.sp
i.OutboundResponse;)V(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run()Ljava.lang.Object;(BasicS
erverRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.se
curity.subject.AbstractSubject;Ljava.security.PrivilegedExceptionAction;)Ljava.l
ang.Object;(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.ac
l.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSub
ject;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(SecurityManage
r.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.
InboundRequest;)V(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.Ex
ecuteThread;)V(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest
;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Sourc
e)
>
<May 3, 2005 12:09:47 PM EDT> <Warning> <RMI> <BEA-080003> <RuntimeException thr
own by rmi server: weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getSchemaNam
e(I)
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.j
dbc2.tds.RowFormatToken.getSchemaName has not been completed and should not be c
alled..
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.jd
bc2.tds.RowFormatToken.getSchemaName has not been completed and should not be ca
lled.
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseRuntimeException(Ljava.lang.S
tring;[Ljava.lang.String;)V(ErrorMessage.java:773)
at com.sybase.jdbc2.utils.Debug.notImplemented(Ljava.lang.Object;Ljava.l
ang.String;)V(Debug.java:387)
at com.sybase.jdbc2.tds.RowFormatToken.getSchemaName(I)Ljava.lang.String
;(RowFormatToken.java:499)
at weblogic.jdbc.wrapper.ResultSetMetaData_com_sybase_jdbc2_tds_RowForma
tToken.getSchemaName(I)Ljava.lang.String;(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getSchemaName(I)Ljav
a.lang.String;(ResultSetMetaDataImpl.java:108)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl_WLSkel.invoke(ILwebl
ogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object
;)Lweblogic.rmi.spi.OutboundResponse;(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.
server.RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.sp
i.OutboundResponse;)V(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run()Ljava.lang.Object;(BasicS
erverRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.se
curity.subject.AbstractSubject;Ljava.security.PrivilegedExceptionAction;)Ljava.l
ang.Object;(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.ac
l.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSub
ject;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(SecurityManage
r.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.
InboundRequest;)V(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.Ex
ecuteThread;)V(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest
;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Sourc
e)
>
I have created the "stored procedures" in my database by running the sql_asa.sql script as directed by the jConnect 5.5 documentation. The weird thing though is that when I run my test browser, everything seems to be working despite the errors above. Are these errors something to be concerned about?
Now, with the iAnywhere JDBC driver, when I do the same thing, I get no errors on my console during the RowSet control creation, but when I run the application with the test browser and start navigating the JPF, I eventually get two errors in the browser itself:
When I click Insert (from the grid) and then click Cancel, my browser gives this error:
An error has occurred:
An exception occurred in the action begin
[Microsoft][ODBC Driver Manager] Invalid argument value
Afterwards, I click the Back button twice on the test browser and it gives this error:
An error has occurred:
An exception occurred in the action begin
[Sybase][ODBC Driver]Invalid cursor state
The Console reads like this:
<May 17, 2005 4:12:05 PM EDT> <Warning> <WLW> <000000> <Id=top-level; Method=con
trols.Newjcx11.getAllEmployee04(); Failure=java.sql.SQLException: [Microsoft][OD
BC Driver Manager] Invalid argument value [ServiceException]>
WARNING: The primary key map could not find a primary key parameter under the re
quest key "_autoscope__rowId".
<May 17, 2005 4:16:55 PM EDT> <Warning> <WLW> <000000> <Id=top-level; Method=con
trols.Newjcx11.getAllEmployee04(); Failure=java.sql.SQLException: [Sybase][ODBC
Driver]Invalid cursor state [ServiceException]>
In addition, using both drivers, I get similar errors on my console when I run the application and while I navigate the JPF:
<May 17, 2005 2:31:17 PM EDT> <Error> <WLW> <000000> <unknown database type foun
d. datbase name = Adaptive Server Anywhere, database driver name = jConnect (TM)
for JDBC (TM)>
(SAME ERROR ABOVE OUTPUTS WITH THE iAnywhere JDBC driver, the values are just different)
AND...
WARNING: The primary key map could not find a primary key parameter under the re
quest key "_autoscope__rowId".
Any feedback on this would be appreciated... I've done a lot of newsgroup searching and google'ing and really haven't found any help...
AnthonyHi. I'm sorry to say the problem is that the RowSet implementation
assumes the driver has implemented all the JDBC 2.0 methods, and
the Sybase ASA driver hasn't so it blows chunks when we call them.
If you can use the ASE jconnect type-4 driver for ASA, maybe it will
work?
Joe
Anthony Mangione wrote:
(First, I apologize for this enourmous post)
First, my specs:
I am using WebLogic Platform 8.1 SP4 on Windows 2000 Professional. I am using iAnywhere's (a Sybase company) Adaptive Server Anywhere 9.0.2 using jConnect 5.5 in one domain and iAnywhere JDBC driver in another.
Second, my problem:
I am using WL Workshop 8.1 to create a RowSet control within a Web Project. I'm then creating a JPF from the RowSet control. I'm following directions from the documentation from the Rapid Application Development class that I took where it references "creating a CRUD application". I'm having different problems depending on the driver I'm using.
With jConnect: When I create the RowSet control, this outputs on my Admin Console:
<May 3, 2005 12:09:47 PM EDT> <Warning> <RMI> <BEA-080003> <RuntimeException thr
own by rmi server: weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getTableName
(I)
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.j
dbc2.tds.RowFormatToken.getTableName has not been completed and should not be ca
lled..
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.jd
bc2.tds.RowFormatToken.getTableName has not been completed and should not be cal
led.
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseRuntimeException(Ljava.lang.S
tring;[Ljava.lang.String;)V(ErrorMessage.java:773)
at com.sybase.jdbc2.utils.Debug.notImplemented(Ljava.lang.Object;Ljava.l
ang.String;)V(Debug.java:387)
at com.sybase.jdbc2.tds.RowFormatToken.getTableName(I)Ljava.lang.String;
(RowFormatToken.java:523)
at weblogic.jdbc.wrapper.ResultSetMetaData_com_sybase_jdbc2_tds_RowForma
tToken.getTableName(I)Ljava.lang.String;(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getTableName(I)Ljava
.lang.String;(ResultSetMetaDataImpl.java:132)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl_WLSkel.invoke(ILwebl
ogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object
;)Lweblogic.rmi.spi.OutboundResponse;(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.
server.RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.sp
i.OutboundResponse;)V(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run()Ljava.lang.Object;(BasicS
erverRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.se
curity.subject.AbstractSubject;Ljava.security.PrivilegedExceptionAction;)Ljava.l
ang.Object;(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.ac
l.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSub
ject;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(SecurityManage
r.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.
InboundRequest;)V(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.Ex
ecuteThread;)V(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest
;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Sourc
e)
<May 3, 2005 12:09:47 PM EDT> <Warning> <RMI> <BEA-080003> <RuntimeException thr
own by rmi server: weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getCatalogNa
me(I)
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.j
dbc2.tds.RowFormatToken.getCatalogName has not been completed and should not be
called..
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.jd
bc2.tds.RowFormatToken.getCatalogName has not been completed and should not be c
alled.
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseRuntimeException(Ljava.lang.S
tring;[Ljava.lang.String;)V(ErrorMessage.java:773)
at com.sybase.jdbc2.utils.Debug.notImplemented(Ljava.lang.Object;Ljava.l
ang.String;)V(Debug.java:387)
at com.sybase.jdbc2.tds.RowFormatToken.getCatalogName(I)Ljava.lang.Strin
g;(RowFormatToken.java:540)
at weblogic.jdbc.wrapper.ResultSetMetaData_com_sybase_jdbc2_tds_RowForma
tToken.getCatalogName(I)Ljava.lang.String;(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getCatalogName(I)Lja
va.lang.String;(ResultSetMetaDataImpl.java:140)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl_WLSkel.invoke(ILwebl
ogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object
;)Lweblogic.rmi.spi.OutboundResponse;(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.
server.RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.sp
i.OutboundResponse;)V(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run()Ljava.lang.Object;(BasicS
erverRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.se
curity.subject.AbstractSubject;Ljava.security.PrivilegedExceptionAction;)Ljava.l
ang.Object;(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.ac
l.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSub
ject;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(SecurityManage
r.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.
InboundRequest;)V(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.Ex
ecuteThread;)V(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest
;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Sourc
e)
<May 3, 2005 12:09:47 PM EDT> <Warning> <RMI> <BEA-080003> <RuntimeException thr
own by rmi server: weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getSchemaNam
e(I)
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.j
dbc2.tds.RowFormatToken.getSchemaName has not been completed and should not be c
alled..
com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.jd
bc2.tds.RowFormatToken.getSchemaName has not been completed and should not be ca
lled.
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseRuntimeException(Ljava.lang.S
tring;[Ljava.lang.String;)V(ErrorMessage.java:773)
at com.sybase.jdbc2.utils.Debug.notImplemented(Ljava.lang.Object;Ljava.l
ang.String;)V(Debug.java:387)
at com.sybase.jdbc2.tds.RowFormatToken.getSchemaName(I)Ljava.lang.String
;(RowFormatToken.java:499)
at weblogic.jdbc.wrapper.ResultSetMetaData_com_sybase_jdbc2_tds_RowForma
tToken.getSchemaName(I)Ljava.lang.String;(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl.getSchemaName(I)Ljav
a.lang.String;(ResultSetMetaDataImpl.java:108)
at weblogic.jdbc.rmi.internal.ResultSetMetaDataImpl_WLSkel.invoke(ILwebl
ogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object
;)Lweblogic.rmi.spi.OutboundResponse;(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.
server.RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.sp
i.OutboundResponse;)V(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run()Ljava.lang.Object;(BasicS
erverRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.se
curity.subject.AbstractSubject;Ljava.security.PrivilegedExceptionAction;)Ljava.l
ang.Object;(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.ac
l.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSub
ject;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(SecurityManage
r.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.
InboundRequest;)V(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.Ex
ecuteThread;)V(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest
;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Sourc
e)
I have created the "stored procedures" in my database by running the sql_asa.sql script as directed by the jConnect 5.5 documentation. The weird thing though is that when I run my test browser, everything seems to be working despite the errors above. Are these errors something to be concerned about?
Now, with the iAnywhere JDBC driver, when I do the same thing, I get no errors on my console during the RowSet control creation, but when I run the application with the test browser and start navigating the JPF, I eventually get two errors in the browser itself:
When I click Insert (from the grid) and then click Cancel, my browser gives this error:
An error has occurred:
An exception occurred in the action begin
[Microsoft][ODBC Driver Manager] Invalid argument value
Afterwards, I click the Back button twice on the test browser and it gives this error:
An error has occurred:
An exception occurred in the action begin
[Sybase][ODBC Driver]Invalid cursor state
The Console reads like this:
<May 17, 2005 4:12:05 PM EDT> <Warning> <WLW> <000000> <Id=top-level; Method=con
trols.Newjcx11.getAllEmployee04(); Failure=java.sql.SQLException: [Microsoft][OD
BC Driver Manager] Invalid argument value [ServiceException]>
WARNING: The primary key map could not find a primary key parameter under the re
quest key "_autoscope__rowId".
<May 17, 2005 4:16:55 PM EDT> <Warning> <WLW> <000000> <Id=top-level; Method=con
trols.Newjcx11.getAllEmployee04(); Failure=java.sql.SQLException: [Sybase][ODBC
Driver]Invalid cursor state [ServiceException]>
In addition, using both drivers, I get similar errors on my console when I run the application and while I navigate the JPF:
<May 17, 2005 2:31:17 PM EDT> <Error> <WLW> <000000> <unknown database type foun
d. datbase name = Adaptive Server Anywhere, database driver name = jConnect (TM)
for JDBC (TM)>
(SAME ERROR ABOVE OUTPUTS WITH THE iAnywhere JDBC driver, the values are just different)
AND...
WARNING: The primary key map could not find a primary key parameter under the re
quest key "_autoscope__rowId".
Any feedback on this would be appreciated... I've done a lot of newsgroup searching and google'ing and really haven't found any help...
Anthony -
Error using Oracle Suggested Backup
Hi, I am a first time DBA. A new 10g database has just been installed and I have just set up Oracle Suggested Backup in Enterprise Manager for the first time. The first run failed and this is the output log:
Any help or suggestion is sincerely appreciated.
Thanks.
Output Log
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jan 5 02:00:19 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected.
SQL> SQL> SQL> Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jan 5 02:00:37 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected to an idle instance.
SQL> SQL> ORACLE instance started.
Total System Global Area 293601280 bytes
Fixed Size 1248600 bytes
Variable Size 100663976 bytes
Database Buffers 184549376 bytes
Redo Buffers 7139328 bytes
Database mounted.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Jan 5 02:00:42 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
connected to target database: ATCFGENP (DBID=36478235, not open)
using target database control file instead of recovery catalog
RMAN>
echo set on
RMAN> run {
2> allocate channel oem_disk_backup device type disk;
3> recover copy of database with tag 'ORA$OEM_LEVEL_0';
4> backup incremental level 1 cumulative copies=1 for recover of copy with tag 'ORA$OEM_LEVEL_0' database;
5> }
allocated channel: oem_disk_backup
channel oem_disk_backup: sid=156 devtype=DISK
Starting recover at 05-JAN-07
no copy of datafile 1 found to recover
no copy of datafile 2 found to recover
no copy of datafile 3 found to recover
no copy of datafile 4 found to recover
no copy of datafile 5 found to recover
no copy of datafile 6 found to recover
no copy of datafile 7 found to recover
no copy of datafile 8 found to recover
no copy of datafile 9 found to recover
R_DAT1.DBF
output filename=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ATCFGENP\DATAFILE\O1_MF_WAIVER_D_2SVY0K24_.DBF tag=ORA$OEM_LEVEL_0 recid=8 stamp=611028161
channel oem_disk_backup: datafile copy complete, elapsed time: 00:00:01
channel oem_disk_backup: starting incremental level 1 datafile backupset
channel oem_disk_backup: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel oem_disk_backup: starting piece 1 at 05-JAN-07
released channel: oem_disk_backup
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ==============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on oem_disk_backup channel at 01/05/2007 02:02:46
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 7127040 bytes disk space from 2147483648 limit
RMAN> exit;
Recovery Manager complete.
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jan 5 02:02:47 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected.
SQL> SQL>
Database altered.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining optionsYour Flashback Recovery Area is not sized properly, follow the suggestions as given by the error message:
Error: ORA-19804 (ORA-19804)
Text: cannot reclaim %s bytes disk space from %s limit
Cause: Oracle cannot reclaim disk space of specified bytes from the
DB_RECOVERY_FILE_DEST_SIZE limit.
Action: There are five possible solutions: 1) Take frequent backup of
recovery area using RMAN. 2) Consider changing RMAN retention
policy. 3) Consider changing RMAN archivelog deletion policy. 4)
Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE. 5) Delete
files from recovery area using RMAN.
Werner -
How can I use LabView to control Altera Scripting
Hi
I have kind of run into a stone wall. I am building a production test executive based on LabView. Part of this process includes loading an FPGA image on to a CFI flash that is in the JTAG chain. I am trying to make so that the production operators don't have to open a second application, select the right FPGA and Flash navigate to the file then load it, then go back to LabView and run the rest of the tests.
Altera has a command line interface that will let me load .cdf file. The problem is that nowhere in Altera’s documentation does it show me how to first load the “Parallel Flash Loader IP” into the FPGA. The flash loader acts as a temporary bridge between the JTAG input and the CFI Flash. I have looked on Altera’s Forums and have had an open ticket with Altera’s support engineers for more than a week.
I can’t be the first person to want to do this; I am hoping someone here has done it before. I would really rather not try to use the activeX controls to manipulate the windows based program.
Any suggestions would be greatly appreciated (Note I am not trying to put LV code on the FPGA/Flash just use LV to control the process)
Thanks in advance
Below is the error message and the script I am using. It almost works just missing the flash loader IP
C:\altera\12.1sp1\qprogrammer\bin>quartus_pgm -c USB-BLASTER -m JTAG S_FPGA.
cdf
Info: *******************************************************************
Info: Running Quartus II 32-bit Programmer
Info: Version 12.1 Build 243 01/31/2013 Service Pack 1 SJ Full Version
Info: Copyright (C) 1991-2012 Altera Corporation. All rights reserved.
Info: Your use of Altera Corporation's design tools, logic functions
Info: and other software and tools, and its AMPP partner logic
Info: functions, and any output files from any of the foregoing
Info: (including device programming or simulation files), and any
Info: associated documentation or information are expressly subject
Info: to the terms and conditions of the Altera Program License
Info: Subscription Agreement, Altera MegaCore Function License
Info: Agreement, or other applicable license agreement, including,
Info: without limitation, that your use is for the sole purpose of
Info: programming logic devices manufactured by Altera and sold by
Info: Altera or its authorized distributors. Please refer to the
Info: applicable agreement for further details.
Info: Processing started: Thu Oct 03 18:16:53 2013
Info: Command: quartus_pgm -c USB-BLASTER -m JTAG S_FPGA.cdf
Info (213045): Using programming cable "USB-Blaster [USB-0]"
Info (209060): Started Programmer operation at Thu Oct 03 18:17:19 2013
Error (209062): Flash Loader IP not loaded on device 1
Error (209053): Unexpected error in JTAG server -- error code 5
Error (209012): Operation failed
Info (209061): Ended Programmer operation at Thu Oct 03 18:17:21 2013
Error: Quartus II 32-bit Programmer was unsuccessful. 3 errors, 0 warnings
Error: Peak virtual memory: 376 megabytes
Error: Processing ended: Thu Oct 03 18:17:21 2013
Error: Elapsed time: 00:00:28
Error: Total CPU time (on all processors): 00:00:03
Solved!
Go to Solution.Hi Eric,
I got it figured out today, basically you have to load the Parallel Flash Loader first into FPGA ram. It is a special .sof file (pfl_epXXXX.sof) based on your FPGA. Code is actually pretty straight forward, using the Sys Exec VI. Use the windows based programmer to generate the .cdf file that identifies your FPGA, attached Flash and .pof file .
Syntax was odd going into Sys Exec. Note the extra "C" in in front of the "quartus_prm.exe" I have no idea why that was needed, but I was getting an error until I just happened to put it in there (Blind Luck :-))
I used a 2 element array going into a four loop
cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG -o P;pfl_epXXXX.sof
cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG S_FPGA.cdf
Defining the working director C:\altera\12.1sp1\qprogrammer\bin
And added match string with "Successfully performed operation" on the output in the loop to make sure everything loaded correctly then adding the array to give me a overall P/F
To anyone doing this same thing Altera's documentation is poor to say the least. It took most of a week to figure this out Not allowed to upload code, so anyone wanting details just post here and I will try to help. This was painful, with lots of lessons learned.
Thanks for the interest though
Best regards John -
Hi,
i am trying to load the data from excel sheet using For each loop container in ssis 2005.
But it gave me the below error:
Error: Opening a rowset for "Sheet1$" failed. Check that the object exists in the database.
[DTS.Pipeline] Error: "component "failed validation and returned validation status "VS_ISBROKEN".
Error: There were errors during task validation.
Could you please let me know the solution
Regards
SqlstudThat message usually means validation has failed;
Have any of the underlying tables changed? Data types, lengths, maybe even column ordering, etc...?
try this..
Right-click on the Data Flow Task and select Properties. Then set DelayValidation =TRUE.
Let us TRY this |
My Blog :: http://quest4gen.blogspot.com/
Thanks ETL.
Everything is fine..(Datatypes,length,orderings etc)
Already i have set
DelayValidation =TRUE.
IS there any other problem?
Regards
Sqlstud -
RC-50004: Fatal: Error occurred in ApplyDatabase: Control file creation fai
Hi guys,
I am cloning and EBS 12.1.3 from one server to another, and when Configuring the target system database server with ''perl adcfgclone.pl dbTier'', I am getting the following error:
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
MOS is saying that it is due to wrong permissions on the /var/tmp/.oracle directory and we should give it the following permissions:
chmod 777 /var/tmp/.oracle
After giving those permissions and rebooting the server , and running the perl adcfgclone.pl dbTier script, I am still having the same problem:
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
This is the contents of the ApplyDBTier log file (since the file exceed 30.000 characters, i am going to post the parts where the errors occur:
[oratest@DLAERPSRV01 ERP_DLAERPSRV01]$ cat ApplyDBTier_05021530.log
Started ApplyDBTier at Thu May 02 15:30:44 WAT 2013
Version:
ApplyDBTier.java : 120.6.12010000.3
ApplyDBTier (prog) -1 true true true...
# Calling ApplyDBTechStack...
Executing runInstallDriver...
Started unzipping files...
Completed runInstallDriver.
Executing home registration for s_db_oh...
instantiate file:
source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adouidb.pl
dest : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
backup : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl to /u02/oratest/db/tech_st/11.1.0/appsutil/out/ouicli20.pl
setting permissions: 700
setting ownership: oratest:dba
instantiate file:
source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/config_ux.tmp
dest : /u02/oratest/db/tech_st/11.1.0/rdbms/lib/config.c
backup : /u02/oratest/db/tech_st/11.1.0/rdbms/lib/config.c to /u02/oratest/db/tech_st/11.1.0/appsutil/out/config21.c
setting permissions: 700
setting ownership: oratest:dba
instantiate file:
source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adlnkoh.sh
dest : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
backup : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh to /u02/oratest/db/tech_st/11.1.0/appsutil/out/adlnkoh20.sh
setting permissions: 700
setting ownership: oratest:dba
Executing script in InstantiateFile:
/u02/oratest/db/tech_st/11.1.0/perl/bin/perl -I /u02/oratest/db/tech_st/11.1.0/perl/lib/5.8.3 -I /u02/oratest/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3 -I /u02/oratest/db/tech_st/11.1.0/appsutil/perl /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
script returned:
Beginning OUI CLI cloning for s_db_ohThu May 2 15:30:46 2013
/u02/oratest/db/tech_st/11.1.0/appsutil/jre/bin/java -classpath /u02/oratest/db/tech_st/11.1.0/appsutil/java:/u02/oratest/db/tech_st/11.1.0/oui/jlib/OraInstaller.jar:/u02/oratest/db/tech_st/11.1.0/appsutil/java/xmlparserv2.jar oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e /u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml -nolink -oaVar s_db_oh -homestub db -log /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/ohclone.log
Running OUI CLI home cloning from within OracleHomeCloner:
/u02/oratest/db/tech_st/11.1.0/oui/bin/runInstaller -clone -silent -force -nolink -waitForCompletion -invPtrLoc /u02/oratest/db/tech_st/11.1.0/admin/oui/ERP_DLAERPSRV01/oraInst.loc ORACLE_HOME=/u02/oratest/db/tech_st/11.1.0 ORACLE_BASE=/u02/oratest/db/tech_st/11.1.0 ORACLE_HOME_NAME=ERP_DB__u02_oratest_db_tech_st_11_1_0 -J-Doracle.installer.noLink=true
Finished OUI CLI cloning for s_db_oh with return code: 0Thu May 2 15:30:56 2013
Executing script in InstantiateFile:
/u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
script returned:
adlnkoh.sh started at Thu May 2 15:30:56 WAT 2013
Log file located at /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/make_05021530.log
Using make file "ins_emagent.mk" for linking SYSMAN utilities...
Error while running adlnkoh.sh.
return code = .16
Please check logfile located at /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/make_05021530.log
.end std out.
.end err out.
Executing Technology Stack Configuration...
Executing runAutoConfig...
Deleting files of type INSTALL
Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/sqlnet.ora
Processing driver file: /u02/oratest/db/tech_st/11.1.0/appsutil/template/addbtmpl.drv
Checking for file: /u02/oratest/db/tech_st/11.1.0/appsutil/install/ERP_DLAERPSRV01/txkConfigDbOcm.pl
File exists
File deleted
Checking for file: /u02/oratest/db/tech_st/11.1.0/dbs/initERP.ora
File exists
File deleted
Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
File exists
File deleted
Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/tnsnames.ora
File exists
File deleted
Testing for RAC specific parameters before running autoconfig
No RAC specific parameters were found, running with CVM
Starting CVM in INSTE8_SETUP mode
Using Context file : /u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml
Attempting to create a back up of the Context file
Created back up file of name :
/u02/oratest/db/tech_st/11.1.0/appsutil/out/ERP_DLAERPSRV01/05021531/ERP_DLAERPSRV01.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
File system template : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /u02/oratest/db/tech_st/11.1.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not Available
Customizations found : None
File system Context file :/u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
===========================================================================
Starting Updates of Context file Thu May 02 15:31:44 WAT 2013
found context version : 120.34.12010000.14
available update version : 120.34.12010000.14
No updates to apply
Starting DB listener with command:
/u02/oratest/db/tech_st/11.1.0/appsutil/scripts/ERP_DLAERPSRV01/addlnctl.sh start ERP
Logfile: /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/addlnctl.txt
You are running addlnctl.sh version 120.1.12010000.4
Starting listener process ERP ...
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 02-MAY-2013 15:32:23
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Starting /u02/oratest/db/tech_st/11.1.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.7.0 - Production
System parameter file is /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
Log messages written to /u02/oratest/db/tech_st/11.1.0/admin/ERP_DLAERPSRV01/diag/tnslsnr/DLAERPSRV01/erp/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
STATUS of the LISTENER
Alias ERP
Version TNSLSNR for Linux: Version 11.1.0.7.0 - Production
Start Date 02-MAY-2013 15:32:23
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
Listener Log File /u02/oratest/db/tech_st/11.1.0/admin/ERP_DLAERPSRV01/diag/tnslsnr/DLAERPSRV01/erp/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
Services Summary...
Service "ERP" has 1 instance(s).
Instance "ERP", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
addlnctl.sh: exiting with status 0
addlnctl.sh: check the logfile /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/addlnctl.txt for more information ...
.end std out.
.end err out.
checking DB Connection...
DEBUG: checkDBConnection in()
ADX Database Utility
getConnection() -->
sDbHost : DLAERPSRV01
sDbDomain : camairco.local
sDbPort : 1523
sDbSid : ERP
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
DEBUG: checkDBConnection out()
Skipping Profile Phase
Skipping Apply Phase
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : DLAERPSRV01
sDbDomain : camairco.local
sDbPort : 1523
sDbSid : ERP
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Thu May 2 15:32:40 WAT 2013
The environment settings are as follows ...
ORACLE_HOME : /u02/oratest/db/tech_st/11.1.0
ORACLE_SID : ERP
TWO_TASK :
PATH : /u02/oratest/db/tech_st/11.1.0/perl/bin:/u02/oratest/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/oratest/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/oratest/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/oratest/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
LD_LIBRARY_PATH : /u02/oratest/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u02/oratest/db/tech_st/11.1.0/lib:/usr/dt/lib:/u02/oratest/db/tech_st/11.1.0/ctx/lib
Executable : /u02/oratest/db/tech_st/11.1.0/bin/sqlplus
The log information will be written to
/u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/adcrdb_ERP.txt
Creating the control file for ERP_DLAERPSRV01 database ...
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 2 15:32:40 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpbitsper
CREATE CONTROLFILE REUSE SET DATABASE "ERP"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter database open resetlogs
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter tablespace TEMP add tempfile '/u02/oratest/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ALTER DATABASE RENAME GLOBAL_NAME TO "ERP.camairco.local"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Connected to an idle instance.
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpbitsper
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ORACLE instance shut down.
Connected to an idle instance.
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpbitsper
CREATE CONTROLFILE REUSE SET DATABASE "ERP"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter database open resetlogs
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter tablespace TEMP add tempfile '/u02/oratest/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ALTER DATABASE RENAME GLOBAL_NAME TO "ERP.camairco.local"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
declare lib_ver varchar2(3);
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ERROR:
ORA-01012: not logged on
Process ID: 0
Session ID: 0 Serial number: 0
Disconnected
exit_code=1
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 2 15:32:42 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Disconnected
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : DLAERPSRV01
sDbDomain : camairco.local
sDbPort : 1523
sDbSid : ERP
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyDatabase.java:635)
at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:473)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:366)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:110)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Unknown Source)
[oratest@DLAERPSRV01 ERP_DLAERPSRV01]$
Please guys, how can I solve this problem?@Hussain Sawwan
Hi Hussain,
After successfully configured the DbTier and AppsTier with their respective post clone scripts the appstier was automatically started at the end.
But now, I can't seem to connect with my IE 9 and Firefow browsers.
Link: http://dlaerpsrv01.camairco.local:8002/OA_HTML/
Contents of the portpool.lst:
***** List of ports allocated based on port pool 2 *****
Database Port : 1523 (EXT_PORT)
RPC Port : 1628
Web SSL Port : 4445
ONS Local Port : 6102
ONS Remote Port : 6202
ONS Request Port : 6502
Web Listener Port : 8002
Active Web Port : 8002 (DUP_PORT)
Forms Port : 9002
Metrics Server Data Port : 9102
Metrics Server Request Port : 9202
JTF Fulfillment Server Port : 9302
MSCA Server Port : 10212-10217
MCSA Telnet Server Port : 10212,10214,10216 (DUP_PORT)
MSCA Dispatcher Port : 10806
Java Object Cache Port : 12347
OC4J JMS Port Range for Oacore : 23010-23014
OC4J JMS Port Range for Forms : 23510-23514
OC4J JMS Port Range for Home : 24010-24014
OC4J JMS Port Range for Oafm : 24510-24514
OC4J JMS Port Range for Forms-c4ws : 26510-26514
OC4J AJP Port Range for Oacore : 21510-21514
OC4J AJP Port Range for Forms : 22010-22014
OC4J AJP Port Range for Home : 22510-22514
OC4J AJP Port Range for Oafm : 25010-25014
OC4J AJP Port Range for Forms-c4ws : 26010-26014
OC4J RMI Port Range for Oacore : 20010-20014
OC4J RMI Port Range for Forms : 20510-20514
OC4J RMI Port Range for Home : 21010-21014
OC4J RMI Port Range for Oafm : 25510-25514
OC4J RMI Port Range for Forms-c4ws : 27510-27514
[root@DLAERPSRV01 appltest]#
Entry in the /etc/hosts in my Win 7 Laptop:
192.168.0.245 dlaerpsrv01.camairco.local dlaerpsrv01
What could be the cause of this problem? It is unfortunate to reach at this point and not being able to connect. -
Getting "Method 'sign_in' does not exist" Error (using Charles)
This may be a bit off the FLEX field, and have to do with Zend Framework's ZEND_AMF class. Unfortunately I haven't been able to dig anything up, and comments posted on Wade Arnolds site have not received any responses, so I thought I'd give it a go here.
My ServiceController Class:
public function loginAction()
$this->_helper->viewRenderer->setNoRender();
$server = new Zend_Amf_Server();
$server->setClass('LoginAmfService', 'LoginService');
$server->setClassMap('CurrentUserVO', 'CurrentUserVO');
$server->setProduction(false);
print($server->handle());
My LoginAmfService class:
class LoginAmfService
* Main login function.
* @param string $name
* @param string $password
* @return CurrentUserVO
public function sign_in($name, $password)
$authAdapter = new Zend_Auth_Adapter_DbTable(Zend_Registry::get('db'), 'users', 'user_name', 'password', 'PASSWORD(?) AND active = 1');
$returnValue = new CurrentUserVO();
$authAdapter->setIdentity(htmlspecialchars($name))
->setCredential(htmlspecialchars($password));
$authResult = $authAdapter->authenticate();
if ($authResult->isValid())
$userArray = $authAdapter->getResultRowObject(array('id', 'first_name', 'last_name', 'title', 'photo'));
$returnValue->first_name = $userArray->first_name;
$returnValue->last_name = $userArray->last_name;
$returnValue->title = $userArray->title;
$returnValue->photo = $userArray->photo;
$returnValue->token = $userArray->id;
return $returnValue;
* Function used to log people off.
public function sign_out()
$authAdapter = Zend_Auth::getInstance();
$authAdapter->clearIdentity();
My SignIn FLEX module (the relevant portions):
<mx:RemoteObject
id="LoginRemote"
destination="login"
source="SignIn"
showBusyCursor="true"
fault="parentDocument.handleFault(event)"
>
<mx:method name="sign_in" result="signin_handle(event)" />
<mx:method name="sign_out" result="signout_handle(event)" />
</mx:RemoteObject>
<mx:Script>
<![CDATA[
import mx.rpc.events.FaultEvent;
import mx.utils.ArrayUtil;
import mx.rpc.events.ResultEvent;
import mx.controls.Alert;
import com.brassworks.ValueObjects.CurrentUserVO;
import mx.events.VideoEvent;
[Bindable]
private var this_user:CurrentUserVO = new CurrentUserVO();
private function mdl_init():void
focusManager.setFocus(txt_username);
private function signin_handle(event:ResultEvent):void
this_user = event.result as CurrentUserVO;
if (this_user.token == null) {Alert.show("Supplied login credentials are not valid. Please try again.");}
else
this.parentApplication.setUser(this.this_user);
private function signout_handle(event:ResultEvent):void
private function sign_in(event:Event):void
try
//Alert.show(txt_name.text + "|" + txt_password.text);
LoginRemote.sign_in(txt_username.text, txt_password.text);
catch (error:Error)
this.parentDocument.handleFault(error);
private function sign_out(event:Event):void
private function show_error(error:Error, s_function:String):void
Alert.show("Method:" + s_function + "\nName: " + error.name + "\nID: " + error.errorID + "\nMessage: " + error.message + "\nStack Trace: " + error.getStackTrace() + "\nError: " + error.toString());
private function handleFault(event:FaultEvent):void
Alert.show(event.fault.faultDetail, event.fault.faultString);
]]>
</mx:Script>
Now, all this is great and good, as it works with Zend Framework 1.7.6. However, when I try to upgrade to 1.7.8 (to take advantage of session management and other bug-fixes), I get the following error (using Charles):
#1 /var/web/htdocs/core/library/Zend/Amf/Server.php(390): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))
#2 /var/web/htdocs/core/application/default/controllers/ServicesController.php(73): Zend_Amf_Server->handle()
#3 /var/web/htdocs/core/library/Zend/Controller/Action.php(503): ServicesController->loginAction()
#4 /var/web/htdocs/core/library/Zend/Controller/Dispatcher/Standard.php(285): Zend_Controller_Action->dispatch('loginAction')
#5 /var/web/htdocs/core/library/Zend/Controller/Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#6 /var/web/htdocs/core/application/bootstrap.php(39): Zend_Controller_Front->dispatch()
#7 /var/web/htdocs/core/public/index.php(5): Bootstrap->runApp()
#8 {main} ?Method "sign_in" does not exist
I have no idea why this would not work anymore. My assumption is that I am not correctly setting up Zend_Amf (but then again, my counter-argument is that it worked before, so ..... ????)
Thanks for any help!
-MikeFor those that are also fighting this issue:
The problem appears to be that the RemoteObject needs to specify the class containing the methods as a source parameter. According to this bug report (http://framework.zend.com/issues/browse/ZF-5168) it is supposed to have been addressed, but apparently has re-emerged in Zend_Amf since version 1.7.7.
Using my example above, I would have to specify the RO as:
<mx:RemoteObject
id="LoginRemote"
destination="login"
source="LoginAmfService"
showBusyCursor="true"
fault="parentDocument.handleFault(event)"
>
<mx:method name="sign_in" result="signin_handle(event)" />
<mx:method name="sign_out" result="signout_handle(event)" />
</mx:RemoteObjecct> -
1. HP Pavilion dm4 XO132AV
2. Windows 7 64-bit
3. No error message
4. No changes were made prior to when the issue occured
5. Question: I am no longer able to use the volume control buttons ( /-/or mute) on my key board in Windows 7Hi,
Try the following.
Download the IDT Audio installer on the link below and save it to your Downloads folder.
http://ftp.hp.com/pub/softpaq/sp50501-51000/sp50856.exe
When done, open windows Control Panel, open Device Manager and open up Sound, Video and Game Controllers. Right click the IDT device and select Uninstall - you should also get a prompt to remove the current driver, tick the box to allow this and then proceed with the uninstall.
When complete, restart the notebook and let Windows fully load. Open your Downloads folder, right click on the IDT installer and select 'Run as Administrator' to start the installation. When this has completed, restart the notebook again.
Regards,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience -
When using the new controls of CVI 7 in my DLL it crash on the DisplayPanel call
I have a CVI DLL that was build under CVI 6. When I recompile it in CVI 7 everything works fine when I load the DLL from my application. But If I add a button on my uir file with the new CVI 7 style (no event code associated, just a plain button) my DLL crash and hang my main application on the DisplayPanel call. If I don't use the new controls (use the classic-style controls) everything works fine. I use LoadPanelEx to load my uir file. The returned panel handle is good (> 0) But when I call DisplayPanel it doesn't show me any error but just crash my DLL and jump back in the DLLMain function saying that my process is detaching and hang my main application.
I am running on Win2k. I have
LabVIEW 7 and LabVIEW 6.0.2 installed also. The main application that calls the DLL is made in Delphi 6.
I have re-installed the run-time engine from the CDs but this didn't do the trick. Is there something else that I must include with my DLL to use thoses new controls styles. The DLL is running from the same place where it was build.Hi,
I have created another cvi DLL and it create the same behavior in my application (crash on DisplayPanel). But if I do a standalone CVI executable with thoses new buttons everything is fine. Also I have created another application(in Delphi) to load the cvi-dll and it works fine in that one. So I would tend to say that it is in my application but on the other hand everything works fine if I don't put thoses LabStyle controls...Weird I know...
In shorts It is just crashing with a specific application but for any UI project that I create. If I don't put thoses buttons everything is ok...Any other advises would be helpful because I'm kind of out of ideas...
Gilles Hache
Maybe you are looking for
-
How to delete apps permanently when changing Apple ID?
I understand this question has been asked before, but I think my situation is slightly different and I think solutions to other threads probably won't apply. I have been using an iPhone 4 and recently bought a iPhone 4S. I also got a new Apple ID.
-
I am trying to compare the 2 Satnav systems on my phone...... Vodafone SatNav gives me 18 month subscription with voice navigation Nokia Maps giives me 3 month subscription withOUT voice nav. (I am only a week or so into the 3 months) If I go to down
-
Hi all, For the Automatic payment run purpose, our affliated companies wants to pay through our company code. How to configure this? ex: 1100 is our co.cd. from 1200 to 1800 is our affiliated companies. If co.cd 1400 able to pay through co.cd1100 for
-
Hey friends, I have a lot of user made procedures built in the program units of forms. Since ia m in a process to make a web server of teh forms application, i wanted to know that would these program units cause any performance problems on the applic
-
Anyone know how Delta Links are stored in a Clustered environment?
We have a situation where we have a clustered EP6 production environment with 4 servers in the load balancer. However, we've found that on just one of the servers the Delta Link between one of our roles and its only workset is missing. Wanted to know