Weblogic Global JNDI Access Error
Attempting to access a global JNDI entry from a clustered Weblogic 12c environment. Any attempt to perform a lookup of an object listed under the global JNDI entry (java:global) causes a java.lang.AssertionError exception with a "Context may not be null" message. Lookup of other JNDI objects works as expected.
The following is a copy of remote test code used to reproduce the problem. It iterates through the root NameClass pairs of the InitialContext retrieved. When it performs a lookup for the "java:global" entry it throws the mentioned exception & message. It has been tested with and without SECURITY_ details with no difference.
Hashtable<String, Object> environmentValues = new Hashtable<String, Object>();
environmentValues.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
environmentValues.put(Context.PROVIDER_URL, "t3://ServerName:port");
environmentValues.put(Context.SECURITY_PRINCIPAL, "userId");
environmentValues.put(Context.SECURITY_CREDENTIALS, "password");
try {
InitialContext jndi = new InitialContext(environmentValues);
NamingEnumeration<NameClassPair> namingEnumerations = jndi.list("");
while(namingEnumerations.hasMore()) {
NameClassPair ncp = namingEnumerations.next();
System.out.println(ncp.getName() + " - " + ncp.getClassName());
Object obj = jndi.lookup(ncp.getName());
System.out.println("Object '" + ncp.getName() + "' lookup successful.");
} catch(Exception e) {
e.printStackTrace();
}
Attempting to access a global JNDI entry from a clustered Weblogic 12c environment. Any attempt to perform a lookup of an object listed under the global JNDI entry (java:global) causes a java.lang.AssertionError exception with a "Context may not be null" message. Lookup of other JNDI objects works as expected.
The following is a copy of remote test code used to reproduce the problem. It iterates through the root NameClass pairs of the InitialContext retrieved. When it performs a lookup for the "java:global" entry it throws the mentioned exception & message. It has been tested with and without SECURITY_ details with no difference.
Hashtable<String, Object> environmentValues = new Hashtable<String, Object>();
environmentValues.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
environmentValues.put(Context.PROVIDER_URL, "t3://ServerName:port");
environmentValues.put(Context.SECURITY_PRINCIPAL, "userId");
environmentValues.put(Context.SECURITY_CREDENTIALS, "password");
try {
InitialContext jndi = new InitialContext(environmentValues);
NamingEnumeration<NameClassPair> namingEnumerations = jndi.list("");
while(namingEnumerations.hasMore()) {
NameClassPair ncp = namingEnumerations.next();
System.out.println(ncp.getName() + " - " + ncp.getClassName());
Object obj = jndi.lookup(ncp.getName());
System.out.println("Object '" + ncp.getName() + "' lookup successful.");
} catch(Exception e) {
e.printStackTrace();
}
Similar Messages
-
Access Error Using Webservice In Weblogic 7
Hi,
I am getting the following error in Weblogic 7 sp1 when I call a client, which
invokes
a web service application (A). The application will then connect through the t3
protocol to call another application (B) returning some data.
<Dec 17, 2002 4:51:53 PM CST> <Notice> <WebLogicServer> <000365> <Server state
c
hanged to RUNNING>
<Dec 17, 2002 4:51:53 PM CST> <Notice> <WebLogicServer> <000360> <Server started
in RUNNING mode>
<Dec 17, 2002 5:29:41 PM CST> <Error> <JTA> <110201> <User [<anonymous>] is not
authorized to invoke startRollback on a transaction branch.>
weblogic.management.NoAccessRuntimeException: Access not allowed for subject:
pr
incipals=[], on ResourceType: ServerConfig Action: execute, Target: lookupServer
Runtime
at weblogic.management.internal.Helper$IsAccessAllowedPrivilegeAction.ru
n(Helper.java:2034)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:744)
at weblogic.management.internal.Helper.isAccessAllowed(Helper.java:1865)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
ServerImpl.java:923)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unkn
own Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:785)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
I have set the necessary user credentials when I create the Initial context
and I am able to get the remote reference of the Session Bean in
application B.
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL,SOME_URL);
ht.put(Context.SECURITY_PRINCIPAL,"system");
ht.put(Context.SECURITY_CREDENTIALS,"weblogic1234");
Hope someone could shed some light on this.
Thanks a lot.Hi,
I am getting a different error message now:
<Dec 18, 2002 6:00:43 PM CST> <Error> <EJB> <010026> <Exception during commit
of
transaction 3:ff0ca3f858e3d95b: javax.transaction.SystemException: Commit can
b
e issued only when there are no requests awaiting responses. Currently there is
one such request at weblogic.transaction.internal.TransactionImpl.abort(TransactionImpl.j
ava:989)
at weblogic.transaction.internal.TransactionImpl.enforceCheckedTransaction(TransactionImpl.java:1499)
at weblogic.transaction.internal.TransactionImpl.checkIfCommitPossible(TransactionImpl.java:1477)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:230)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)
at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:278)
at com.ejb.sb.SBAccountBean_6uugr6_EOImpl.getAccountDetails(SBAccountBean_6uugr6_EOImpl.java:212)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.webservice.component.slsb.SLSBInvocationHandler.invoke(SLSBInvocationHandler.java:84)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:78)
at weblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java:131)
at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:539)
at weblogic.webservice.core.DefaultWebService.invoke(DefaultWebService.java:264)
at weblogic.webservice.server.servlet.ServletBase.serverSideInvoke(ServletBase.java:362)
at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:269)
at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:346)
at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:237)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
--------------- nested within: ------------------
weblogic.transaction.RollbackException: Commit can be issued only when there are
no requests awaiting responses. Currently there is one such request - with nested
exception:
[javax.transaction.SystemException: Commit can be issued only when there are no
requests awaiting responses. Currently there is one such request]
at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1561)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:284)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)
at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:278)
at com.ejb.sb.SBAccountBean_6uugr6_EOImpl.getAccountDetails
(SBAccountBean_6uugr6_EOImpl.java:212)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.webservice.component.slsb.SLSBInvocationHandler.invoke(SLSBInvocationHandler.java:84)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:78)
at weblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java:131)
at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:539)
at weblogic.webservice.core.DefaultWebService.invoke(DefaultWebService.java:264)
at weblogic.webservice.server.servlet.ServletBase.serverSideInvoke(ServletBase.java:362)
at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:269)
at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:346)
at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:237)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
> -
WebLogic 12c Global JNDI issue
I'm using WebLogic to deploy our application and we have a standalone application to invoke remote EJB, so we use global jndi.
format:
java:global/[<application-name>]/<module-name>/<bean-name>!<fully-qualified-bean-interface-name>
Here is some description about the global JNDI
1.<aplication-name> defaults to the bundle name (.ear file name) without the bundle extension. This can be overridden in application.xml. Also, <application-name> is applicable only if the bean is packaged inside a .ear file.
2.<module-name> defaults to bundle name (.war or .jar) without the bundle extension. Again, this can be overridden in ejb-jar.xml.
3.<bean-name> defaults to the unqualified class name of the bean. However, if @Stateful or @Stateless or @Singleton uses the name attribute, then the value specified there will be used as the bean name.
But when I deploy our ear to webogic by autodeploy, weblogic just doesn't obey this rule, the application-name was generated by weblogic, not from application.xml in ear. This cause our standalone application need to configure the application-name if we want to keep compatible with JBoss 7.
Why doesn't weblogic use the application-name from application.xml? Is this an issue?In the EAR file deployed what is the application-name in application.xml generated by Maven?
Is <generateApplicationXml>true</generateApplicationXml>? -
Weblogic crash after "Illegal memory access" error
hi all. Weblogic application crashed after receiving an illegal memory access error. any thoughts....
Error Message: Illegal memory access. [54]
Signal info : si_signo=11, si_code=2 si_addr=0xb5778850
Version : BEA JRockit(R) R27.4.0-90_CR358515-94243-1.5.0_12-20080118-1154-l
inux-ia32
The Weblogic Admin Console will not start since the Jrockit crash. I've attached the log from the failed startup.
<Jan 8, 2009 11:13:22 AM MDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.la
ng.ClassFormatError: com/bea/xbean/store/Xobj$DocumentXobj : invalid LineNumberTable pc at 27684
java.lang.ClassFormatError: com/bea/xbean/store/Xobj$DocumentXobj : invalid LineNumberTable pc at 27684
log from weblogic admin stdout:
Java home=/ps_opt/wl92/jrockit_150_12
Java command line=java -jrockit -Xms256m -Xmx256m -Dweblogic.Chunksize=65536 -Djava.util.logging.config.file=/ps_opt/wl92/webserv/myserver/applications/peoplesoft/logging.properties -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Dweblogic.Name=WebLogicAdmin -Dps_vault=/ps_opt/wl92/webserv/myserver/psvault -Djavax.net.ssl.trustStore=/ps_opt/wl92/webserv/myserver/keystore/pskey -Dweblogic.ProductionModeEnabled=true -Djava.security.policy=/ps_opt/wl92/weblogic92/server/lib/weblogic.policy -Dssl.debug=false -Dps_home=/ps_opt/wl92 weblogic.Server
Java options=-jrockit -Xms256m -Xmx256m -Dweblogic.Chunksize=65536
<Jan 8, 2009 11:13:20 AM MDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/ps_opt/wl92/weblogic92/platform/lib/p13n/p13n-schemas.jar:/ps_opt/wl92/weblogic92/platform/lib/p13n/p13n_common.jar:/ps_opt/wl92/weblogic92/platform/lib/p13n/p13n_system.jar:/ps_opt/wl92/weblogic92/platform/lib/wlp/netuix_common.jar:/ps_opt/wl92/weblogic92/platform/lib/wlp/netuix_schemas.jar:/ps_opt/wl92/weblogic92/platform/lib/wlp/netuix_system.jar:/ps_opt/wl92/weblogic92/platform/lib/wlp/wsrp-common.jar:/ps_opt/wl92/webserv/myserver/lib/endorsed/xalan.jar:/ps_opt/wl92/webserv/myserver/lib/pluto-1.0.1.jar:/ps_opt/wl92/webserv/myserver/lib/portlet-api-1.0.jar:/ps_opt/wl92/webserv/myserver/lib/ps_patch.jar>
<Jan 8, 2009 11:13:21 AM MDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R27.4.0-90_CR358515-94243-1.5.0_12-20080118-1154-linux-ia32 from BEA Systems, Inc.>
<Jan 8, 2009 11:13:22 AM MDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.ClassFormatError:
com/bea/xbean/store/Xobj$DocumentXobj : invalid LineNumberTable pc at 27684
java.lang.ClassFormatError: com/bea/xbean/store/Xobj$DocumentXobj : invalid LineNumberTable pc at 27684
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.bea.xbean.store.Cur$Locations.<clinit>(Cur.java:482)
at com.bea.xbean.store.Locale.<init>(Locale.java:168)
at com.bea.xbean.store.Locale.getLocale(Locale.java:235)
>
<Jan 8, 2009 11:13:22 AM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Jan 8, 2009 11:13:22 AM MDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Jan 8, 2009 11:13:22 AM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>Hi Nicolas.
What Weblogic 9.2 patch is it ?92MP3 no patches
What Peopletools version is it ?849.09
What OS ?Linux 2.6.9-67.0.20.ELsmp
Is it crashed on the startup ? yes it fails when we try to startup the admin server
let me know thanks -
Continous HTTP access error logged when using Weblogic Cluster
I am not sure if this is the right forum for this discussion, but here we go anyways.
We have created a Weblogic Cluster with one Administration Server and up to 12 Managed Servers. Our Weblogic version is 9.2.
SSL has been enabled for all Servers and the HTTP Listen Ports are all turned off. The cluster and all applications are working fine and communicating over HTTP as expected, however the logs grow 3MB+ per hour due to an error that repeatedly logged. This error appears to be an attempt by an internal Weblogic process to access some resource over HTTP.
Here are the various messages received in the logs. There are 3 messages logged per error occurred.
This first log message is from the domain log (I replaced the hostname/IP info with <PEER>):
####<Aug 11, 2008 12:08:46 PM GMT+00:00> <Warning> <Security> <PEER> <ManagedServer7> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1218456526962> <BEA-090475> <Plaintext data for protocol HTTP was received from peer <PEER> instead of an SSL handshake.>
This second log message is from the ".out" log from the Administration Server:
####<Aug 11, 2008 12:08:58 PM GMT+00:00> <Info> <ServletContext-/bea_wls_internal> <PEER> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1218456538658> <000000> <HTTPClntLogin: Login rejected with code: 'Failed', reason: java.net.ProtocolException: HTTP tunneling is disabled
at weblogic.rjvm.http.HTTPServerJVMConnection.acceptJVMConnection(HTTPServerJVMConnection.java:88)
at weblogic.rjvm.http.TunnelLoginServlet.service(TunnelLoginServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
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:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3231)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
This last message is from the access.log for the Admin Server:
<PEER> - - [11/Aug/2008:12:08:58 +0000] "GET /bea_wls_internal/HTTPClntLogin/a.tun?wl-login=https+dummy+WLREQS+9.2.2.0+dummy+%0A&rand=8038349418070109915&AS=2048&HL=19 HTTP/1.1" 200 1337
I have searched all over trying to find a solution but with no luck thus far. I have seen some posts about turning on HTTPTunneling and this does seem to prevent the error from occurring, but this is not a solution for us.
I could really use some help in understanding whats going on and trying to resolve this issue. Our client will make a big deal out of this and will want a solution. Any help would be greatly appreciated.
Message was edited by:
user651444Hi,
We had this problem with WebLogic Platform 9.2 MP2, running on Solaris. The patch CR344429 worked fine. The corresponding patch for 9.2 MP3 is CR370091. You can get these patches through Oracle Support.
A couple of points:
1. We did not have to set StartScriptEnabled=true for the patch to work. We use the SSL Niode manager.
2. Using the t3: protocol (-Dweblogic.management.server=t3://<admin server listen address>:<admin server listen port) does stop these exceptions, but causes these warning messages to appear in the administration server log file:
<Warning> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <...> <BEA-002637> <Failed to register a disconnect listener because of weblogic.rmi.extensions.DisconnectMonitorUnavailableException: Could not register a DisconnectListener for [weblogic.rmi.internal.BasicRemoteRef ......>
<Warning> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <...> <BEA-002637> <Failed to register a disconnect listener because of weblogic.rmi.extensions.DisconnectMonitorUnavailableException: Could not register a DisconnectListener for [weblogic.rmi.internal.BasicRemoteRef ......>
Hope these comments help. -
Seeburger AS2: FileStore access error
Hello all,
we have follow error in our adapter which we try to send it out to our partner:
Delivering the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: FileStore:FileStore access error: File store error: failed to create directory '/usr/sap/<SAPSID>/SYS/global/seeburger/filestore'.
Unfortunately I know where the error raised up, because the SAPSID is wrong and asign to the old server.
Knows anybody, where we can maintain this variable ?
ThanksIf this is not a production system, you may try redeploying seeburger AS2 adapter and modules sda files.
-
Data access error during workflow- import in FDM
I am trying to perform import in FDM.But getting 'Data Access Error'.
Any suggestions on this......Hello,
I have the same problem.
Can anyone help.
Here is the log error:
** Begin FDM Runtime Error Log Entry [2009-01-30-12:44:44] **
ERROR:
Code......................................... -2147217900
Description.................................. ORA-06550: line 2, column 13:
PL/SQL: ORA-00913: too many values
ORA-06550: line 2, column 1:
PL/SQL: SQL Statement ignored
ORA-06550: line 3, column 13:
PL/SQL: ORA-00913: too many values
ORA-06550: line 3, column 1:
PL/SQL: SQL Statement ignored
ORA-06550: line 4, column 13:
PL/SQL: ORA-00913: too many values
ORA-06550: line 4, column 1:
PL/SQL: SQL Statement ignored
ORA-06550: line 5, column 13:
PL/SQL: ORA-00913: too many values
ORA-06550: line 5, column 1:
PL/SQL: SQL Statement ignored
ORA-06550: line 6, column 13:
PL/SQL: ORA-00913: too many values
ORA-06550: line 6, column 1:
PL/SQL: SQL Statement ignored
ORA-06550: line 7, column 13:
PL/SQL: ORA-00913: too many values
ORA-06550: line 7, column 1:
PL/SQL: SQL Statement ignored
ORA-06550: line 8, column 13:
PL/SQL: ORA-00913: too many values
ORA-06550: line 8, column 1:
PL/SQL: SQL Statement ignored
ORA-06550: line 9, column 13:
PL/SQL: ORA-00913: too many values
ORA-06550: line 9, column 1:
PL/SQL: SQL Statement ignored
ORA-06550: line 10, column 13:
BEGIN
INSERT INTO tWselhou3242683022 (PartitionKey, CatKey, PeriodKey, DataView, Account, Entity, ICP, UD1, UD2, UD3, UD4, UD5, UD6, UD7, UD8, UD9, UD10, UD11, UD12, UD13, UD14, UD15, UD16, UD17, UD18, UD19, UD20, Desc1, Desc2, Attr1, Attr2, Attr3, Attr4, Attr5, Attr6, Attr7, Attr8, Attr9, Attr10, Attr11, Attr12, Attr13, Attr14, MemoKey, Amount ) VALUES (752, 12, '20090131', 'YTD', 'Required Field Missing.', 'Required Field Missing.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 45645656,00);
INSERT INTO tWselhou3242683022 (PartitionKey, CatKey, PeriodKey, DataView, Account, Entity, ICP, UD1, UD2, UD3, UD4, UD5, UD6, UD7, UD8, UD9, UD10, UD11, UD12, UD13, UD14, UD15, UD16, UD17, UD18, UD19, UD20, Desc1, Desc2, Attr1, Attr2, Attr3, Attr4, Attr5, Attr6, Attr7, Attr8, Attr9, Attr10, Attr11, Attr12, Attr13, Attr14, MemoKey, Amount ) VALUES (752, 12, '20090131', 'YTD', 'Required Field Missing.', 'Required Field Missing.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 456546564,00);
INSERT INTO tWselhou3242683022 (PartitionKey, CatKey, PeriodKey, DataView, Account, Entity, ICP, UD1, UD2, UD3, UD4, UD5, UD6, UD7, UD8, UD9, UD10, UD11, UD12, UD13, UD14, UD15, UD16, UD17, UD18, UD19, UD20, Desc1, Desc2, Attr1, Attr2, Attr3, Attr4, Attr5, Attr6, Attr7, Attr8, Attr9, Attr10, Attr11, Attr12, Attr13, Attr14, MemoKey, Amount ) VALUES (752, 12, '20090131', 'YTD', 'Required Field Missing.', 'Required Field Missing.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 4556465454,00);
INSERT INTO tWselhou3242683022 (PartitionKey, CatKey, PeriodKey, DataView, Account, Entity, ICP, UD1, UD2, UD3, UD4, UD5, UD6, UD7, UD8, UD9, UD10, UD11, UD12, UD13, UD14, UD15, UD16, UD17, UD18, UD19, UD20, Desc1, Desc2, Attr1, Attr2, Attr3, Attr4, Attr5, Attr6, Attr7, Attr8, Attr9, Attr10, Attr11, Attr12, Attr13, Attr14, MemoKey, Amount ) VALUES (752, 12, '20090131', 'YTD', 'Required Field Missing.', 'Required Field Missing.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 546,00);
INSERT INTO tWselhou3242683022 (PartitionKey, CatKey, PeriodKey, DataView, Account, Entity, ICP, UD1, UD2, UD3, UD4, UD5, UD6, UD7, UD8, UD9, UD10, UD11, UD12, UD13, UD14, UD15, UD16, UD17, UD18, UD19, UD20, Desc1, Desc2, Attr1, Attr2, Attr3, Attr4, Attr5, Attr6, Attr7, Attr8, Attr9, Attr10, Attr11, Attr12, Attr13, Attr14, MemoKey, Amount ) VALUES (752, 12, '20090131', 'YTD', 'Required Field Missing.', 'Required Field Missing.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 654,00);
INSERT INTO tWselhou3242683022 (PartitionKey, CatKey, PeriodKey, DataView, Account, Entity, ICP, UD1, UD2, UD3, UD4, UD5, UD6, UD7, UD8, UD9, UD10, UD11, UD12, UD13, UD14, UD15, UD16, UD17, UD18, UD19, UD20, Desc1, Desc2, Attr1, Attr2, Attr3, Attr4, Attr5, Attr6, Attr7, Attr8, Attr9, Attr10, Attr11, Attr12, Attr13, Attr14, MemoKey, Amount ) VALUES (752, 12, '20090131', 'YTD', 'Required Field Missing.', 'Required Field Missing.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 546,00);
INSERT INTO tWselhou3242683022 (PartitionKey, CatKey, PeriodKey, DataView, Account, Entity, ICP, UD1, UD2, UD3, UD4, UD5, UD6, UD7, UD8, UD9, UD10, UD11, UD12, UD13, UD14, UD15, UD16, UD17, UD18, UD19, UD20, Desc1, Desc2, Attr1, Attr2, Attr3, Attr4, Attr5, Attr6, Attr7, Attr8, Attr9, Attr10, Attr11, Attr12, Attr13, Attr14, MemoKey, Amount ) VALUES (752, 12, '20090131', 'YTD', 'Required Field Missing.', 'Required Field Missing.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 654,00);
INSERT INTO tWselhou3242683022 (PartitionKey, CatKey, PeriodKey, DataView, Account, Entity, ICP, UD1, UD2, UD3, UD4, UD5, UD6, UD7, UD8, UD9, UD10, UD11, UD12, UD13, UD14, UD15, UD16, UD17, UD18, UD19, UD20, Desc1, Desc2, Attr1, Attr2, Attr3, Attr4, Attr5, Attr6, Attr7, Attr8, Attr9, Attr10, Attr11, Attr12, Attr13, Attr14, MemoKey, Amount ) VALUES (752, 12, '20090131', 'YTD', 'Required Field Missing.', 'Required Field Missing.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 564,00);
INSERT INTO tWselhou3242683022 (PartitionKey, CatKey, PeriodKey, DataView, Account, Entity, ICP, UD1, UD2, UD3, UD4, UD5, UD6, UD7, UD8, UD9, UD10, UD11, UD12, UD13, UD14, UD15, UD16, UD17, UD18, UD19, UD20, Desc1, Desc2, Attr1, Attr2, Attr3, Attr4, Attr5, Attr6, Attr7, Attr8, Attr9, Attr10, Attr11, Attr12, Attr13, Attr14, MemoKey, Amount ) VALUES (752, 12, '20090131', 'YTD', 'Required Field Missing.', 'Required Field Missing.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 564,00);
END;
Procedure.................................... clsDataManipulation.fExecuteDML
Component.................................... upsWDataWindowDM
Version...................................... 931
Thread....................................... 268
IDENTIFICATION:
User......................................... selhouda
Computer Name................................ FR900VM0044
App Name..................................... test
Client App................................... WebClient
CONNECTION:
Provider..................................... ORAOLEDB.ORACLE
Data Server..................................
Database Name................................ PARHYPT3.WORLD
Trusted Connect.............................. False
Connect Status.. Connection Open
GLOBALS:
Location..................................... LOCATION4
Location ID.................................. 752
Location Seg................................. 6
Category..................................... WLCAT
Category ID.................................. 12
Period....................................... janv - 2009
Period ID.................................... 31/01/2009
POV Local.................................... False
Language..................................... 1033
User Level................................... 1
All Partitions............................... True
Is Auditor................................... False
** Begin FDM Runtime Error Log Entry [2009-01-30-12:44:44] **
ERROR:
Code......................................... -2147217900
Description.................................. Data access error.
Procedure.................................... clsImpDataPump.fProcessSQLInsertValues
Component.................................... upsWObjectsDM
Version...................................... 931
Thread....................................... 268
IDENTIFICATION:
User......................................... selhouda
Computer Name................................ FR900VM0044
App Name..................................... test
Client App................................... WebClient
CONNECTION:
Provider..................................... ORAOLEDB.ORACLE
Data Server..................................
Database Name................................ PARHYPT3.WORLD
Trusted Connect.............................. False
Connect Status.. Connection Open
GLOBALS:
Location..................................... LOCATION4
Location ID.................................. 752
Location Seg................................. 6
Category..................................... WLCAT
Category ID.................................. 12
Period....................................... janv - 2009
Period ID.................................... 31/01/2009
POV Local.................................... False
Language..................................... 1033
User Level................................... 1
All Partitions............................... True
Is Auditor................................... False
** Begin FDM Runtime Error Log Entry [2009-01-30-12:44:44] **
ERROR:
Code......................................... -2147217900
Description.................................. Data access error.
Procedure.................................... clsImpDataPump.fImportTextFile
Component.................................... upsWObjectsDM
Version...................................... 931
Thread....................................... 268
IDENTIFICATION:
User......................................... selhouda
Computer Name................................ FR900VM0044
App Name..................................... test
Client App................................... WebClient
CONNECTION:
Provider..................................... ORAOLEDB.ORACLE
Data Server..................................
Database Name................................ PARHYPT3.WORLD
Trusted Connect.............................. False
Connect Status.. Connection Open
GLOBALS:
Location..................................... LOCATION4
Location ID.................................. 752
Location Seg................................. 6
Category..................................... WLCAT
Category ID.................................. 12
Period....................................... janv - 2009
Period ID.................................... 31/01/2009
POV Local.................................... False
Language..................................... 1033
User Level................................... 1
All Partitions............................... True
Is Auditor................................... False
** Begin FDM Runtime Error Log Entry [2009-01-30-12:44:44] **
ERROR:
Code......................................... -2147217900
Description.................................. Data access error.
Procedure.................................... clsImpProcessMgr.fLoadAndProcessFile
Component.................................... upsWObjectsDM
Version...................................... 931
Thread....................................... 268
IDENTIFICATION:
User......................................... selhouda
Computer Name................................ FR900VM0044
App Name..................................... test
Client App................................... WebClient
CONNECTION:
Provider..................................... ORAOLEDB.ORACLE
Data Server..................................
Database Name................................ PARHYPT3.WORLD
Trusted Connect.............................. False
Connect Status.. Connection Open
GLOBALS:
Location..................................... LOCATION4
Location ID.................................. 752
Location Seg................................. 6
Category..................................... WLCAT
Category ID.................................. 12
Period....................................... janv - 2009
Period ID.................................... 31/01/2009
POV Local.................................... False
Language..................................... 1033
User Level................................... 1
All Partitions............................... True
Is Auditor................................... False -
I am trying to load data into FDM and has "Data Access Error". The error log is following:
** Begin FDM Runtime Error Log Entry [2013-05-09 08:57:13] **
ERROR:
Code............................................. -2147217900
Description...................................... Incorrect syntax near the keyword 'Right'.
BULK INSERT Right..tWswang35856364529183 FROM N'\\usd1w436c\fdmdata\Right\Inbox\tWswang35856364529183.tmp' WITH (FORMATFILE = N'\\usd1w436c\fdmdata\Right\Inbox\tWswang35856364529183.fmt',DATAFILETYPE = N'widechar',ROWS_PER_BATCH=6185,TABLOCK)
Procedure........................................ clsDataManipulation.fExecuteDML
Component........................................ upsWDataWindowDM
Version.......................................... 1112
Thread........................................... 36452
IDENTIFICATION:
User............................................. swang
Computer Name.................................... USD1W436C
App Name......................................... Right
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... gsd1w027t,1404
Database Name.................................... Right
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... PSLoad
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... FDMActual
Category ID...................................... 12
Period........................................... Jan - 2013
Period ID........................................ 1/31/2013
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2013-05-09 08:57:14] **
ERROR:
Code............................................. -2147217900
Description...................................... Data access error.
Procedure........................................ clsImpDataPump.fImportTextFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 36452
IDENTIFICATION:
User............................................. swang
Computer Name.................................... USD1W436C
App Name......................................... Right
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... gsd1w027t,1404
Database Name.................................... Right
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... PSLoad
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... FDMActual
Category ID...................................... 12
Period........................................... Jan - 2013
Period ID........................................ 1/31/2013
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2013-05-09 08:57:14] **
ERROR:
Code............................................. -2147217900
Description...................................... Data access error.
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 36452
IDENTIFICATION:
User............................................. swang
Computer Name.................................... USD1W436C
App Name......................................... Right
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... gsd1w027t,1404
Database Name.................................... Right
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... PSLoad
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... FDMActual
Category ID...................................... 12
Period........................................... Jan - 2013
Period ID........................................ 1/31/2013
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
Your input is appreciated!OK, so this is definitely bulk copy related and most likely file/path access as that is the case 9/10 times.
Off the top of my head, you could check security one of two ways:
From SQL Box
- RDP (Remote Desktop) or physically log onto the SQL box using the credentials of the account specified when you setup the app
- Attempt to open the folder specified in the error log
- ** If you get an error it should give you an idea as to why it is failing**
From Machine that is sharing the folder
- Open Windows Explorer and locate the folder
- Right click, select properties, then security
- Confirm that the user specified in the FDM config has directory access
Other suggestions
- Put Filemon / procmon on the SQL Box and monitor while you push the file through FDM. At some point filemon/procmon will show an attempt ot access the files specified in the bulk insert. This will give you a very good idea as to what is happening.
- Check the Eventlog on the box with the file share. Go to the Security section of logs. You should see a failed security attempt from the SQL box / username. -
Data Access Error when Importing a Multi-Load Text File
I am able to upload a file that contains 12 months of data with the following tags (and one line of data as example):
EnterpriseToHFM07-09
Actual
01/31/2007
12
R,N,P
C,A,V,V,V,V,V,V,V,V,V,V,V,V
FR.PADJ_LC,BRREV,372803807,355714043,405412167,414395204,453025792,449832777,524375729,419567061,411230079,469840787,432445947,384835661
After uploading, click on Import and receive a Data Access Error. Log is below. Any input is greatly appreciated.
** Begin FDM Runtime Error Log Entry [2010-12-02 10:13:02] **
ERROR:
Code............................................. -2147217900
Description...................................... Cannot bulk load because the file "\\gsd4w023c\FDMAPPS\FDMT\Inbox\tWmpus54349283242113.tmp" could not be opened. Operating system error code 5(Access is denied.).
BULK INSERT FDMDev1..tWmpus54349283242113 FROM N'\\gsd4w023c\FDMAPPS\FDMT\Inbox\tWmpus54349283242113.tmp' WITH (FORMATFILE = N'\\gsd4w023c\FDMAPPS\FDMT\Inbox\tWmpus54349283242113.fmt',DATAFILETYPE = N'widechar',ROWS_PER_BATCH=2221,TABLOCK)
Procedure........................................ clsDataManipulation.fExecuteDML
Component........................................ upsWDataWindowDM
Version.......................................... 1112
Thread........................................... 8324
IDENTIFICATION:
User............................................. 12345
Computer Name.................................... GSD980
App Name......................................... FDMT
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLNCLI10
Data Server...................................... FDMDS
Database Name.................................... FDMDev1
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... EnterpriseToHFM07-09
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Jan - 2007
Period ID........................................ 1/31/2007
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2010-12-02 10:13:02] **
ERROR:
Code............................................. -2147217900
Description...................................... Data access error. File=fr_HypEnt_data_2007.DAT
Procedure........................................ clsMPLoader.fMultiImportText
Component........................................ upsWMPLoaderDM
Version.......................................... 1112
Thread........................................... 8324
IDENTIFICATION:
User............................................. mpus54964
Computer Name.................................... GSD400U
App Name......................................... FDMT
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLNCLI10
Data Server...................................... FDMDS
Database Name.................................... FDMDev1
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... EnterpriseToHFM07-09
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... Actual
Category ID...................................... 12
Period........................................... Jan - 2007
Period ID........................................ 1/31/2007
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... FalseYes.
Please take the time to flag this response as helpful or correct if it helps you address the issue
http://forums.oracle.com/forums/ann.jspa?annID=1184
Edited by: TonyScalese on Dec 2, 2010 11:52 AM -
how to fix this error message The backup disk image “/Volumes/AirPort Disk/FARES DEL VALLE’s iMac.sparsebundle” could not be accessed (error -1).
The troubleshooting C17 is the specific article.
http://pondini.org/TM/Troubleshooting.html
This is generally a Lion error.. and you will need 5.6 utility to get access to the disk area.
So download the real utility. Run it instead of v6 toy version.
http://support.apple.com/kb/DL1482
Go to the manual setup, disk page and click on disconnect all users.. that will unmount all users connected to the disk and allow it to start working. But there are a number of other issues that are possible cause. Pondini lists some of them. -
Anyone please help me solve this error. I am trying to deploy an application on weblogic 12c i am getting an error but the same application gets successfully deployed on weblogic 11g. The error is
An error occurred during activation of changes, please see the log for details.
Exception preparing module: EJBModule(gsCallbackAdapterLGTX-ejb.jar) An error occurred while reading the deployment descriptor. The error was: Error processing annotations: .
[EJB:015001]Unable to link class com.aep.gridsmart.adapters.lgtx.buslogic.deliver.xform.AdapterTransfomerDeliverSession in Jar /appl/oracle/middleware/WLS/12.1.1.0/user_projects/domains/Gridsmart/servers/ManagedServer1/tmp/_WL_user/gsCallbackAdapterLGTX/34vz4d/gsCallbackAdapterLGTX-ejb.jar : java.lang.NoClassDefFoundError: com/aep/gridsmart/adapter/deliver/CommonAdapterDeliverBeanCotton please let me know what is the mistake i am
doingThe following path does not exist.
C:\Sun\AppServer7\domains\domain1\server1\
applications\j2ee-modules\task_1\WEB-INF\web.xml -
Data access error while running the script in fdm workbench script editor
Hello Experts,
I have been getting the error when i run the script in script editor of fdqm workbench client.this is the error
-2147467259 Data access error and it is navigating the error at line 30 about this script "Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)"
Please revert me asap where i should load the data from peoplesoft to one of my planning database through fdm.
Thanks in advance...Hi,
Thanks for your suggestion's here i am going to run the datapump script so while i am running in workbench it is throwing data access error.So as you guy's suggested i created one import format and added this script to that import format which is added to one of my location even it is throwing the same error.I am getting the error at this sentence "strWorkTableName" I want to know what is this where it reflect's?So my question is Is there any difference while running data pump or integration script.Please let me know a detailed navigation steps to run this script's with out data access error to run these kind of scripts.
Note:Again my target is to load the data to planning database through fdqm which i am doing through sql statement's.
Suggest your valuable suggestion's
Thanks in advance...
I am getting the error at this sentence "strWorkTableName" I want to know what is this where it reflect's? -
'Data Access Error' while trying to delete period using Table Editor in FDM
Hi,
I'm trying to delete a period that has been entered wrongly using Tools->Table Editor option.
But when I try to 'Update Grid' after deleting the Period,I get 'Data Access Error'.
Could any one let me know how to solve the error.
Thanks in advanceHi Kelly,
There is no data that is entered in that period.The data will be entered for that period next month.
POV is also not set to that period,but still the problem persists.
Thanks -
Illegal access error at runtime
Hi,
I am getting an illegal access error while trying to call a method.
- Class1 tries to call method on Class2.
- Method has package visibility
- Both classes are in same package.
- Class1 is being invoked by a class in a Web Application which is
in a completely different package. Class1 gets invoked properly
and then instantiates Class2. It then tries to call the method on
Class2.
- Compiler is compiling successfully i.e. no compile time errors
Any clues?
Env:
JDK 1.4.2_01
App Server Tomcat 4.0.6
Thanks
Reg
AashishHi,
I am getting an illegal access error while trying to
call a method.
- Class1 tries to call method on Class2.
- Method has package visibility
- Both classes are in same package.
- Class1 is being invoked by a class in a Web
Application which is
in a completely different package. Class1 gets
s invoked properly
and then instantiates Class2. It then tries to call
l the method on
Class2.
- Compiler is compiling successfully i.e. no compile
time errors
Any clues?
Env:
JDK 1.4.2_01
App Server Tomcat 4.0.6
Thanks
Reg
AashishThe problem is the Class1 and Class2 are being loaded by different classloaders. Because of this, they are considered to be in different packages by the VM, and hence the IllegalAccessError.
To correct this, make sure both classes are only available in a single classloader context. So if these classes are only used by the WebApp, include them in a jar in WEB-INF/lib or WEB-INF/classes..
If yyou need access to these across multiple webapps, or by some other non-webapp classes, place them in the /common/lib directory for Tomcat.
Whatever you do, MAKE SURE THEY AREN'T avaialble in BOTH! Which is what appears to be the problem now. -
Hi there,
I am building a large application in LabVIEW 2013. I use a Web Service Server in LabVIEW to communicate to other systems. All in all the new Web Service functions in LV2013 work pretty fine and Web Services are easy to implement. In case any Web Service is unknown or parameters (in the URL) are wrong, it returnsto the client a default error message (like: "Access Error: 404 -- Not Found" or "Access Error: 400 -- Bad Request"). Is there a possibility to change this default messages and its format (all answers in my application are in JSON, but errors appear in HTML)? I really need this feature.
I spent a lot of time in the internet for finding an answer - but it seems that I am the first who need this feature. Thank you very much for any ideas.
Attachments:
AnswerOk.PNG 4 KB
BadRequest.PNG 6 KBHi Andy,
I found a workaround: I added some additional resources using a link "http://localhost:8079/"NAME"/:x/:x/:x/:x/:x/:x/:x/:x/:x/:x/:x/:x/:x/:x/:x/:x" for each type (PUT, GET, POST, DELETE) where I handle the error message with the "Set HTTP Response Code VI"
Attachments:
ws_error.PNG 9 KB
Maybe you are looking for
-
Hi All, Is there a free, nonflash slideshow photogallery that easily integrates into iweb? Read, "Easily". Thanks.
-
HELP New Install CS3.3 on a MAC
HI, I have a Mac freash out the box it has OX 10.5 and I tried to install CS3.3 upgrade on it but all it did was install fireworks and Pro 9. my question Do I have to have CS3 on my Mac first then use the up grade CD to upgrade should the up grade ha
-
Load balancing on an applicaton with multi-ports
One of our application open 5 ports and other 4 management ports. the ports can not be ranged. to load balancing this, I did: make seperate contents rules for every port. and all of them use aca. Please advice me : 1. how can I group all the ports in
-
How do I automatically load a page from a Flash intro?
I've created an intro Flash movie for my website and have two questions: 1) Once the movie has run its course, how do I automatically get the next swf file (home.swf) to automatically load after it? I am using Flash CS3 and will be using Dreamweaver
-
Why is screen turning off randomly?
For some reson or another, My Macbook Pro will be running fine, and depending on my actions (mostly using FCPX or Preview) the screen will shut off and go completely black, not dim cuz I tryied the brightness keys they do nothing. and the keyboard ba