Column Not found error while trying to access databse through JSP+Java Bean
I am trying to acees MS Access 2003 db through JSP using Tomcat 5.0.28.The code for accessing the databse is incorporated in the bean.The jsp only calls the particular method of the bean .
Code for Java Bean:
package ActiveViewer;
import java.sql.*;
import java.util.*;
public class CompanyBean
Connection con;
ResultSet rs=null;
Statement st;
public CompanyBean(){}
public void connect()
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
System.out.println("Here4");
con=DriverManager.getConnection("jdbc:odbc:activeviewer","","");
System.out.println("Here1");
catch (ClassNotFoundException e)
System.out.println("Could not locate driver.");
catch (SQLException e)
System.out.println("An SQL Exception has occured :: "+e);
e.printStackTrace();
catch (Exception e)
System.out.println("An unknown Exception has occured :: "+e);
e.printStackTrace();
public void disconnect()
try
if (con!=null)
con.close();
catch (SQLException e)
System.out.println("An SQL Exception has occured :: "+e);
e.printStackTrace();
public ResultSet select(String username)
if(con!=null)
try
st=con.createStatement();
rs=st.executeQuery("select * from company where username='" + username + "'");
catch (SQLException e)
System.out.println("An SQL Exception has occured :: "+e);
e.printStackTrace();
catch (Exception e)
System.out.println("An Exception has occured while retrieving :: "+e);
e.printStackTrace();
else
System.out.println("Connection to database was lost.");
return rs;
The code for JSP that uses the above bean is:
<%@ page language="java" import="java.sql.*,ActiveViewer.* " contentType="text/html"%>
<jsp:useBean id="conn" scope="session" class="ActiveViewer.CompanyBean" />
<html>
<body>
<% String username=request.getParameter("username");
String password=request.getParameter("password");
System.out.println("username:"+username);
System.out.println("password:"+password);
conn.connect();
ResultSet rs=conn.select(username);
System.out.println("Below select ");
while (rs.next())
String dbusername=rs.getString("username");
String dbpassword=rs.getString("password");
if(dbusername.equals(username) && dbpassword.equals (password))
{ %> out.println("OK");
<% }
else { %>Invalid Username and / or Password.
<br>Clickhere to go back to Login Page.
<% }
} %>
</body>
</html>
I get the following error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Column not found
though the database is not int he same folder as the jsp, the DSN is set correctly to pint to the db location.The jsp does print in stdout file:
Here4 (from connect method above)
Here 1 (from connect method above)
Below Select (from jsp)
This means that the jsp does connect to db but it gives the above error.Also the field name also matches that in the database and data is present in the db too.
All other things like creating package for bean,incorporating the packakage are done.
Can someone please help me with their precious advice?
U're getting this error because there is no field called 'password' in ur database, the field in ur database is named 'cpassword' and not 'password'. So change the statement rs.getString("password"); to rs.getString("cpassword");
Similar Messages
-
Column Not found error while trying to access database through JSP+Java Bea
I am trying to access MS Access 2003 db through JSP using Tomcat 5.0.28.The code for accessing the database is incorporated in the bean.The JSP only calls the particular method of the bean .
Code for Java Bean:
package ActiveViewer;
import java.sql.*;
import java.util.*;
public class CompanyBean
Connection con;
ResultSet rs=null;
Statement st;
public CompanyBean(){}
public void connect()
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
System.out.println("Here4");
con=DriverManager.getConnection("jdbc:odbc:activeviewer","","");
System.out.println("Here1");
catch (ClassNotFoundException e)
System.out.println("Could not locate driver.");
catch (SQLException e)
System.out.println("An SQL Exception has occured :: "+e);
e.printStackTrace();
catch (Exception e)
System.out.println("An unknown Exception has occured :: "+e);
e.printStackTrace();
public void disconnect()
try
if (con!=null)
con.close();
catch (SQLException e)
System.out.println("An SQL Exception has occured :: "+e);
e.printStackTrace();
public ResultSet select(String username)
if(con!=null)
try
st=con.createStatement();
rs=st.executeQuery("select * from company where username='" + username + "'");
catch (SQLException e)
System.out.println("An SQL Exception has occured :: "+e);
e.printStackTrace();
catch (Exception e)
System.out.println("An Exception has occured while retrieving :: "+e);
e.printStackTrace();
else
System.out.println("Connection to database was lost.");
return rs;
The code for JSP that uses the above bean is:
<%@ page language="java" import="java.sql.*,ActiveViewer.* " contentType="text/html"%>
<jsp:useBean id="conn" scope="session" class="ActiveViewer.CompanyBean" />
<html>
<body>
<% String username=request.getParameter("username");
String password=request.getParameter("password");
System.out.println("username:"+username);
System.out.println("password:"+password);
conn.connect();
ResultSet rs=conn.select(username);
System.out.println("Below select ");
while (rs.next())
String dbusername=rs.getString("username");
String dbpassword=rs.getString("password");
if(dbusername.equals(username) && dbpassword.equals (password))
{ %> out.println("OK");
<% }
else { %>Invalid Username and / or Password.
<br>Clickhere to go back to Login Page.
<% }
} %>
</body>
</html>
I get the following error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Column not found
though the database is not int he same folder as the jsp, the DSN is set correctly to pint to the db location.The jsp does print in stdout file:
Here4 (from connect method above)
Here 1 (from connect method above)
Below Select (from jsp)
This means that the jsp does connect to db but it gives the above error.Also the field name also matches that in the database and data is present in the db too.
All other things like creating package for bean in WEB-INF/classes,incorporating the packakage are done.
Can someone please help me with their precious advice?Hi, I too have a problem with an SQL exception, the message is Column not found.
I'm using the sun jdbc odbc driver with access.
the first few lines of the stack trace are
sun.jdbc.odbc.JdbcOdbcResultSet.findColumn(JdbcOdbcResultSet.java:1852)
sun.jdbc.odbc.JdbcOdbcResultSet.getInt(JdbcOdbcResultSet.java:603)
net.homeip.sdaniels.MemberBean.ejbFindByUnamePwd(MemberBean.java:127)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
I am of course sure that the column does infact exist. I can insert into the column no problems. the sql looks like this:
SELECT * FROM Members WHERE uName ='Stewart' AND encPwd='�F2C�3����h�1Y�'
Can any one tell me if there is a common cause to this problem?
Thanks -
Column not found error while populatin a oracle table with ODI USer
Hi,
I am trying to populate a column in a oracle table with the ODI USER name using the function getUser("USER_NAME") in the Mapping column of the Interface, But the interface throwhing an error *Column not found : Supervisor in Statement [Select......]*. but it's working fine with getUser("I_USER') the column is populating the user identifier.
can any one help me out why user is not populating.
ThanksEnclose the call to the getUser api inside single quotes
'<%=getUser("USER_NAME")%>'ID being a number can be used directly but USER_NAME returns a string that needs to be quoted -
"Page not found" error while trying to run a page
Hello all,
I tried to run a page in JDeveloper(9.0.6.6_606) and after the browser page pops up, it is displaying "HTTP 404 : Page not found" error.
Please find the log below:
C:\jdevbin\jdk\bin\javaw.exe -ojvm -classpath C:\jdevbin\j2ee\home\oc4j.jar -mx256m -Dhttp.proxyHost=proxy -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=10.200.152.236|localhost -Xverify:none com.evermind.server.OC4JServer -config C:\jdevhome\jdev\system9.0.3.1.1107\oc4j-config\server.xml
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
[waiting for the server to complete its initialization...]
Embedded OC4J startup time: 7047 ms.
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
Embedded OC4J startup time: 16 ms.
Target URL -- http://10.200.152.236:8988/OA_HTML/runregion.jsp?page=%2Foracle%2Fapps%2Fpos%2Faccount%2Fwebui%2FNonPoInvCreatePG&akAppShortName=POS&akDbcFile=FIN1DEV2&akDevMode=1&akDiag=1&akPassword=pwd4dev2&akRespKey=ISUPPLIER_PORTAL_RESP&akUsername=dpsdx48&JRAD_XML_PATH=C%3A%5Cjdevhome%5Cjdev%5Cmyclasses%5CJRADXML%5C&JRADStartTime=1152606872484
ApplicationServer: appName = bc4j
ApplicationServer: appName = current-workspace-app
ApplicationServer: appName = soap
Error creating the ORB :
Starting an OA Core session ...
ICX DIAGNOSTIC: application_id = 177
ICX DIAGNOSTIC: responsibility_id = 23075
ICX DIAGNOSTIC: security_group_id = 0
ICX DIAGNOSTIC: APPS Web agent = http://app-fin1dev2.albertsons.com:15160/pls/FIN1DEV2/
FIN1DEV2=C384A6C2A84C8E63FAA51365BA91681A;path=/;domain=.albertsons.com
ICX DIAGNOSTIC: mCookieHeader = FIN1DEV2=C384A6C2A84C8E63FAA51365BA91681A;path=/;domain=.albertsons.com
ICX_DIAGNOSTIC: mEncryptedSessionID = C384A6C2A84C8E63FAA51365BA91681A
ICX_DIAGNOSTIC: mSessionID = 687703439
TIME: runregion.sessionBean.createSession [87296 ms]
ICX_DIAGNOSTIC: mTransactionID = 78453
ICX_DIAGNOSTIC: encryptedTransactionID = C974A13EBB894B23
TIME: runregion.sessionBean.createTransaction [9672 ms]
TIME: runregion.rest [0 ms]
Is there anything you think I am missing in the configurations?
Kindly help.I am also using OA Framework Jdeveloper....for ADF BC development.. Please find the log below:-
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config>
E:\jdeveloper\jdevbin\jdk\bin\javaw.exe -client -classpath E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar;E:\jdeveloper\jdevbin\jdev\lib\jdev-oc4j-embedded.jar
-Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true
-Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config
E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
Oct 18, 2007 11:56:47 AM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Oct 18, 2007 11:56:47 AM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\xml.jar (from <library> in
/E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to
/E:/jdeveloper/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it
contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\jazn.jar (from <library> in
/E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to
/E:/jdeveloper/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different
versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /E:/jdeveloper/jdevbin/jdev/appslibrt/jazn.jar) has the same
filename but is not identical to /E:/jdeveloper/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in
E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the
search path of loader default.root:0.0.0.
WARNING: Code-source E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from
WEB-INF/lib/ directory in E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same
filename but is not identical to /E:/jdeveloper/jdevbin/jdev/appslibrt/uix2.jar (from <library> in
/E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it
will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 19594 ms.
Target URL--- http://hydhtcl33997.ad.infosys.com:8988/SRTutorialADFBC-UserInterface-context-root/faces/app/SRList.jspx
07/10/18 11:56:56 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized -
File not found error while trying to generate stub using wsdl2java
Hi
I am facing this peculiar problem while generating the stub thru the wsdl2java command.
It shows series of file not found exception.
What all thing need to be set or taken care while we execute the command . anybody having window script for doing this please share it with me.
Your help is higly appreciated
Thanks
OttranIt could be that the wsdl file is not found if you are invoking this command for a wsdl which is locally existing
Could you send the command and the exception msgs that you are getting
Regards
Mari -
Class not found Error while trying to migrate 8.1 to 9.2
Hi,
i want to move an application / a portal - which works fine with bea portalserver 8.1 - to 9.2, but i get this annoying error: ( even if i comment the definition of the listed listener )
<22.01.2007 10.17 Uhr CET> <Error> <HTTP> <BEA-101163> <Could not load user defi
ned listener: com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListene
r
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
Truncated. see log file for complete stacktrace
>
<22.01.2007 10.17 Uhr CET> <Error> <Deployer> <BEA-149265> <Failure occured in t
he execution of deployment request with ID '1169457318139' for task '1'. Error i
s: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
Truncated. see log file for complete stacktrace
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
Truncated. see log file for complete stacktrace
>
<22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149004> <Failures were dete
cted while initiating distribute task for application 'myApplication'.>
<22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149078> <Stack trace for me
ssage 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
Truncated. see log file for complete stacktrace
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
Truncated. see log file for complete stacktraceHi,
i want to move an application / a portal - which works fine with bea portalserver 8.1 - to 9.2, but i get this annoying error: ( even if i comment the definition of the listed listener )
<22.01.2007 10.17 Uhr CET> <Error> <HTTP> <BEA-101163> <Could not load user defi
ned listener: com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListene
r
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
Truncated. see log file for complete stacktrace
>
<22.01.2007 10.17 Uhr CET> <Error> <Deployer> <BEA-149265> <Failure occured in t
he execution of deployment request with ID '1169457318139' for task '1'. Error i
s: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
Truncated. see log file for complete stacktrace
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
Truncated. see log file for complete stacktrace
>
<22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149004> <Failures were dete
cted while initiating distribute task for application 'myApplication'.>
<22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149078> <Stack trace for me
ssage 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
Truncated. see log file for complete stacktrace
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
Truncated. see log file for complete stacktrace -
Class not found error while accessing a Web Service
Hi All,
Im getting a Class not found error while doing method calls of a third party API.
The required jars(axis.jar) are set in the weblogic 8.1 classpath and I tried putting those jars(axis.jar) in my application lib folder also, but dint help. Please help me with a solution.
I'll paste the exception logs here by
java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
at java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;(Unknown Source)
at java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run()Ljava/lang/Object;(URLClassLoader.java:194)
at jrockit.vm.AccessController.do_privileged_exc(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;I)Ljava/lang/Object;(Unknown Source)
at jrockit.vm.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;(Unknown Source)
Thanks
NoufalHi,
Verify the 3rd party class files names are correctly written in your program. Sometimes wrong case might be the reason.
bye for now
sat -
NetStorage encountered an error while trying to access this
Strange problem with NetStorage. If I log in to NetStorage on Server A I get a listing of my drives from my login script and have no problems accessing any of them. If I log in to Server B I also get a listing of my drives and can access all of them except for the drives on Server A. When I try to access them I get the following error: "NetStorage encountered an error while trying to access this location." Anyone have any ideas on what could be causing the problem?
Here's the particulars:
Server A
OES2 sp3 on SLES 10
Internal Network
Server B
OES2 sp1 on SLES 10
DMZ Network
At first I thought this might be a firewall port issue so I had my network guy open ports 80, 443, and 51080 from server B to server A. Didn't fix the problem.
I have been searching the forums for an answer but, have not found one that helps for this situation. Thanks in advance for your help.Originally Posted by mtracy
Strange problem with NetStorage. If I log in to NetStorage on Server A I get a listing of my drives from my login script and have no problems accessing any of them. If I log in to Server B I also get a listing of my drives and can access all of them except for the drives on Server A. When I try to access them I get the following error: "NetStorage encountered an error while trying to access this location." Anyone have any ideas on what could be causing the problem?
Here's the particulars:
Server A
OES2 sp3 on SLES 10
Internal Network
Server B
OES2 sp1 on SLES 10
DMZ Network
At first I thought this might be a firewall port issue so I had my network guy open ports 80, 443, and 51080 from server B to server A. Didn't fix the problem.
I have been searching the forums for an answer but, have not found one that helps for this situation. Thanks in advance for your help.
So you have NetStorage installed on both Server A and B and if you log in to NetStorage on Server A you can access storage hosted by both Server A and B but if you log in to NetStorage on Server B you can only access storage on Server B?
One obvious comment is that Server B is running an old and now unsupported version of OES2 - the only version of OES2 now supported is OES2 SP3 on SLES10 SP4. Theoretically that shouldn't make a difference but I know that whilst NetStorage may not have visibly changed much over OES versions it has received some bug fixes along the way.
Your comment about firewalls leads me to ask whether that implies you're blocking all the other ports between the two servers? NetStorage uses the XTier framework which in turn uses NCP to access remote servers. NCP uses UDP port 524.
HTH. -
"error while trying to access the service"
I am trying to convert a pdf file to an excel file. I get a completely unhelpful message that says "error while trying to access the service" .
What does this mean and how do i fix it?Hi sd433m,
Thank you for posting on the Adobe forums. If you are already subscribed to the service, kindly try the steps mentioned below.
1) Open Adobe Reader Edit>preferences
2) Go to Adobe Online services>change the email address to the one you have subscribed the service with
3) Go to identity> change the email address there as well
4) Click OK
5) Restart the Adobe Reader and try to access the service again.
If you have not subscribed to the service please do that as, we do not offer trial for Create PDF.
Thanks,
Vikrantt Singh -
It shows the log sequence not found error while all the log seqences exist?
Why the database shows the log sequence not found error while all the log seqences exist?
SQL> select*from v$log_history;
RECID STAMP THREAD# SEQUENCE# FIRST_CHANGE# FIRST_TIM NEXT_CHANGE#
RESETLOGS_CHANGE# RESETLOGS
1 657328345 1 1 519368 13-JUN-08 543434
519368 13-JUN-08
2 657370849 1 2 543434 13-JUN-08 567705
519368 13-JUN-08
3 657373012 1 3 567705 14-JUN-08 570408
519368 13-JUN-08
RECID STAMP THREAD# SEQUENCE# FIRST_CHANGE# FIRST_TIM NEXT_CHANGE#
RESETLOGS_CHANGE# RESETLOGS
4 657373039 1 4 570408 14-JUN-08 570464
519368 13-JUN-08
5 657374623 1 5 570464 14-JUN-08 573505
519368 13-JUN-08
6 657375015 1 6 573505 14-JUN-08 573856
519368 13-JUN-08
RECID STAMP THREAD# SEQUENCE# FIRST_CHANGE# FIRST_TIM NEXT_CHANGE#
RESETLOGS_CHANGE# RESETLOGS
7 657376537 1 1 570465 14-JUN-08 573543
570465 14-JUN-08
8 657377084 1 2 573543 14-JUN-08 575109
570465 14-JUN-08
9 657377094 1 3 575109 14-JUN-08 575114
570465 14-JUN-08
RECID STAMP THREAD# SEQUENCE# FIRST_CHANGE# FIRST_TIM NEXT_CHANGE#
RESETLOGS_CHANGE# RESETLOGS
10 657377103 1 4 575114 14-JUN-08 575121
570465 14-JUN-08
11 657377106 1 5 575121 14-JUN-08 575123
570465 14-JUN-08
11 rows selected.
RMAN> flashback database to sequence=10 thread=1;
Starting flashback at 14-JUN-08
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=155 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of flashback command at 06/14/2008 13:03:15
RMAN-20206: log sequence not found in the repositoryApart from the output being hardly readable (please refer to the FAQ in the right upper hand corner how to post output), I don't see any sequence 10.
You seem to mistake the column recid for the sequence column.
The sequences are listed in -not surprisingly- the sequence# column.
Sybrand Bakker
Senior Oracle DBA -
Page not found error while opening sharepoint 2013 site
page not found error while opening sharepoint 2013 site
Please help me on thisHi,
Please check the log file to find more information about this issue. The path of the log file is:
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS.
In addition, please make sure the URL of the site is correct.
Please check whether you could access other pages in the problematic site.
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
EDA Error while trying to access the personal details.
Hi All,
A new user(employee) is assigned with EDA responsibility to view/update his personal details and bank details.
The user is able to view & update the bank details. But he is not able to open the personal details page. He is getting the following error while trying to access the personal detail link.
HR_BASIC_DETAILS_WEB.GET_READ_ONLY_INFORAMTION: ORA-20002: 3123: Duplicate attribute 'DISPLAY_MARITAL_STATUS' could not be created for item 'HRSSA/28012061'.
All users except the new user, dont have this issue.
Oracle Application Version : 11.5.9
Could someone help me on this.Hi Girish,
Do you find out the solution to this issue? We having a similar issue with our Enterprise Portal using Apache and Siteminder Agent? -
Operation not found error while calling AM methods from managed bean
Hi,
operation not found error while calling AM methods from managed bean.
written a method with two parameters in AM.
exposed the method in AM client interface
in the page bindings added the method in method action ..left empty in the value fields of the parameters.
calling the method from managed bean like below
String userNameVal = (String)userName.getValue();
String passwordVal = (String)password.getValue();
OperationBinding operationBinding =
ADFUtils.findOperation("verifyLogin");
operationBinding.getParamsMap().put("userName",userNameVal);
operationBinding.getParamsMap().put("password",passwordVal);
operationBinding.execute();
i am getting operation verifyLogin not found error.Please suggest me something to do.
Thanks
SatyaHi vlsn,
Can you try with the below code
// in your backing bean
OperationBinding operation = bindings.getOperationBinding("verifyLogin");
//Put your both parameters here
operation.getParamsMap().put("parameter_name1", parameterValue1);
operation.getParamsMap().put("parameter_name2", parameterValue2);
operation.execute();
if (operation.getResult() != null) {
Boolean result = (Boolean) operation.getResult();
and share the result.
regards,
Rajan -
Page not found Error while open install app
I go through the all necessary steps to configure app domain & steps to create SharePoint hosted app still got 'page not found error'
The final app URL that i got afte r open install app -"http://app-125e72eedbe144.domain name:9922/FirstApp/Pages/Default.aspx?SPHostUrl=http%3A%2F%2Fsp1%3A9922&SPLanguage=en-US&SPClientTag=6&SPProductNumber=15.0.4420.1017&SPAppWebUrl=http%3A%2F%2Fapp-125e72eedbe144.domainname%3A9922%2FFirstApp"
i don't understand where i did mistake can any one help me to resolve that issue.Hi,
According to your post, my understanding is that you get the “page not found” error while you open install app.
You need to have a SharePoint Web Application that is bonded to port 80 without a host header.
If you want to run it on https (SSL) then you also need to add an extra binding for SharePoint Hosted Apps to work.
For more information, please refer to:
Troubleshooting SharePoint 2013 Hosted Apps on-premises: “404 not found” error
404 & 401 Errors with the App Management Service - SharePoint
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
I keep getting an error while trying to access the service
I keep getting an error while trying to access the service
Can you try to use ExportPDF directly on the website https://cloud.acrobat.com/exportpdf
[topic moved to ExportPDF forum]
Maybe you are looking for
-
Cs5 bridge has option..open in raw converter...greyed out
i just purchased and installed cs5, love the updates i have seen yet.....but cs5 bridge has stopped opening raw files, it actually never did open the first one..the option to open in camera raw is greyed out...i can use photoshop to open raws, one at
-
RI.BA for italian bank system - automatic payments
Hi , I want to ask if someone can send me a documentation how i can create a txt file to send an automatic payments to bank regarding customer invoice. in italy there is "ri.ba" that i dont know how i can translate in english. How i can create a file
-
Updation of db tables through Function module
Using the below funtion module i need to update an internal table with 3 fields (Fkkop-opbel,fkkop-xblnr,fkkop-opord) into their respective tables CALL FUNCTION 'FKK_DOCUMENT_CHANGE' EXPORTING I_OPBEL = v_OPBEL I_UPD
-
Help: Symbols disappear when I copy a State. Fireworks CS6
When I copy a state at least one of the symbols on the copied state disapear. I tried reinstalling fireworks but after a while the Problem appeard again. I'm using the latest Version of Fireworks on a Mac (10.9.1). That's really annoying and time con
-
Is it possible to have some apps in my MacBook Air created retrospectively?
I bought MacBook Air in Jun 2014 through a friend and when I look at the installed applications, most of them seem to be created and modified in 2012 and 2013. Is it possible that I've been duped by my friend into buying an used/second hand Mac?