HIT JDBC error
Hello All,
Currently we are using Hit JDBC as a middleware between weblogic server and AS400.
We have recently encounter the following error message:
"[PREPDESC] ADRB0110 in type *N not found"
This error message appears once in a while when we were trying to call any stored
procedure located in AS400. When it happened any subsequent connection to AS400
will fail reporting the same error message. It comes back to normal when weblogic
server is restarted.
The error message does not contain a library name. However, we have include all
the library in the weblogic configuration file.
We have checked every possible settings but unable to find any solution.
We are not sure if this issue is related to HIT JDBC or Weblogic. We have report
this error to HIT as well but have not get their reply yet.
Attached is a copy of error log file when the problem occured.
And these are our system set up
- HIT JDBC 1.31
- WebLogic 6.1
- AS400 V5R1M0
Anyone having the same problem? Any suggestion are welcomed.
Thank you
Chiew
[jdbclog.log]
Chiew wrote:
Hello All,
Currently we are using Hit JDBC as a middleware between weblogic server and AS400.
We have recently encounter the following error message:
"[PREPDESC] ADRB0110 in type *N not found"I don't see how weblogic can be involved, except if there's some limit
on the number of open prepared statements a connection can have. Try
turning off our pool's statement caching (cache size = 0).
Joe
This error message appears once in a while when we were trying to call any stored
procedure located in AS400. When it happened any subsequent connection to AS400
will fail reporting the same error message. It comes back to normal when weblogic
server is restarted.
The error message does not contain a library name. However, we have include all
the library in the weblogic configuration file.
We have checked every possible settings but unable to find any solution.
We are not sure if this issue is related to HIT JDBC or Weblogic. We have report
this error to HIT as well but have not get their reply yet.
Attached is a copy of error log file when the problem occured.
And these are our system set up
- HIT JDBC 1.31
- WebLogic 6.1
- AS400 V5R1M0
Anyone having the same problem? Any suggestion are welcomed.
Thank you
Chiew
Similar Messages
-
I get this error when I try to connect my applet through JDBC:
Error null: Unexpected Packet. Type = 0
I have punch a hole on my firewall to allow my jdbc thin to hit
directly to oracle database.
If you have an answer for my problem, please email me at
[email protected]
Thanks a bunch,
-ed-
nullHi ,
Use following String
http://<Hostname>:<PortNo>/ftpjdbc
This can be used to check whether FTP and JDBC Drivers are properly deployed and connection can be done or not.
Select JDBC . Then :
Driver Class (fully qualified) : com.microsoft.sqlserver.jdbc.SQLServerDriver
JDBC URL : jdbc:sqlserver://255.255.255.255:8888;databasename=Dummy
USERNAME : DUMMY
PASSWORD : DUMMY
and enter valid values and then press connect
Then In response you will see connection will be established and then closed , any else response means there is some problem...
Regards
Prabhat Sharma. -
I have developed Java web application which uses Crystal Report 2013 , java 1.6 , Windows 32 bit System, All the reports are loading fine in the Following environment
Development Environment
Windows7 Professional Service pack 1 -32 bit
Java - 1.6
Internet Explorer 11
Oracle Client 10g 32 bit ODBC driver
Testing Environment
Windows Server 2008 R2 Enterprise - 64 bit
java 1.6
Internet Explorer 9
Oracle Client 11g 62 bit ODBC driver
While loading reports in the 64 bit server the error occurs
ERROR reports.reportdefinition : com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
ERROR dataengine.datasource : Failed to read next recurring database record: database row set error.
com.crystaldecisions.reports.reportdefinition.datainterface.j: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
at com.crystaldecisions.reports.reportdefinition.datainterface.q.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.m(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.l(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.ab(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.if(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.h(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.h(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.void(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.aE(Unknown Source)
at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
at com.erm.controller.ALMReportsController.queryDll(ALMReportsController.java:1681)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.erm.authentication.HttpSecurityFilter.doFilter(HttpSecurityFilter.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
at com.crystaldecisions.reports.queryengine.ap.if(Unknown Source)
at com.crystaldecisions.reports.queryengine.l.bN(Unknown Source)
at com.crystaldecisions.reports.queryengine.ap.eg(Unknown Source)
at com.crystaldecisions.reports.queryengine.ap.e(Unknown Source)
at com.crystaldecisions.reports.queryengine.b2.f(Unknown Source)
at com.crystaldecisions.reports.queryengine.b2.dy(Unknown Source)
... 89 more
Caused by: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.getBigDecimal(Unknown Source)A few things to note:
1) Crystal Report 2013 doe snot install any SDK. Thus the assumption is that you are using CR from teh following link:
SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
2) Since you are using a 64 bit connection (Oracle Client 11g 62 bit ODBC driver) you will have to make sure you are using 64 bit JVM. Otherwise, follow Dell's advice and use a 32 bit ODBC datasource.
3) On one test you are using Oracle Client 10g 32 bit ODBC driver and the other you are using Oracle Client 11g 64 bit ODBC driver. You might want to see if you can run your app using Client 11g 32 bit ODBC driver.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada -
Hi,
i am using XI7.0, Sender JDBC error is below;
when i test to connect to Oracle DB in using JAVA Code with ojdbc14.jar which was deployed into XI J2EE, i have no problem with insert update delete in using same code which was used in JDBC adapter in Configuration Time.
but JDBC Adapter on XI(JDBC2JDBC) is not running as well.
please look at the following and please guide.
JDBC Driver : oracle.jdbc.driver.OracleDriver
connection : jdbc:oracle:thin:@60.7.111.211:1577:AACC
S_SSS_MMM_JDBC_MDMALL001CU Sender Adapter v1402 for Party '', Service 'SSS_BS01_TESTBS01_D':
Configured at 12:29:23 2006-07-10
Last message processing started 12:29:55 2006-07-10
Error: Sending message '4299fec0-0fb4-11db-c508-000d604dde82' - failed with unexpected exception - proceed anyway: java.lang.ClassCastException: $Proxy222
last retry interval started 12:29:55 2006-07-10
length 10,000 secs
does anyone know how to fix it?
thanks
venjaminHi Venjamin,
Just try the follwing,
1. The Select Query in your Sender JDBC adapter. Try executing the same query on your DB client and check if it works fine and the data returned by it is of valid format?
2. Is any of the datatype being returned a CLOB or BLOB?
Regards,
Bhavesh -
Intermittent JDBC error in Enhanced Receiver Determination
Hi,
I have an interface that use Enhanced Receiver Determination in PI 7.1 EHP1.
The database is DB2 on i5/os 6.1
Sometimes message ends in error :Error when determining the receiver: Problem while determining receivers using interface mapping: Runtime exception occurred during application mapping com/sap/xi/tf/_HI01_to_ReceiverDetermination_;
But the same message with same values is successfull earlier.
This is not a design problem; the interface is working well 95% of the time.
I found some JDBC error in NWA java logs:
Error in sax handler parsing request: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.
Error when calling an adapter by using the communication channel CC_RECEIVER_JDBC_PIDB2 (Party: *, Service: INTEGRATION_SERVER_PX1, Object ID: cb7ea38fb2ac3a06b12d79f5ade2bcf7) XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.'.
Thrown:
com.sap.aii.af.service.api.AFException: XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.'.
at com.sap.aii.af.service.api.AdapterAccess.sendMsg(AdapterAccess.java:214)
at com.sap.aii.af.service.api.AdapterAccess.execute(AdapterAccess.java:283)
at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.execute(AdapterProxyLocal.java:119)
at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.execute(SystemAccessorInternal.java:76)
at com.sap.aii.mapping.lookup.DataBaseAccessor.execute(DataBaseAccessor.java:74)
at com.sap.aii.mappingtool.flib7.SelectSingle.selectSingle(SelectSingle.java:54)
at sun.reflect.GeneratedMethodAccessor607.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
Any idea? Can high volume cause the JDBC Receiver to fail?
Martinhi,
you r trying to impliment Lookup for the file adapter which is not synch in nature and hance u r not getting the responce back.
please find the link which deals with how to impliment lookup for file adapter.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252blookup%252bin%252budf.
now once u get rhe runtime receiver u can perform enhanced receiver determination (write a simple UDF)
regards,
navneet. -
SQL Server 2000 Driver for JDBC - Error establishing sockets
Hi there
I am using Microsoft SQL Server 2000 Driver for JDBC to connect to SQL Sever 2000. It is just a test application to see if it would connect to the datacase successfully. But I got the following errors. I already set up the classpath and installed all SQL Server 2000 Driver for JDBC sp 3. Dont know why it still failed...can anyone help me out of this? Thanks.
When i am using simple JDBC-ODBC bridge Driver it's working fine.
For this Server Pack3 , i have checked every thing like--
TCP / IP Poart is Enable.
I am working in client machine, my MSSQLServer 2000 Placed in server Machine.
when i am giving Telnet ServerIP 1433 it's giving following response.
connecting to ServerIP ....... could not open connection to the host , on port 1433:connection Failed
My Sample Code is :--
String user="sa";
String password="imcindia";
Connection con1 = null;
CallableStatement cstmt = null;
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
con1=DriverManager.getConnection("jdbc:microsoft:sqlserver://ServerName:1433;DatabaseName=dmo1o2d",user,password);
Statement st=con1.createStatement();
st.execute("use dm0102d");
st.execute("setuser 'dm01012'");
cstmt = con1.prepareCall("{?=Call dms_ex_create_folder('ABC','18753','NB21','u')}");
cstmt.execute();
Here are Error Code :
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection refused: connect
at java.sql.DriverManager.getConnection(Unknown Source)
at TestConnection1.main(TestConnection1.java:24)
one can help me to over come this problm,
Thanks in advance.
venkathey i also have this problem i have been looking for solution for this problem for along time i tried every possible solution i tried every service pack for the SQL but it didn't connect to the port!!!
it's a network problem ur java code is correct dont worry about it.
finally i had to install MySQL and it's work fine now but if u insist on usning SQL u have to use the JDBC-ODBC Bridge it will work by :
first add data source database , follow these steps
1- go to Administrative tools
2-Data Sources(ODBC)
3-System DNS tab and add then choose SQL SERVER the last option then finish
4-write the name; Note: this name is the one that u will write in ur URL for example if u write Hello the URL will be "jdbc:odbc:Hello"
5- choose the server, its recommended to write "." or (local)
6-change the database to its an important step to choose the database that u want to use, choose northwind if u want to use it
finish
second
adding this code:
import java.sql.*;
class JdbcTest1 {
public static void main (String[] args) {
try {
// Step 1: Load the JDBC driver.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
// Step 2: Establish the connection to the database.
String url = "jdbc:odbc:Hello";
Connection conn = DriverManager.getConnection(url,"user1","password");
} catch (Exception e) {
System.err.println("Got an exception! ");
System.err.println(e.getMessage());
it will work without any problems -
JDBC error in PreparedStatement using TimesTen 6.0.3
TimesTen supports this kind of sql statement
select rows 3 to 5 * from products
(it returns 2 rows started from row #3)
I want to implement this in java thru JDBC
PreparedStatement pstmt = con.prepareStatement(select rows ? to ? * from products);
pstmt.setInt(1,3);
pstmt.setInt(2,2);
However, I got a JDBC error in the PreparedStatement line
java.sql.SQLException: [TimesTen][TimesTen 6.0.3 ODBC Driver][TimesTen]TT1001: Syntax error in SQL statement before or at: "?", character position: 13 -- file "ptSqlY.y", lineno 1955, procedure "sbPtParseSql()"
Anyone encounter this kind of error before? How to solve it?
Thanks!
Wellwin
P.S. I am running this in Linux platform with JDBC driver come with TimesTen for java 1.4Hi Wellwin,
Using SELECT ROWS m to n, you cannot parameterise m or n in order to provide them at execution time. They have to be explicitly stated as literals in the statement
If you need to use this with several different values for m and n, there are a couple of options:
1) Prepare (and subsequently execute) a different prepared statement for each combination of m and n that you need. This may be fine if there are only a small number of combinations but not a good choice if there are many combinations.
2) Just use a regular SELECT (without the ROWS m TO n clause) and skip the rows in the application code.
Simon -
IDOC to JDBC :Error using JDBC
Hi Frnds,
My scenario is Idoc to JDBC scenario, I am getting the follwoing error while trying to process an idoc. Please help me in hadling this error.
Error Message:
JDBC message processing failed; reason Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://180.1.32.194:1433;DatabaseName=CZZ03;': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
Regards,
ShivHello Shiva,
Are you installed JDBC Drivers?
Go through this links,
/people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1246926,00.html
To install JDBC driver follow the how to guide.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
Configuration of JDBC Adapter for SQL Server
JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
UserID and Password.
If the connection is not working find the correct port number.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
JDBC- X I - R/3 Scenario
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Please check the driver path as mentioned below.
JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
No JDBC driver required.
Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
follow this thread
Re: Problem when connecting to MS Access through JDBC Adapter.
SAP Note 850116 has details
Thanks,
Satya Kumar
Reward if it is usefulll -
Unattend Hit an error while pulling drivers from Network Share
Hi All,
I've run into an error with installing apps from network share via SynchronousCommands under Specialize pass in unattended answer file. I been trying to work on it since yesterday and haven't had any success so far. It keeps failing with an error below.
This error is from setupact.log file and I've just pasted only the error from the file .
synchronously
2014-09-27 06:31:20, Info [SETUPUGC.EXE] Process returned with exit code 0x0
2014-09-27 06:31:45, Error [SETUPUGC.EXE] Hit an error (hr = 0x80070056) while running [\\WDS-DEP-SERV\E\Distribution\Drivers\setup64.exe
/s ]
2014-09-27 06:31:45, Info [0x090009] PANTHR CBlackboard::Close: c:\windows\panther\commandexec\commandexec.
2014-09-27 06:31:45, Info [SETUPUGC.EXE] SetupUGC returning with exit code [4]
This error is from setuperr.log.
2014-09-27 06:31:45, Error [SETUPUGC.EXE] Hit an error (hr = 0x80070056) while running [\\WDS-DEP-SERV\E\Distribution\Drivers\setup64.exe
/s ]
Let me explain this situation. I've a server named WDS-DEP-SERV which is running my WDS, DHCP and DNS. I've an E drive on this server which contains setup64.exe and I'm trying to have the client pull that .exe via unattend answer file and install it either
during Specialize pass under windows deployment services via Synchronoouscommands or under OOBE pass under Windows Shell setup via FirstLogoncommands ---> Synchronouscommands, but it's not working. I believe that my path format for network share is wrong.
I've searched online almost everywhere since yesterday but I couldn't find anything.
Can anyone please let me know what's the right way of go about doing it? This is the only thing that's not working for me. Below is my answer file, in case someone needs to see what I'm doing wrong.
Thanks and hope to hear from someone.
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>WIN-8-DEPL</ComputerName>
<ProductKey>MHF9N-XY6XB-WVXMC-BTDCT-MKKG7</ProductKey>
<RegisteredOrganization>Microsoft</RegisteredOrganization>
<RegisteredOwner>AutoBVT</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>eastern standard time</TimeZone>
<CopyProfile>true</CopyProfile>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user administrator /active:no</Path>
<Description>Enabling Built in Administrator Account</Description>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Description>DisableNetworkLocationPrompt</Description>
<Order>2</Order>
<Path>REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category
/t REG_DWORD /d 00000000 /f</Path>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>REG ADD "HKLM\System\CurrentControlSet\Services\Tcpip6\parameters" /v DisabledComponents /t REG_DWORD /d 0xFF /f</Path>
<Order>4</Order>
<Description>Diasbling IPV6</Description>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Credentials>
<Domain>Mikasa.local</Domain>
<Password>Administrator</Password>
<Username>Ghtwhts2015</Username>
</Credentials>
<Path>\\WDS-DEP-SERV\E\Distribution\Drivers\setup64.exe /s </Path>
<Description>Vmware Tool Installation</Description>
<Order>3</Order>
<WillReboot>Always</WillReboot>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SearchScopes>
<Scope wcm:action="add">
<ScopeDefault>true</ScopeDefault>
<ScopeDisplayName>Google</ScopeDisplayName>
<ScopeKey>Google</ScopeKey>
<SuggestionsURL>http://www.google.com/search?q={search Terms}</SuggestionsURL>
<ShowSearchSuggestions>true</ShowSearchSuggestions>
<ShowTopResult>true</ShowTopResult>
</Scope>
</SearchScopes>
<DisableAccelerators>true</DisableAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<Home_Page>www.marca.com</Home_Page>
<BlockPopups>yes</BlockPopups>
</component>
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FirewallGroups>
<FirewallGroup wcm:action="add" wcm:keyValue="Remote Desktop">
<Active>true</Active>
<Group>Remote Desktop</Group>
<Profile>all</Profile>
</FirewallGroup>
</FirewallGroups>
</component>
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserAuthentication>0</UserAuthentication>
<SecurityLayer>1</SecurityLayer>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-TCPIP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Interfaces>
<Interface wcm:action="add">
<Identifier>00-50-56-30-85-87</Identifier>
<Ipv4Settings>
<DhcpEnabled>false</DhcpEnabled>
<Metric>10</Metric>
<RouterDiscoveryEnabled>false</RouterDiscoveryEnabled>
</Ipv4Settings>
<UnicastIpAddresses>
<IpAddress wcm:action="add" wcm:keyValue="1">172.16.5.21/24</IpAddress>
</UnicastIpAddresses>
<Routes>
<Route wcm:action="add">
<Identifier>0</Identifier>
<Prefix>0.0.0.0/0</Prefix>
<Metric>10</Metric>
<NextHopAddress>172.16.5.1</NextHopAddress>
</Route>
</Routes>
</Interface>
</Interfaces>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Password>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>10</LogonCount>
<Username>DarkKnight</Username>
<Domain></Domain>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>Admin User Account</Description>
<DisplayName>Omar</DisplayName>
<Group>Administrators</Group>
<Name>Omar</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>Mikasa</RegisteredOrganization>
<RegisteredOwner>Mikasa</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>eastern standard time</TimeZone>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
<UILanguageFallback></UILanguageFallback>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/windows-os-images/win8.1x86ent-wimfiles/install.wim#Windows 8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>Hi,
Thanks for replying with your input. I'll go over that and make changes. Can you please help me out with the following as I can't figure this out why my script on the network share run and execute during unattend install?
My script on my network share failed to run during unattend install right before the first login.
Can someone take a look at my unattend xml file
and suggest me a solution? I've highlighted the script paramters in bold. I've also attached my error message with this. Please check it out and make some suggestions. Thanks
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>WIN-8-DEPL</ComputerName>
<ProductKey>MHF9N-XY6XB-WVXMC-BTDCT-MKKG7</ProductKey>
<RegisteredOrganization>Microsoft</RegisteredOrganization>
<RegisteredOwner>Microsoft</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>eastern standard time</TimeZone>
<CopyProfile>true</CopyProfile>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user administrator /active:no</Path>
<Description>Enabling Built in Administrator Account</Description>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Description>DisableNetworkLocationPrompt</Description>
<Order>2</Order>
<Path>REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork"
/v Category /t REG_DWORD /d
00000000 /f</Path>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>REG ADD HKLM\System\CurrentControlSet\Services\Tcpip6\parameters /v
DisabledComponents /t REG_DWORD
/d 0xFF /f</Path>
<Order>3</Order>
<Description>Diasbling IPV6</Description>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Credentials>
<Domain>Mikasa.local</Domain>
<Password>Ghtwhts2015</Password>
<Username>Administrator</Username>
</Credentials>
<Path>\\WDS-DEP-SERV\E\Distribution\Drivers\setup64.exe /s
/v "/qn REBOOT=ReallySuppress" /l C:\Windows\Temp\vmware_tools_install.log</Path>
<Order>4</Order>
<Description>Vmware
Tools Installation</Description>
<WillReboot>Always</WillReboot>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableAccelerators>true</DisableAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<Home_Page>www.marca.com</Home_Page>
<BlockPopups>yes</BlockPopups>
</component>
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FirewallGroups>
<FirewallGroup wcm:action="add" wcm:keyValue="Remote Desktop">
<Active>true</Active>
<Group>Remote Desktop</Group>
<Profile>all</Profile>
</FirewallGroup>
</FirewallGroups>
</component>
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserAuthentication>0</UserAuthentication>
<SecurityLayer>1</SecurityLayer>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Password>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>10</LogonCount>
<Username>DarkKnight</Username>
<Domain></Domain>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>Admin
User Account</Description>
<DisplayName>DarkKnight</DisplayName>
<Group>Administrators</Group>
<Name>DarkKnight</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>Mikasa</RegisteredOrganization>
<RegisteredOwner>Mikasa</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>eastern standard time</TimeZone>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd /C start
/wait E:\RemoteInstall\Images\Windows8\install\$OEM$\$$\Setup\Scripts\SetupComplete.cmd</CommandLine>
<Description>Various Apps Installation</Description>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
<UILanguageFallback></UILanguageFallback>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/windows-os-images/win8.1x86ent-wimfiles/install.wim#Windows
8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend> -
Hi,
Once in a while I hit 401 error on the server. On the client some of the operations dont go through. LIke cant upload document drop menu dont show...
The site has both formbased and windows based login enabled. loopback check is disabled on the server.
During the issue normal IE login is not displayed but windows login is displayed and once this appears it throws 401 error.
after server restart it works for 1hr or 2hr. Some time it works for a long hrs also.
any help.
Tks
Hari
HariCheck the event viewer and log file to find if any service is stopped or any job that is running causing this issue.
--Cheers -
Running Xcode 3.2.3 for the first time, hitting an error immediately
Hello. I'm learning Objective-C from a book ("Beginning Mac Programming"), and I've run into an error right out of the gate. I've checked the book's errata, as well as left a message with the author, but neither have solved the issue.
Here's what happened:
1. I installed Xcode 3.2.3 (I'm on 10.6.4)
2. Opened it
3. Selected "New Project"
4. Application->Cocoa Application
5. Save app location to my user directory
6. Hit "Build and Run"
I haven't touched any code at all, yet I get the following error:
Build TextApp of project TextApp with configuration Debug
Ld build/Debug/TextApp.app/Contents/MacOS/TextApp normal x86_64
cd "/Users/dan's/TextApp"
setenv MACOSXDEPLOYMENTTARGET 10.6
/Developer/usr/bin/gcc-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/dan's/TextApp/build/Debug -F/Users/dan's/TextApp/build/Debug -filelist /Users/dan's/TextApp/build/TextApp.build/Debug/TextApp.build/Objects-normal/x86 _64/TextApp.LinkFileList -mmacosx-version-min=10.6 -framework Cocoa -o /Users/dan's/TextApp/build/Debug/TextApp.app/Contents/MacOS/TextApp
ld: file not found: /Users/dans/TextApp/build/TextApp.build/Debug/TextApp.build/Objects-normal/x86_ 64/main.o /Users/dans/TextApp/build/TextApp.build/Debug/TextApp.build/Objects-normal/x86_ 64/TextAppAppDelegate.o
collect2: ld returned 1 exit status
Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
Any suggestions? I'm completely new to this, so I have absolutely no clue what to do next. The error command seems to be looking in the "developer" directory, although the code is saved in my user directory.
Any help would be greatly appreciated.
Thank you.The /Developer directory contains the compiler(s) and various tools and libraries.
Does your user account name really contain a single quote? If so, it looks like the quote is getting eaten by one of the build scripts, which is resulting in a file path that doesn't exist. -
I have been getting this error in my Jdeveloper App.
ORA-01000 : maximum open cursors exceeded.
We have open cursors set at 220. I am using straight JDBC thin
to call the database (8.1.5) and have been closing ResultSets
the best I can. It happens after I use the app for a little bit.
Any suggestions on what is causing this.
PS
This is a test database and I am the only one on it.
Thanks
Greg
nullGreg (guest) wrote:
: I have been getting this error in my Jdeveloper App.
: ORA-01000 : maximum open cursors exceeded.
: We have open cursors set at 220. I am using straight JDBC thin
: to call the database (8.1.5) and have been closing ResultSets
: the best I can. It happens after I use the app for a little
bit.
: Any suggestions on what is causing this.
: PS
: This is a test database and I am the only one on it.
: Thanks
: Greg
Greg - make sure that your statement object is being closed too.
I had a similar occurance that was pretty frustrating. Then I
realize the my statement object was being reused, and this
wasn't good. I forced the object to close after each db action,
and upon reuse all was fine.
Good luck -
RP
null -
JDBC Error in allocating a connection
Hi,
I am trying to use an outbound jdbc eway to do a select, but the connection is not being established
Here is the log error,
java.sql.SQLException: Error in allocating a connection. Cause: com.microsoft.sqlserver.jdbc.SQLServerDriver
And here are the config settings from the log
setPortNumber = [1433]
setUser = [sa]
setServerName = [localhost]
setPassword = [xxxxx]
setDriverProperties = [setURL#jdbc:sqlserver://localhost:1433;databaseName=eamh;]
setDatabaseName = [eamh]
setClassName = [com.microsoft.sqlserver.jdbc.SQLServerDriver]
Any idea what is wrong?
RupertThe driver classname is not correct. You need to use com.SeeBeyond.sqlserver.jdbc.sqlserver.SQLServerDataSource.
Let me know if this works.
Cheers,
Mac. -
JDev 10.1.3 OC4J JDBC Error
I'm having a problem running an application in JDev10.1.3 when mapping an oracle object to a java object.
The error occuring is "java.lang.ClassCastException: oracle_oc4j_sql_proxy_SQLBCELProxy_tuinsurance_lib_ejb_PolicyRate__BCELProxy"
This error only happens when i'm using Datasources retrieved through JNDI. If i use oracle.jdbc.DriverManager to instantiate a sql connection i have NO problem.
Only when i look up a datasource do i have this problem with mapping oracle objects to java objects. Note this has worked in earlier version of JDeveloper (9.0.5.2) with JDBC 2.0.
Does this have to do with Drivers or javax.sql.Datasource class in JDK1.4 ???
Has anyone had this problem ? Any JDBC or JDev experts who can help me out on this one ?
Thanks in advance
GurinderHere is a boat-load of system info for the error message posted by Eric Everman:
java.class.version 48.0
java.endorsed.dirs C:\j2sdk1.4.2_06\jre\lib\endorsed
java.ext.dirs C:\j2sdk1.4.2_06\jre\lib\ext
java.home C:\j2sdk1.4.2_06\jre
java.io.tmpdir C:\DOCUME~1\eeverman\LOCALS~1\Temp\
java.library.path
* C:\j2sdk1.4.2_06\bin
* C:\WINDOWS\System32
* C:\WINDOWS
* C:\j2sdk1.4.2_06\bin
* d:\oracle\oraids2\bin
* d:\oracle\oraids2\jlib
* d:\oracle\ora92\bin
* C:\WINDOWS\system32
* C:\WINDOWS
* C:\WINDOWS\System32\Wbem
* C:\Program Files\Common Files\Adaptec Shared\System
* C:\Program Files\Reflection\
* C:\Program Files\Executive Software\Diskeeper\
java.naming.factory.initial com.evermind.server.ApplicationInitialContextFactory
java.naming.factory.url.pkgs oracle.oc4j.naming.url
java.net.preferIPv4Stack true
java.protocol.handler.pkgs com.evermind.protocol
java.runtime.name Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version 1.4.2_06-b03
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.4
java.util.prefs.PreferencesFactory java.util.prefs.WindowsPreferencesFactory
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.4.2_06
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 1.4.2_06-b03
javax.management.builder.initial oracle.oc4j.admin.jmx.server.Oc4jMBeanServerBuilder
javax.rmi.CORBA.PortableRemoteObjectClass com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject
javax.rmi.CORBA.StubClass com.sun.corba.ee.impl.javax.rmi.CORBA.StubDelegateImpl
javax.rmi.CORBA.UtilClass com.sun.corba.ee.impl.javax.rmi.CORBA.Util
line.separator
oc4j.jms.usePersistenceLockFiles false
oracle.dms.sensors NONE
oracle.home D:\Program Files\jdev10.1.3
oracle.j2ee.container.name Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3
oracle.j2ee.container.version 10.1.3.0.0
oracle.j2ee.dont.use.memory.archive true
oracle.j2ee.home D:\Program Files\jdev10.1.3\jdev\system\oracle.j2ee.10.1.3.3.51
oracle.j2ee.http.socket.timeout 500
oracle.security.jazn.config D:\Program Files\jdev10.1.3\jdev\system\oracle.j2ee.10.1.3.3.51\oc4j-config\jazn.xml
org.apache.commons.logging.Log org.apache.commons.logging.impl.SimpleLog
org.apache.commons.logging.simplelog.defaultlog info
org.apache.tapestry.disable-caching true
org.omg.CORBA.ORBClass com.sun.corba.ee.impl.orb.ORBImpl
org.omg.PortableInterceptor.ORBInitializerClass.oracle.oc4j.corba.iiop.server.IIOPInitializer NO_VALUE
os.arch x86
os.name Windows XP
os.version 5.1
path.separator ;
sun.arch.data.model 32
sun.boot.class.path
* C:\j2sdk1.4.2_06\jre\lib\endorsed\bsf.jar
* C:\j2sdk1.4.2_06\jre\lib\endorsed\xalan.jar
* C:\j2sdk1.4.2_06\jre\lib\endorsed\xercesImpl.jar
* C:\j2sdk1.4.2_06\jre\lib\endorsed\xml-apis.jar
* C:\j2sdk1.4.2_06\jre\lib\rt.jar
* ....[clipped]
sun.boot.library.path C:\j2sdk1.4.2_06\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium i486 i386
sun.io.unicode.encoding UnicodeLittle
sun.os.patch.level Service Pack 1
user.country US
user.dir D:\Program Files\jdev10.1.3\jdev\system\oracle.j2ee.10.1.3.3.51\oc4j-config -
BI Publisher and TomCat JDBC error
Hey Folks,
I have BI Pulbisher up and running in a cluster mode on a Solaris box with a shared folder such as (/u01/app/BI_Publisher/xmlp) as the file path in WEB-INF\xmlp-server-congfig.xml. All my reports and XMLP configuration folders are stored in that directory (ie. Admin, DemoFiles, Reports, Tools etc..). BI Publisher is up and running under the tomcat user id.
My OBIEE directory is contained in /opt/oracle/app/OracleBI....
Now when I deployed the xmlpserver.war file and configure my connections, everything was working properly.
Now I see the following exception being thrown in the tomcat logs. This error msgs are inserted to the logs every second and it will fill up the log file in a matter of hours which makes the BI Publisher go down.
I have to erase the logs and re-cycle the tomcat server and everything is fine again, but these msgs keep filling up the logs.
How can i solve this issue of "Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'"?
Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:730)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:172)
at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:111)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:553)
at org.quartz.impl.jdbcjobstore.JobStoreTX.doCheckin(JobStoreTX.java:1321)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:2338)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:2369)
Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:730)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:172)
at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:111)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:553)
at org.quartz.impl.jdbcjobstore.JobStoreTX.doCheckin(JobStoreTX.java:1321)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:2338)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:2369)
Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:730)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:172)
at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:111)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:553)
at org.quartz.impl.jdbcjobstore.JobStoreTX.doCheckin(JobStoreTX.java:1321)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:2338)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:2369)
Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:730)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:172)
at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:111)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:553)
at org.quartz.impl.jdbcjobstore.JobStoreTX.doCheckin- ClusterManager: Error managing cluster: Failed to obtain DB connection from data source 'myDS': org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver', cause: oracle.jdbc.OracleDriver
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver', cause: oracle.jdbc.OracleDriver [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver', cause: oracle.jdbc.OracleDriver]
at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:570)
at org.quartz.impl.jdbcjobstore.JobStoreTX.doCheckin(JobStoreTX.java:1321)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:2338)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:2369)setpath for the bijdbc.jarfor OBIEE and ojdbc.jar for Oracle DB file .
that should resolve this library not found error.
Maybe you are looking for
-
Problem using setRequestProperty on a url connection, how can I fix it?
From what I've read on it I thought I did everything the right way. I'm just starting out with the networking aspect of Java. What I'm trying to do is download only a portion of a file. For right now I'm just worried about downloading the end of a fi
-
How to setup mail view same like microsoft outlook view that is left pane folder view and right pane mails
-
Printer setup when print program is called through a BAPI from a VB program
Hi All! I have a BAPI being called by a VB program. The BAPI prints successfully when executed using the SAP GUI but fails to print when called via the VB program. Is there any special printer setup needed for this? Thanks!
-
Arabic letters appear as _ in java Application
Hi All; We have one of our web based application that is using Java plugin (JRE 1.3.1) where Arabic letters appear as "_" I tried to download a newer version of i18n.jar/font.properties.ar with no luck. only few letters appear (actually 4 only) but t
-
How to upgrade Mac mini server Snow Leopard to Mountain Lion
Trying to upgrade Mac mini server running Snow Leopard to Mountain Lion. I downloaded Mountain Lion and about to install but a warning prompt tells me server functionality will be lost until server.app is applied. What is involved in doing that?