Pcipsy: cannot load driver in solaris 10
on a Sun SPARC Enterprise T5120 server install patches some details from 142909-17 kernel patch them, 144300-01 ln, cp patch, patch 145006-03 webmin and utilities patch 119254-76 and reboot the server to load the installed new patches could not start well and I mark the following error:
pcipsy: can not load driver
pcipsy: can not load driver
Can not load drivers for / pci @ 0 / pci @ 0 / pci @ 2 / scsi @ 0 / disk @ 0,0: a
in name_to_major driver appears as:
pcipsy 111
in driver_aliases the following appears:
pcipsy pci
pcipsy "pci108e, 8000"
pcipsy "pci108e, a000"
pcipsy "pci108e, a001"
pcipsy "pciclass, 060000"
I mirror the OS with svm, which try to restart the server again is to uninstall these patches installed starting in failsafe mode and mount a part of patchrm mirror and run the patch can not be uninstalled.
any idea.
You start by looking in Sun's Hardware Compatibility List (HCL) for Solaris.
[http://www.sun.com/bigadmin/hcl/data/sol/|http://www.sun.com/bigadmin/hcl/data/sol/]
In there, you will see that you have three choices for the 8139x chipset.
You let the NIC be recognized natively during the OS installation (it just works), or you can use Realtek's driver from their web site, or you can use the third-party drivers hosted on Masayuki Murayama's site.
The downloads from Realtek and from the Murayama site include README files with instructions.
Similar Messages
-
Cannot load driver COM.ibm.db2.jdbc.app.DB2Driver
Hi ,
I need help on this matter and will really appreciate.
I have installed Jdeveloper 11g and Weblogic 11gR1 on windows. I am trying to configure my weblogic server for JDBC-Datasourse to connect to DB2 and get this error.
cannot load driver COM.ibm.db2.jdbc.app.DB2Driver
This is how my classpath and path looks
classpath :.;C:\Program Files\JDEdwards\BPMBroker\JRE\1.3\lib\ext\QTJava.zip;C:\Program Files\Java\jdk1.6.0_20\lib\tools.jar;C:\Program Files\Java\jdk1.6.0_20\lib\dt.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Sun\db2java.zip;C:\Sun\COM\ibm\db2\jdbc\app\DB2Driver.class;C:\Program Files\IBM\WebSphere\AppServer\derby\lib\deprecated\db2jcc.jar;C:\Program Files\IBM\WebSphere\AppServer\derby\lib\deprecated\db2jcc_license_cu.jar;
path : C:\Program Files\Java\jdk1.6.0_20\bin;C:\Sun\db2java.zip;
I don't know what to do and everytime i try to test my connection i get this error .
Please help.
Thank youI added Driver Classname =com.ibm.db2.jcc.DB2Driver
and now it no longer gives me cannot load driver COM.ibm.db2.jdbc.app.DB2Driver.
But now i am getting
Execution failed due to a distribution protocol error that caused deallocation of the conversation. A DRDA Data Stream Syntax Error was detected. Reason: 0x1 DB2ConnectionCorrelator: null
com.ibm.db2.jcc.b.cb.l(cb.java:1207)
com.ibm.db2.jcc.b.cb.c(cb.java:357)
com.ibm.db2.jcc.b.cb.v(cb.java:1440)
com.ibm.db2.jcc.b.db.a(db.java:42)
com.ibm.db2.jcc.b.b.e(b.java:1165)
com.ibm.db2.jcc.b.b.b(b.java:1090)
com.ibm.db2.jcc.b.b.q(b.java:925)
com.ibm.db2.jcc.b.b.a(b.java:665)
com.ibm.db2.jcc.b.b.a(b.java:654)
com.ibm.db2.jcc.b.b.<init>(b.java:293)
com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:165)
com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:505)
com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:450)
sun.reflect.GeneratedMethodAccessor196.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
Please help.
Thanks -
Hi,
I have a T1000 that had some patches applied to it using the update manager. Upon rebooting, I get an error saying "pxb_bcm cannot load driver"
and then it says it can't load the root file system.
Any pointers on how to resolve this?
Thanks,
DaveBoot the machine into single user using a cdrom or jumpstart, mount the root filesystem under /a and then try to remove the patch by using patchrm, aka.
patchrm -R /a 118833-24
.. at least if you have patch 118833-24 installed, if you have a lower version you should try and upgrade it to this version.
.7/M. -
Hi All,
I have installed Postgres db in my local system. I have created new datasource in weblogic server and tried testing the connection, but I am getting the errror
Cannot load driver: org.postgresql.Driver
Can some one help me on this, whether i need to add any JDBC jar file to the lib folder in weblogic.
Thanks in advance
Cheers
Venkatyou have to add the driver jar to the WebLogic classpath. See the startWebLogic script to see how the classpath is created.
-
Cannot load driver for printer
got a new computer and cannot load my hp printer. it will not find driver
http://h30434.www3.hp.com/t5/Printer-Networking-and-Wireless/Want-Good-Answers-Ask-Good-Questions/td...
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP -
HP Laserjet 4100N - Cannot Load Driver or Print
My Laserjet 4100N is on our LAN. We have never had any problems with it at all.
We installed Snow Leopard yesterday.
We now cannot get any of our Macs to print.
The only "driver" loaded: "ADOBE PDF 9.0-1"
When in the "Print & Fax" control panel, we try to add a printer, the "default" appears, which is "Adobe PDF 9.0-1."
When we try to choose "other" a list of drivers comes up. We select the proper driver, but nothing works.
The printer is configured for DHCP.
We do not understand the "IP" option at all.
The entire print & fax interface presents a cryptic mystery to the user, a la Windows. 10.5 was far better.
We are at a loss as to what to do.Thank you, though this does seem a step backwards for Apple.
I mean, maybe they should have done away with Appletalk, I don't know, but I found nothing anywhere that told me that or that explained what any of the terminology in the "IP" printer setup meant, etc.
Also, my router currently assigns an IP address to the Printer via DHCP, which I've always found convenient. I guess that's all over with. Will Apple publish something that helps us non-techies through the process for each printer on a LAN?
Seems very Microsoft to me. -
SOA WebLogic : Cannot load JDBC driver class
Hi, I'm new to this Oracle SOA World. Currently I'm trying to configure environment on my system. I found a very useful document to install all related SOA component to my system, the document name was 'Quick Start Guide for Oracle® SOA Suite 11gR1 (11.1.1.5.0)'. I did all the steps written in the document and have installed all the components successfully, component including Database, Jdevelper, WebLogic Server, RCU, SOA suite, service bus, all are installed successfully.
But when I'm trying to Configure Application Server (start -> Oracle SOA 11g-Home1), at one step 'Configure JDBC Component Schema' , here I'm getting this message
* The driver class listed below was not found in product installation
vendor: Derby
Driver: org.apache.derby.jdbc.clientdriver
A Test will not be performed on any database connections using this driver
In addition, when i just ignore this message and continue installation, after installation when i run weblogic server then it gives error and gets terminated
here is weblogic server log:
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
Listening for transport dt_socket at address: 8453
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transpo
rt=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms512m -Xmx
1024m -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.
security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Xveri
fy:none -Xverify:none -da:org.apache.xmlbeans... -ea -da:com.bea... -da:javeli
n... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbcons
ole... -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE
~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dcom
mon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apach
e.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=
C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~2 -Djrockit.optfile=C:\Oracle\MIDDLE~
1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.
dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~2\config\FMWCON~1\servers\AdminSe
rver -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~2\con
fig\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~1\USER_P~1\domains\BAS
E_D~2\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\MIDDLE~1\USER_P~1\
domains\BASE_D~2\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\
Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~2\config\fmwconfig\jps-config.xml -Dorac
le.deployed.app.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~2\servers\AdminSe
rver\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirector
y=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\O
RACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.md
s.net.protocol"|"oracle.fabric.common.classloaderurl.handler"|"oracle.fabric.com
mon.uddiurl.handler"|"oracle.bpm.io.fs.protocol -Dweblogic.jdbc.remoteEnabled=f
alse -da:org.apache.xmlbeans... -Dsoa.archives.dir=C:\Oracle\Middleware\Oracle_
SOA1\soa -Dsoa.oracle.home=C:\Oracle\Middleware\Oracle_SOA1 -Dsoa.instance.home=
C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~2 -Dtangosol.coherence.clusteraddress
=227.7.7.9 -Dtangosol.coherence.clusterport=9778 -Dtangosol.coherence.log=jdk -D
javax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dwebl
ogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=t
rue -Djavax.net.ssl.trustStore=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrus
t.jks -Dem.oracle.home=C:\Oracle\Middleware\oracle_common -Djava.awt.headless=tr
ue -Dums.oracle.home=C:\Oracle\Middleware\Oracle_SOA1 -Dweblogic.management.disc
over=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dwe
blogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifes
t_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_c
lasspath weblogic.Server
Listening for transport dt_socket at address: 8453
<2012-mar-02 kl 21:14 CET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE
Provider self-integrity check for better startup performance. To enable this ch
eck, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<2012-mar-02 kl 21:14 CET> <Info> <Security> <BEA-090906> <Changing the default
Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable th
is change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<2012-mar-02 kl 21:14 CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLog
ic Server with Java HotSpot(TM) Client VM Version 19.1-b02 from Sun Microsystems
Inc.>
<2012-mar-02 kl 21:14 CET> <Info> <Management> <BEA-141107> <Version: WebLogic S
erver 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
<2012-mar-02 kl 21:14 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state
changed to STARTING>
<2012-mar-02 kl 21:14 CET> <Info> <WorkManager> <BEA-002900> <Initializing self-
tuning thread pool>
<2012-mar-02 kl 21:14 CET> <Notice> <Log Management> <BEA-170019> <The server lo
g file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServe
r\logs\AdminServer.log is opened. All server side log events will be written to
this file.>
<2012-mar-02 kl 21:14 CET> <Notice> <Security> <BEA-090082> <Security initializi
ng using security realm myrealm.>
<2012-mar-02 kl 21:14 CET> <Warning> <oracle.as.jmx.framework.MessageLocalizatio
nHelper> <J2EE JMX-46041> <The resource for bundle "oracle.jrf.i18n.MBeanMessage
Bundle" with key "oracle.jrf.JRFServiceMBean.checkIfJRFAppliedOnMutipleTargets"
cannot be found.>
<2012-mar-02 kl 21:14 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state
changed to STANDBY>
<2012-mar-02 kl 21:14 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state
changed to STARTING>
<2012-mar-02 kl 21:15 CET> <Critical> <JTA> <BEA-110482> <A logging last resourc
e failed during initialization. The server cannot boot unless all configured log
ging last resources (LLRs) initialize. Failing reason:
weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class:
org.apache.derby.jdbc.ClientDriver
weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class:
org.apache.derby.jdbc.ClientDriver
at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:3
01)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(Connect
ionEnvFactory.java:75)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionE
nvFactory.java:131)
at weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactor
y(ConnectionPool.java:712)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.
java:235)
Truncated. see log file for complete stacktrace
>
<2012-mar-02 kl 21:15 CET> <Error> <Deployer> <BEA-149205> <Failed to initialize
the application 'wlsbjmsrpDataSource' due to error weblogic.application.ModuleE
xception: .
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep
loymentCallbackFlow.java:159)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.resourcepool.ResourceSystemException: Cannot load dri
ver class: org.apache.derby.jdbc.ClientDriver
at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:3
01)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(Connect
ionEnvFactory.java:75)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionE
nvFactory.java:131)
at weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactor
y(ConnectionPool.java:712)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.
java:235)
Truncated. see log file for complete stacktrace
>
<2012-mar-02 kl 21:16 CET> <Alert> <OSB Security> <BEA-387068> <There is no PKI
credential mapper provider configured in your security realm. Service key provid
er management will be disabled. Configure a PKI credential mapper provider if yo
u need service provider support. This is typically the case if you have Oracle S
ervice Bus proxy services with web service security enabled or outbound 2-way SS
L connections.>
<2012-mar-02 kl 21:16 CET> <Warning> <Coherence> <BEA-000000> <Oracle Coherence
3.6.0.4 (member=n/a): Local address "127.0.0.1" is a loopback address; this clus
ter node will not connect to nodes located on different machines>
<2012-mar-02 kl 21:17 CET> <Warning> <J2EE> <BEA-160140> <Unresolved optional pa
ckage references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.applcore.mod
el, Specification-Version: 0.1, Implementation-Version: 11.1.1.0.0, referenced f
rom: C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\
tmp\_WL_user\usermessagingserver\a7bt7z]. Make sure the referenced optional pack
age has been deployed as a libraryHi:
try placing the jars that represent ur driver, here
For both Windows and Linux, you must perform the following steps:
Drop the vendor-specific driver JAR files to the user_projects/domains/soainfra/lib directory.
Drop the vendor-specific driver JAR files to the <Weblogic_Home>/server/lib.
Edit the classpath to include the vendor-specific jar file in <Weblogic_HOME>/common/bin/commEnv.sh
This info was copied, from here: http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_db.htm#CHDBEJDC
Hope this helps
best -
This is the error message that I am getting on a Solaris 10 sparc server
scsi: no major number
cannot load drivers for /pci@400.....
Can't load the root filesystem
Type 'go' to resume
{0} ok
Is there a way for me to correct this issue. It looks like I am missing a scsi driver to boot up the server? Is there a way to boot into single user mode, mount the filesystem and rediscover the hardware, etc.....First i guess you have to verify that you can find the disks with a probe-scsi-all
next you can boot it of a CD-rom/dvd into single-user:
boot cdrom -s
.. or similar into single-user from a jumpstart image:
boot net -s
Then you can mount the root disk under something such as:
/mnt
and rebuild the config with:
devfsadm -R /mnt
be careful if you have a mirrored filesystem though, you don't want to update just one of the mirrors without first breaking the mirror..
.7/M. -
I cannot load Maverick on my iMac HD. It reports that my HD is used for Time Machine backups and will not load to that drive. I do not use this drive for backups. I use an external 1 TB WD My Book for backups as well as Super Duper Backups. Can anyone offer advice. Thanks.
Welcome to Apple Support Communities
You have got the "Backups.backupdb" folder in the root level of your hard drive. This is the folder used by Time Machine to save backups to, and the OS X Mavericks installer thought that your hard drive is being used to store Time Machine backups
To fix this, open a Finder window, select the Go menu (on the menu bar) > Go to Folder, and type:
Then, delete "Backups.backupdb" and empty the Trash. Finally, open the Mavericks installer from the Applications folder and follow the steps -
Java.sql.SQLException: Cannot load JDBC driver class 'null'
Hi,
I am a beginner of using jdbc, i use the tomcat4.1.x, mysql3.23.54 and it's jdbc driver 2.0.14. I place the drive <in jar file> in tomcat/commons/lib and configure the server.xml, web.xml and some testing coding. But there are some error like the following:
java.sql.SQLException: Cannot load JDBC driver class 'null'
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:529)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:312)
at foo.DBTest.init(DBTest.java:18)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:48)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
of course its some of the error code and there are more.
Why I have this problems and how can I fix it? Can someone help me??
Thanks,
Tong
I place my test.jsp at tomcat/webapps/DBTest and DBTest.java at tomcat/webapps/DBTest/WEB-INF/classes/foo
additional of the tomcat/conf/server.xml
<Resource name="TestDB" auth="Container" type="javax.sql.DataSource" description="MySQL TestDB"/>
<ResourceParams name="TestDB">
<parameter><name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<parameter><name>maxActive</name><value>10</value></parameter>
<parameter><name>maxIdle</name><value>1</value></parameter>
<parameter><name>maxWait</name><value>10000</value></parameter>
<parameter><name>username</name><value>javauser</value></parameter>
<parameter><name>password</name><value>javadude</value></parameter>
<parameter>
<name>driverClassName</name>
<value>org.gjt.mm.mysql.Driver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
</parameter>
</ResourceParams>
tomcat/webapps/DBTest/WEB-INF/web.xml :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>MySQL Test App</description>
</web-app>Post the part of your code that loads the driver and connects. My guess is you are using a variable for the name of the driver and the variable has not been set to anything(intially set to null).
Thanks
Cardwell -
Java.sql.SQLException: Cannot load JDBC driver
THis topic has been discussed many many times but I still not able to connect to Oracle 8i from my servlet using Tomcat 4.1.12 on hp-ux and java1.3
I always got: java.sql.SQLException: Cannot load JDBC driver class 'null'
In server.xml:
<Context Path="/MyApp" docBase="MyApp" debug="0" reloadable="true" >
<Resource name="jdbc/ora" auth="Container" type="javax.sql.DataSource"/> <ResourceParams name="jdbc/ora" >
<parameter>
<name>username</name>
<value>myname</value>
</parameter>
<parameter> <name>password</name>
<value>mypassword</value>
</parameter>
<parameter> <name>driverClassName</name>
<value>oracle.jdbc.driver.OracleDriver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:oracle:thin:@myhostname:1521:ora</value>
</parameter> </ResourceParams>
</Context>
In MyApp/WEB-INF/web.xml:
<resource-ref>
<res-ref-name>jdbc/ora</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
The Oracle jdbc jar file classes12.jar is under common/lib in Tomcat's home. read Permission is there.
In the servlet:
init(ServletConfig config):
Context init = new InitialContext();
Context ctx = (Context) init.lookup("java:comp/env");
dataSource = (DataSource) ctx.lookup("jdbc/acdb");
doPost(..)
the error occured at :
synchronized (dataSource){
con = dataSource.getConnection();}
Thanks in advance!Everything looks correct to me, except for one thing.
In your web.xml you have this:
<res-ref-name>jdbc/ora</res-ref-name> In your server.xml, you have this tag, which matches your web.xml:
<ResourceParams name="jdbc/ora" > But in your Java code, you've got this:
dataSource = (DataSource) ctx.lookup("jdbc/acdb"); When I've successfully set up a Web app data source, all three names had to agree. You either need to change your Java lookup name to "jdbc/ora" or change the web.xml and server.xml to "jdbc/acdb".
See if that does it. Everything else sounds correct to me. - MOD -
Solaris java sapgui error JniAgiLibAdaptor. init : Cannot load JNI library
i have a problem java sapgui.
Launch the Sapgui and then try to connect to any one of the three choices and it should produce the following error.
i am running this on a Solaris 10 32bit. This sam java SAPGUI runs fine when i boot into the windows xp pro. Hope this helps.
gui version;
SAPGUI for Java 7.10 rev 8 (java),
no library (lib)
(Version ID 071000040800)
Mon Mar 30 10:34:24 MEST 2009
uw1059, 710_REL, 1054563
Java VM: Sun Microsystems Inc. Version 1.6.0_14
OS: SunOS(x86) Version 5.10
The version of Java being used is:
java -version
java version "1.5.0_16"
Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
Thank You,
Ferhan
JniAgiLibAdaptor.<init>: Cannot load JNI library
details;
java.lang.Exception: JniAgiLibAdaptor.<init>: Cannot load JNI library
at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:29)
at: com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:283)
at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:297)
at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:798)
at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)
at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)
at: javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at: javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at: javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at: javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at: java.awt.Component.processMouseEvent(Unknown Source)
at: javax.swing.JComponent.processMouseEvent(Unknown Source)
at: java.awt.Component.processEvent(Unknown Source)
at: java.awt.Container.processEvent(Unknown Source)
at: java.awt.Component.dispatchEventImpl(Unknown Source)
at: java.awt.Container.dispatchEventImpl(Unknown Source)
at: java.awt.Component.dispatchEvent(Unknown Source)
at: java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at: java.awt.LightweightDispatcher.proc
Attempt to load shared library
/opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so failed.
The library file exists, so either the program has
insufficient privileges to access the library or the library
is not loadable by the shared object loader.
Please recheck the system requirements for your operating
system and make sure all required libraries are installed.
details;
ava.lang.UnsatisfiedLinkError: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: ld.so.1: java: fatal: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: wrong ELF data format: ELFDATA2MSB (Possible cause: endianness mismatch)
at: java.lang.ClassLoader$NativeLibrary.load(Native Method)
at: java.lang.ClassLoader.loadLibrary0(Unknown Source)
at: java.lang.ClassLoader.loadLibrary(Unknown Source)
at: java.lang.Runtime.load0(Unknown Source)
at: java.lang.System.load(Unknown Source)
at: com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:56)
at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:27)
at: com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:283)
at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:297)
at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:798)
at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)
at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)
at: javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at: javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at: javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at: javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at: javax.swing.plaf.basic.BasicBHello Ferhan,
the output of the AboutBox is indicating that you are trying to run SAP GUI for Java on Solaris 10 with x86 CPU. Unfortunately, the library required to be loaded is complied for SPARC. Please have a look at the system requirements part of the manual coming with the installer of SAP GUI for Java or [note 959236|https://service.sap.com/sap/support/notes/959236].
Best regards
Rolf-Martin -
I'm having the error "Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)" and I can't read/write CDs/DVDs. When I try to update the driver I have the message that it is already up to date.
I can't find the driver to dowload and try to fix the problem. Where can I download it or solve somehow my problem?Hi juigarashi,
Microsofts automated troubleshooting service on the link below may help
CD/DVD Repair
Hope it works for you.
****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 -
Kernal Panic: Cannot load OS X from any Internal Drive
On Sunday evening I opened my trusty Macbook Pro 7,1 (13" Mid 2010) and all had locked up. Nothing would respond - just a beachball. I powered off and attempted to start back up again. It went straight to recovery. Disk Utility reports a fault with the Hard Drive's EFI Partition. I cannot load hardware diagnostics - screen shot attached of error
I swapped out the Hard Drive and attempted to reinstall via internet recovery however this would fail at the point of starting the Yosemite installation. (a not very helpful message from memory). The date was set correctly.
If however I mount the drive via USB I can reinstall Yosemite just fine and run OS X perfectly normally from USB. If I take that disk and install it internally OS X wont load and I get the Kernel Panic Below.
Anonymous UUID:
E4C66E36-4C11-B193-6400-263851954BFF
Wed Feb 25 12:17:50 2015
*** Panic Report ***
panic(cpu 1 caller 0xffffff80197c1694): "launchd died\nState at Last Exception:\n\n"@/SourceCache/xnu/xnu-2782.10.72/bsd/kern/kern_exit.c:361
Backtrace (CPU 1), Frame : Return Address
0xffffff811937be50 : 0xffffff801932fe41
0xffffff811937bed0 : 0xffffff80197c1694
0xffffff811937bf40 : 0xffffff80197c135c
0xffffff811937bf50 : 0xffffff801984b386
0xffffff811937bfb0 : 0xffffff8019436e86
BSD process name corresponding to current thread: launchd
Mac OS version:
14C109
Kernel version:
Darwin Kernel Version 14.1.0: Mon Dec 22 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64
Kernel UUID: DCF5C2D5-16AE-37F5-B2BE-ED127048DFF5
Kernel slide:
0x0000000019000000
Kernel text base: 0xffffff8019200000
__HIB text base: 0xffffff8019100000
System model name: MacBookPro7,1 (Mac-F222BEC8)
System uptime in nanoseconds: 84906043459
last loaded kext at 2639784069: com.apple.driver.AppleUSBTCButtons 240.2 (addr 0xffffff7f9b1ea000, size 20480)
loaded kexts:
com.apple.driver.AppleUSBTCButtons 240.2
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.driver.AppleIRController 327.5
com.apple.driver.AppleUSBTCKeyEventDriver 240.2
com.apple.driver.AppleUSBTCKeyboard 240.2
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.7.0
com.apple.iokit.SCSITaskUserClient 3.7.3
com.apple.driver.AppleUSBCardReader 3.5.1
com.apple.iokit.AppleBCM5701Ethernet 10.1.3
com.apple.driver.AirPort.Brcm4331 800.20.24
com.apple.driver.AppleUSBHub 705.4.2
com.apple.driver.AppleUSBOHCI 656.4.1
com.apple.driver.AppleFWOHCI 5.5.2
com.apple.driver.AppleAHCIPort 3.1.0
com.apple.driver.AppleUSBEHCI 705.4.14
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleACPIButtons 3.1
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 3.1
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0
com.apple.nke.applicationfirewall 161
com.apple.security.quarantine 3
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleIntelCPUPowerManagement 218.0.0
com.apple.driver.AppleUSBMultitouch 245.2
com.apple.iokit.IOUSBHIDDriver 705.4.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.7.3
com.apple.iokit.IOUSBMassStorageClass 3.7.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.3
com.apple.driver.AppleUSBMergeNub 705.4.0
com.apple.driver.AppleUSBComposite 705.4.9
com.apple.iokit.IOEthernetAVBController 1.0.3b3
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IO80211Family 710.55
com.apple.iokit.IONetworkingFamily 3.2
com.apple.iokit.IOFireWireFamily 4.5.6
com.apple.driver.AppleMCP89RootPortPM 1.11
com.apple.iokit.IOAHCIFamily 2.7.5
com.apple.driver.AppleEFINVRAM 2.0
com.apple.iokit.IOUSBFamily 710.4.14
com.apple.driver.NVSMU 2.2.9
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.DiskImages 396
com.apple.iokit.IOStorageFamily 2.0
com.apple.iokit.IOReportFamily 31
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 3.1
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
com.apple.kec.Libm 1
com.apple.kec.pthread 1
Model: MacBookPro7,1, BootROM MBP71.0039.B0E, 2 processors, Intel Core 2 Duo, 2.4 GHz, 8 GB, SMC 1.62f7
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54333531533641465238432D47372020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54333531533641465238432D47372020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.24)
Bluetooth: Version 4.3.2f6 15235, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
USB Device: Internal Memory Card Reader
USB Device: HD-PCTU3
USB Device: Built-in iSight
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: IR Receiver
USB Device: Apple Internal Keyboard / Trackpad
Thunderbolt Bus:
I reckon that this will be a hardware error however as for where I cannot say. Anyone able to offer advise?Generally if you can boot the MBP from an external HDD and not boot the MBP with that drive internally, the SATA connection is usually the problem. Replacement of the cable will usually solve the issue.
I suggest that you take the MBP to an Apple store genius bar for a definitive evaluation. The repair is not expensive.
Ciao. -
Hello, After upgrading to Windows 7 Ultimate, my drive quit working entirely. The description reads: "Windows cannot load the device driver for this hardware. The driver may be corrupted or missing". I've downloaded updates and don't know whether I should uninstall or what... please help
This question was solved.
View Solution.Hi,
First, try the automated fixit from Microsoft on the link below.
Windows 7
Check if the drive is now working.
If the drive is not working, from the Start Menu, open the Control Panel and click on Device Manager. Click to open the IDE ATA/ATAPI Controllers. Right click on the first channel and select uninstall. Do not delete drivers if asked. When uninstalled repeat the process for each channel. Also if an ATA controller is listed, right click and uninstall this, again not deleting drivers if asked. Then open DVD/CD-ROM Drives. Right click the drive and select uninstall. Do not delete drivers if asked.
Reboot the PC and let Windows reinstall the devices. Check the drive again.
If it still isn't working, run the automated fixit from Microsoft on the link below again.
Windows 7
Next, from the Start Menu, open the Control Panel and click on Device Manager. Next click to open DVD/CD-ROM Drives. Right click the drive and select uninstall. Do not delete drivers if asked. When the device has uninstalled click on the 'Scan for Hardware Changes' icon ( usually just below Help on the toolbar ). Let windows reinstall the drive and see if it now works.
Best wishes,
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
Maybe you are looking for
-
Itunes wont open. itunes has stopped working message Please help!!
I had itune 10.1 working just normal, and suddenly it wont open. even before that, 1st problem i had was with Quick time, i couldnt uninstall it, kept saying newer version of Quick time installed..or something like that. and i figured out to inst
-
Bad customer service and warranty question.
I called a couple days ago to see if could get my lcd bezel fixed, since it just started to crack and the bottom (basically the back of the lid when it's close) for no reason at all. if i dropped it or did something to break it, i wouldn;t even both
-
Creation of IT0019 Monitoring of tasks record
Hi, I need to create a record for short term contract in infotype 19 for persons who have undergone some special training programs . Is there any option to attach such prerequisite to the Event type or event such so that when an emloyee enro
-
Reporting Customer Consignment values
Hello Gurus, How can we achieve this Need the capability to report on historical customer consignment values. MB58 only shows quantity, and MB52 shows valuation but is just a current snapshot. Need reporting capability similiar to MC.9/MC.L. Can any
-
Possibility of calling ALV report
hi experts, i have a requirement that i have to design an entry screen whcih contain pushbuttons (SAVE, CLEAR ,DISPLAY). whenever user pressed DISPLAY, he wants to call the selection screen of an alv report which is already exists. is that possible t