Problem with Connection to the Server
From the Java Applet,
Basically when I try and connect it returns a org.omg.BAD_OPERATION - remote exception. The Serer is not registered in the implementation. It says use the putit and I have but it doesn't change things...
Basically my code for this look like
if ((tmp = ServerField.getText ()) == null)
markerServer = "";
else
markerServer = ":" + tmp;
// get host name from text field
hostName = HostField.getText ();
System.out.println("hostname:" + hostName);
System.out.println("Server:" + tmp);
// bind to server object
try {
System.out.println("Attempting to connect " + markerServer);
System.out.println("to :"+ markerServer);
System.out.println( "on "+ hostName);
wcGUI = WCGUIHelper.bind (markerServer , hostName);
Thanks in advance for any assistance you can give in solving this problem for me
org.omg.BAD_OPERATION
wcGUI = WCGUIHelper.bind (markerServer , hostName);These look like non standard classes. Are they part of a solution from another company or have you developed them yourself?
If they're from another company do they have a website, support contact or forum? you're unlikely to find an answer here I'm afraid.
Similar Messages
-
I am new to Mac...How do I get connected to a server on my network via a hyper link IP address path? When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?
Some of the following is going to use some technical terms — this area is inherently somewhat technical.
If you don't understand some part of the following reply, please ask.
Is this your own OS X Server system on your own network, or is this some other server within some larger organization?
You're posting this in the OS X Server forum, which is a software package that allows OS X systems to provide web-based and many other services; to become servers.
If it's your OS X Server on your network, then the network and DNS configurations are suspect, or the server is somehow malfunctioning or misconfigured. This is unfortunately fairly common, as some folks do try to avoid setting up DNS services.
If it's a larger organization and somebody else is managing the server and the network, then you'll probably need to contact the IT folks for assistance; to learn the network setup and DNS requirements, and if there's a problem with the server itself.
The basic web URL "hyper link IP address path" — without using DNS — usually looks something the following, where you'll need to replace 10.20.30.40 with the IP address of your server:
http://10.20.30.40
UptimeJeff has posted a URL that specifies the AFP file system; an OS X file share. That's used if you're connecting to an Apple storage service somewhere on your network. You might alternatively need to specify smb://10.20.30.40 or such, if it's a Windows file server. (There can be additional requirements for connecting to Windows Server systems, too.)
If there's local IT staff available here, please contact them for assistance. If these are your own local systems and your own local OS X Server system, then some information on the server will be needed. (If you're on a NAT'd network, you'll also need to get DNS services configured and working on your local OS X Server system and your network — you'll not be able to skip this step and reference ISP DNS servers here — or things can and usually will get weird.) -
If anybody have a problem with connection to smtp server from iPhone
If anybody have a problem with connection to smtp server just add new server
Seetings → Mail, Contacts, Calendars → User Me account → Account → Under Advanced choose Mail → SMTP → Add Server
smtp.me.com
user name ([email protected])
password
Apple, i am in love with your product, please fix this so we could injoy it even more.Might be something to help you here > iCloud: Mail server information
-
Problems with connecting to FreeNX server
When I try to connect to the server a black window with the NX logo apears for 1sec and then it disapears with no errors. In the error file this shows:
Proxy: WARNING! Handling data for finishing FD#7 channel ID#1.
Proxy: WARNING! Handling data for finishing FD#7 channel ID#1.
After trying with a windows client, i got this log from the client:
Info: Proxy running in client mode with pid '3380'.
Session: Starting session at 'Mon May 26 03:36:22 2008'.
Warning: Connected to remote version 3.1.0 with local version 3.2.0.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-kde'. Assuming agent session.
Info: Using WAN link parameters 768/24/1/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using pack method 'adaptive-9' with session 'unix-kde'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 1/1.
Info: No suitable cache file found.
Info: Forwarding X11 connections to display ':0'.
Info: Listening to font server connections on port '11000'.
Session: Session started at 'Mon May 26 03:36:24 2008'.
Info: Established X server connection.
Info: Using shared memory parameters 0/0K.
Session: Terminating session at 'Mon May 26 03:36:25 2008'.
Session: Session terminated at 'Mon May 26 03:36:25 2008'.
Last edited by tafsen (2008-05-26 01:41:22)Your only option is to contact the server administrator. Who
hosts your
server?
If you have an account with them, you should be able to login
to your
account and change your FTP settings however if they are
having problems
with servers, this might not be possible!
There isn't, as far as I know, any other way to connect.
Hope this is useful anyway.
Nath.
"B_C_B_C" <[email protected]> wrote in
message
news:ftu0qj$lph$[email protected]..
> Hi there, I registered to ask this question and to see
if anyone had any
> answers to help me. I own Dreamweaver CS3, the full
licensed version. I
> already have a testing server and a server under the
remote info section,
> and
> on the site I've added quite a few things. Recently I've
had real
> problems
> connecting to the server - my password and log-in name
is correct, exactly
> the
> same at my University, and yet it refuses to log in.
However, my teacher
> mentioned that the server is quite unreliable and that
they're working on
> installing a new one, so it looks like even they
acknowledge there's a
> problem.
> Any hints or tips on how to connect, or to maybe reset
the password and
> log-in
> on both the remote info server and the testing server?
Because this is a
> huge
> inconvenience for me at the moment. Any help or info
would be hugely
> appreciated.
>
> -
Problems with connection to the Mountain Lion
Someone is having problems with connection on Mac Mountain Lion? I did a clean install and the connection is unstable.
Have you tried to reset your network settings ?
What I would do is delete the connection, and then retry the set up of that connection.
System Preferences>Network, select Wi-Fi on the left and then click on the 'minus' button -
Problem with connect to sql server ..
I have problem with connect to sql server2005
i use jpa(hibernate) and jsf
javax.servlet.ServletException: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: Could not open connection
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
root cause
javax.faces.el.EvaluationException: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: Could not open connection
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
javax.faces.component.UICommand.broadcast(UICommand.java:315)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
root cause
javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: Could not open connection
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:1371)
org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60)
servlet.PrzychodniaBean.dodaj(PrzychodniaBean.java:30)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.el.parser.AstValue.invoke(AstValue.java:262)
org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
javax.faces.component.UICommand.broadcast(UICommand.java:315)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
root cause
org.hibernate.exception.JDBCConnectionException: Could not open connection
org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:131)
org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:304)
org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:169)
org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doBegin(JdbcTransaction.java:67)
org.hibernate.engine.transaction.spi.AbstractTransactionImpl.begin(AbstractTransactionImpl.java:160)
org.hibernate.internal.SessionImpl.beginTransaction(SessionImpl.java:1263)
org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:57)
servlet.PrzychodniaBean.dodaj(PrzychodniaBean.java:30)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.el.parser.AstValue.invoke(AstValue.java:262)
org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
javax.faces.component.UICommand.broadcast(UICommand.java:315)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
root cause
java.sql.SQLException: No suitable driver found for jdbc:sqlserver://localhost;databaseName=MIS
java.sql.DriverManager.getConnection(Unknown Source)
java.sql.DriverManager.getConnection(Unknown Source)
org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl.getConnection(DriverManagerConnectionProviderImpl.java:173)
org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:276)
org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:297)
org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:169)
org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doBegin(JdbcTransaction.java:67)
org.hibernate.engine.transaction.spi.AbstractTransactionImpl.begin(AbstractTransactionImpl.java:160)
org.hibernate.internal.SessionImpl.beginTransaction(SessionImpl.java:1263)
org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:57)
servlet.PrzychodniaBean.dodaj(PrzychodniaBean.java:30)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.el.parser.AstValue.invoke(AstValue.java:262)
org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
javax.faces.component.UICommand.broadcast(UICommand.java:315)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
note The full stack trace of the root cause is available in the JBoss Web/7.0.13.Final logs.
persistance.xml
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="PrzychodnieLekarskiePU" transaction-type="RESOURCE_LOCAL">
<class>model.Przychodznia</class>
<properties>
<property name="hibernate.connection.username" value="a"/>
<property name="hibernate.connection.password" value="a"/>
<property name="hibernate.connection.url" value="jdbc:sqlserver://localhost;databaseName=MIS"/>
<property name="hibernate.connection.driver_class" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/>
<property name="javax.persistence.jdbc.url" value="jdbc:sqlserver://localhost;databaseName=MIS"/>
<property name="javax.persistence.jdbc.user" value="a"/>
<property name="javax.persistence.jdbc.password" value="a"/>
<property name="javax.persistence.jdbc.driver" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>
</properties>
</persistence-unit>
</persistence>
Edited by: 985713 on 2013-02-02 07:12
Edited by: 985713 on 2013-02-02 07:37it works ok : I don't known where is error in jpa .. ?
public class MyConnection {
public static Connection getConnection () throws SQLException{
String url = "jdbc:sqlserver://ABADDON1;databaseName=MIS";
String user = "a";
String pass = "a";
DriverManager.registerDriver(new com.microsoft.sqlserver.jdbc.SQLServerDriver());
Connection conn = DriverManager.getConnection(
url,user,pass);
System.out.println("OK");;
return conn;
try {
conn = MyConnection.getConnection();
} catch (SQLException ex) {
System.out.println("Error: " + ex.getErrorCode()
+ ex.getMessage());
} -
Is Apple going to fix the problem that iPad Air has with connecting to the server?
Less than a month ago I purchased a 32GB iPad Air, and for the majority of the time I have struggled with server connection. Finally I charged up my old iPad1 and got right on the server so after all the troubleshooting I did with my router I realized it was not that. Then I came to the support communities and see that many others have similar problems. One advised a process, which I followed to the letter, got on the server and then the next day was back at square one. Any helpful long term resolution advice or a ray of hope that Apple is doing something to correct this?
Hi JKAlbright,
Welcome to the Support Communities!
The article below may be able to help you troubleshoot your Wi-Fi issue.
iOS: Troubleshooting Wi-Fi networks and connections
http://support.apple.com/kb/TS1398?viewlocale=en_US
Reset network settings by tapping Settings > General > Reset > Reset Network Settings.
Note: This will reset all network settings including previously connected Wi-Fi networks and passwords
iOS and OS X: Recommended settings for Wi-Fi routers and access points
http://support.apple.com/kb/HT4199
I hope this information helps ....
Have a great day!
- Judy -
Problem with Connection to SQL Server via Servlet (in iPlanet 6 App Server)
Hi ,
I am using the iPlanet ApplicationServer 6.0 SP2 for development & testing of an internet application.
I am facing a problem when I am trying to connect to MS SQL SERVER via the native jdbcodbc driver (obdc32.dll). The error is something like this :
[26/Jul/2001 11:50:35:7] warning: DriverConnect: (28000): [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'.(DB Error: 18456)
[26/Jul/2001 11:50:35:7] warning: ODBC-027: CreateConn: failed to create connection [new connection]: DSN=fadd,DB=cashbook,USER=test,PASS=xxxxxxxxx
[26/Jul/2001 11:50:35:7] error: DATA-108: failed to create a data connection wit
h any of specified drivers
Error in connecting to the Database for cirrus :java.sql.SQLException: failed to
create a data connection with any of specified drivers
java.sql.SQLException: failed to create a data connection with any of specified
drivers
at com.netscape.server.jdbc.Driver.afterVerify(Unknown Source)
at com.netscape.server.jdbc.Driver.connect(Unknown Source)
at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
at gefa.util.DBConnection.jdbcConnectionOpen(DBConnection.java:65)
at gefa.servlet.ServUpload.doPost(ServUpload.java:45)
at gefa.servlet.ServUpload.doGet(ServUpload.java:29)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
I have configured a DSN with the name "fadd" on the machine with the application server and it used NT authentication. I have supplied an NT userid and password that has appropriate rights on the database "cashbook".
When I write a java standalone program, it does connect but via a servlet it does not connect.
Can some guide me with this problem please ?
Anything one might have observed in the past ? (may be specific to iPlanet ?)
Thanks a lot in advance
~SunilI'm using iPlanet App server as well and experiencing similar problem. I load my SQL Server driver by Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver"), then use DriverManager.getDriver() to obtain the Driver.
However, the Driver returned is not the SQLServerDriver as expected. The Driver returned is com.netscape.server.jdbc.Driver! And then when I do Driver.getConnection("jdbc:microsoft:sqlserver://MyServer"), it throws an SQLException saying that it doesn't accept a jdbc:microsoft:sqlserver subprotocol. Well, of course it doesn't, it's not a microsoft Driver at all.
I suspect the problem is that the netscape Driver's acceptsURL() method ALWAYS returns true in iPlanet app server, thus when you getDriver(), the netscape Driver is always returned (and always returned as the first one since it's default?). Thus even though the same piece of code works fine as a standalone application, it just doesn't work on iPlanet app server.
My work around is:
Class.forName("my.Driver");
Enumeration enu = DriverManager.getDrivers();
Driver useThis = null;
while (enu.hasMoreElements()) {
Driver d = (Driver)enu.nextElement();
if (d.getClass().toString().indexOf("my.Driver") > -1) {
useThis = d;
Mind that my above code does not have an performance issue. If you look into the source code of how DriverManager get a Driver for a particular URL, it also loads the whole set of available Drivers, then call acceptsURL() method on each of them to find the first "suitable" one. Thus time complexity is the same.
I know this is not a very elegant solution and it defeats the purpose of having a DriverManager. Does any one else has a better way to solve this problem, like a way to specify the priority of each Driver so that SQLServerDriver is returned before the netscape Driver?
Thanks a lot. -
Strange problem with connection to Integrator Server
Hi,
I have a strange problem with making a connection to my Integrator Server.
I have one workspace folder that I share between Integrator version 2.4 and 3.0 (I have several versions installed for testing purposes)
When I try to create a new Integrator Server Project in Integrator Designer I get this nice 'Connect to CloverETL Server' panel.
By default: the connection URL is http://localhost:8080/clover. So by default Integrator Designer wants to connect to my 2.4 Integrator Server.
When I change this to http://localhost:8301/clover by using the drop-down box and fill in my credentials everything is looking fine. I click Next.
The problem now is that every time I switch to the next or previous configuration windows the connection is reset to the default http://localhost:8080/clover.
So it seems like Integrator Designer resets the CloverETL Server URL each time I switch to a different configuration window by using NEXT or BACK.
The problem occurs in both versions of Integrator Designer.
Does anybody know that the problem is? Can I change the default URL to my 3.0 Integrator Server?
Greetings,
Marcow
Edited by: Marco Snels (AortaBI)(NL) on 31-mei-2013 4:59I'm using iPlanet App server as well and experiencing similar problem. I load my SQL Server driver by Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver"), then use DriverManager.getDriver() to obtain the Driver.
However, the Driver returned is not the SQLServerDriver as expected. The Driver returned is com.netscape.server.jdbc.Driver! And then when I do Driver.getConnection("jdbc:microsoft:sqlserver://MyServer"), it throws an SQLException saying that it doesn't accept a jdbc:microsoft:sqlserver subprotocol. Well, of course it doesn't, it's not a microsoft Driver at all.
I suspect the problem is that the netscape Driver's acceptsURL() method ALWAYS returns true in iPlanet app server, thus when you getDriver(), the netscape Driver is always returned (and always returned as the first one since it's default?). Thus even though the same piece of code works fine as a standalone application, it just doesn't work on iPlanet app server.
My work around is:
Class.forName("my.Driver");
Enumeration enu = DriverManager.getDrivers();
Driver useThis = null;
while (enu.hasMoreElements()) {
Driver d = (Driver)enu.nextElement();
if (d.getClass().toString().indexOf("my.Driver") > -1) {
useThis = d;
Mind that my above code does not have an performance issue. If you look into the source code of how DriverManager get a Driver for a particular URL, it also loads the whole set of available Drivers, then call acceptsURL() method on each of them to find the first "suitable" one. Thus time complexity is the same.
I know this is not a very elegant solution and it defeats the purpose of having a DriverManager. Does any one else has a better way to solve this problem, like a way to specify the priority of each Driver so that SQLServerDriver is returned before the netscape Driver?
Thanks a lot. -
Adobe Cirrus:Problems with connection to Cirrus Server
Hello!
I am developing applications for the Cirrus.
Such a problem:
On some computers, connections to Cirrus server is a long time, sometimes more than 2 minutes ... And sometimes it does not connect(NetConnection.Connect.Failed).
Possible to fix it? Maybe, somebody know explanation of this?
Thanks!I made this little test to try to check what is wrong:
while(true){
Connection conn = openConnection();
closeConnection(conn);
Opening Connection:com.microsoft.sqlserver.jdbc.SQLServerConnection@1835282
Closing Connection: com.microsoft.sqlserver.jdbc.SQLServerConnection@1835282
Closed
... and it keeps running and running but nothing else happens.This is just what you coded up.
You'll never exit that loop. while (true) {} runs forever unless you put something inside it to break out, and you did not.
Looks like the code did exactly what you asked it to. You just didn't know what you were asking.
Here's what I would do:
Connection conn = null;
try
conn = DriverManager.createConnection(url, username, password);
DatabaseMetaData meta = conn.getMetaData();
String product = meta.getDatabaseProductName();
String version = meta.getDatabaseMajorVersion();
System.out.println("vendor: " + vendor);
System.out.println("version: " + version);
catch (SQLException e)
e.printStackTrace();
finally
// static method with try/catch block
close(conn);
}This will be better.
% -
My other Imacs and my wife's Ipad 3 have no problem with conneccting. My Ipad keeps coming up with unable to join the network. Nothing has changed with passwords--it just refuses to join my secure network. A couple minutes ago, it connected for 10 seconds, then dropped the connection. Is there a way to reconfigure the Ipad to fix this major problem, as we dropped our carrier (saved a bunch of money) and just went wifi.
Thanks so much for any help with resolving my connection problem.
GaryHello jaxgaryj,
The following article provides a number of potential resolutions for your WiFi issues.
iOS: Troubleshooting Wi-Fi networks and connections
http://support.apple.com/kb/TS1398
Cheers,
Allen -
Problem with connection to SQl Server ( charecter set cp1255 not found )
Hello my name is Ron ,
i want to connect to SQL SERVER with the microsoft driver
from Java ( with jDeveloper ) .
then i did the following steps:
1) i download and install the jdbc driver for Sql server
on my machine ( windows XP with , JDK 1.3 )
2) i update my classpath with the .Jar lib file of the driver .
3) when creating the connection
i'm using the
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
this is Ok , the driver was loaded .
4) when trying the GetConnction
Connection conn = DriverManager.getConnection
("jdbc:microsoft:sqlserver://server1:1433","username","secret");
i get the following error:
[Microsoft][SQLServer 2000 Driver for JDBC]Character set CP1255 not found in com.microsoft.util.transliteration.properties.
please help me with this . any idea ?
thanks in advance
RoniRon,
Try following this document
http://otn.oracle.com/products/jdev/howtos/bc4j/bc_psqlserverwalkthrough.html
from the how-tos archive.
Also, try to change the compiler encoding to UTF-8. you do this in the project setting window.
http://otn.oracle.com/products/jdev/htdocs/vcmigration/weblogic/unicode.gif
http://otn.oracle.com/products/jdev/htdocs/vcmigration/weblogic/unicode2.gif
good luck -
Problem with connecting remote OPC Server
Today, when I opened my labveiw 8 program which worked properly yesterday, it couldn't connect to the Items on remote OPC server anymore thought I can still browse those items in Server Explorer. In the NI published variable monitor, quality for those items is "Server failure", Then I added a new variable which bind to a local OPC item, it works properly. What's the difference between labview8 and Server Explorer when they are used to view a OPC Item?
LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cnI've solved the problem, the reason is that the NI variable engine log on as the system account, I changed it to the specified user which I used it in DCOM config, then it's ok
the method is: computer management->Services->NI variable Engine->log on->this user...
LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn -
why cant itunes download songs from the itunestore,the download fails and thr error msg says check your connectivity,however the internet is connected and working fine.I did reinstall itunes
I have the same issue...I called Adobe and they said that Acrobat 8 is not compatible with Windows 7 ...so I tried installing the suite again without Acrobat and still the same issue....does anyone know if this issue is resolved by getting the new CS5 suite??? That is my only option it seems like...no one knows what's going on with the internet issue....even Adobe
HELP -
Problem with Connection to message server "DB-Connect Failed, Return Code "
Hello,
I have the problem that disp+work exe start but after one minute the precedure stopped. The Messages in syslog are "Message server disconnected DB-Connect Failed, Return Code 008192. Can anybody help me?
Best regards Mohamedtrc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Tue Oct 09 19:07:25 2007
B create_con (con_name=R/3)
B Loading DB library 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll' ...
B Library 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll' loaded
B Version of 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll' is "700.08", patchlevel (0.72)
B New connection 0 created
M sysno 70
M sid BI7
M systemid 560 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 80
M intno 20050900
M make: multithreaded, ASCII, optimized
M pid 7580
M
M kernel runs with dp version 217(ext=109) (@(#) DPLIB-INT-VERSION-217)
M length of sys_adm_ext is 360 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 7580) [dpxxdisp.c 1301]
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M DpShMCreate: sizeof(wp_adm) 11440 (880)
M DpShMCreate: sizeof(tm_adm) 3397704 (16904)
M DpShMCreate: sizeof(wp_ca_adm) 18000 (60)
M DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
M DpShMCreate: sizeof(comm_adm) 528048 (1048)
M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1196)
M DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 06350040, size: 4024776)
M DpShMCreate: allocated sys_adm at 06350040
M DpShMCreate: allocated wp_adm at 063519F0
M DpShMCreate: allocated tm_adm_list at 063546A0
M DpShMCreate: allocated tm_adm at 063546D0
M DpShMCreate: allocated wp_ca_adm at 06691F18
M DpShMCreate: allocated appc_ca_adm at 06696568
M DpShMCreate: allocated comm_adm at 06697CD8
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 06718B88
M DpShMCreate: allocated gw_adm at 06718BC8
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 06718BF8
M DpShMCreate: allocated wall_adm at 06718C00
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation flat
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M ThInit: running on host ATTNWSRV
M
M Tue Oct 09 19:07:26 2007
M calling db_connect ...
C Process 7580
C GetProfileParameter( wait_and_see ) returned [<null>]
C GetProfileParameter( deadlock_priority ) returned [<null>]
C GetProfileParameter( packet_size ) returned [8192]
C GetProfileParameter( rpc_batch ) returned [<null>]
C batched RPC will be used
C GetProfileParameter( dbsl_profile ) returned [1]
C dbsl profile written to dbsl_w0
C GetProfileParameter( pn_cache_size ) returned [20000]
C GetProfileParameter( par_stmt_cache_size ) returned [500]
C GetProfileParameter( dbcon_pn_size ) returned [<null>]
C GetProfileParameter( dbcon_par_stmt_cache_size ) returned [<null>]
C GetProfileParameter( stats_on ) returned [1]
C GetProfileParameter( network ) returned [<null>]
C GetProfileParameter( sp_prefix ) returned [<null>]
C GetProfileParameter( rdisp/TRACE ) returned [1]
C GetProfileParameter( set_rowcount ) returned [<null>]
C GetProfileParameter( set_fast1 ) returned [<null>]
C GetProfileParameter( use_integrated_security ) returned [<null>]
C GetProfileParameter( conn_str ) returned [<null>]
C GetProfileParameter( ignore_moduledrop ) returned [<null>]
C GetProfileParameter( use_cursor ) returned [<null>]
C GetProfileParameter( cursor_type ) returned [<null>]
C GetProfileParameter( fupd_cursor_type ) returned [<null>]
C GetProfileParameter( set_topn ) returned [<null>]
C GetProfileParameter( short_col_headers ) returned [<null>]
C GetProfileParameter( update_with_updlock ) returned [<null>]
C GetProfileParameter( maxincnt ) returned [<null>]
C GetProfileParameter( transmit_defaults ) returned [<null>]
C GetProfileParameter( square_brackets ) returned [<null>]
C GetProfileParameter( with_recompile ) returned [<null>]
C GetProfileParameter( max_duration ) returned [<null>]
C GetProfileParameter( irow_supported ) returned [<null>]
C GetProfileParameter( ins_block_increment ) returned [<null>]
C GetProfileParameter( max_ins_block_columns ) returned [<null>]
C GetProfileParameter( unc_rd_begin_tran ) returned [<null>]
C GetProfileParameter( use_rpc_call_string ) returned [<null>]
C GetProfileParameter( perm_stmt_reuse_cnt ) returned [<null>]
C GetProfileParameter( batch_stmt_reuse_cnt ) returned [<null>]
C GetProfileParameter( temp_stmt_reuse_cnt ) returned [<null>]
C GetProfileParameter( prepare ) returned [<null>]
C GetProfileParameter( par_stmt_prepare ) returned [<null>]
C GetProfileParameter( profile_with_timestamp ) returned [<null>]
C GetProfileParameter( no_utab_workaround ) returned [<null>]
C GetProfileParameter( use_block_fetch ) returned [<null>]
C GetProfileParameter( connect_retries ) returned [<null>]
C GetProfileParameter( connect_timeout ) returned [<null>]
C GetProfileParameter( use_system_locale ) returned [<null>]
C GetProfileParameter( ignore_stmtids ) returned [<null>]
C GetProfileParameter( recompile_par_stmts ) returned [0]
C GetProfileParameter( subst_params ) returned [<null>]
C GetProfileParameter( provider ) returned [<null>]
C GetProfileParameter( lob_rc ) returned [<null>]
C GetProfileParameter( buffer_cvarlobs ) returned [<null>]
C GetProfileParameter( allow_multipleconnections ) returned [<null>]
C GetProfileParameter( fupdorder ) returned [<null>]
C GetProfileParameter( no_vbdata_workaround ) returned [<null>]
C GetProfileParameter( use_mars ) returned [<null>]
C GetProfileParameter( as_c ) returned [<null>]
C GetProfileParameter( save_stmt_string ) returned [<null>]
C GetProfileParameter( server ) returned [ATTNWSRV]
C GetProfileParameter( user ) returned [<null>]
C GetProfileParameter( passwd ) returned [<null>]
C GetProfileParameter( dbname ) returned [BI7]
C GetProfileParameter( schema ) returned [dbo]
C Warning: Env(MSSQL_SCHEMA) [bi7] <> Prof(dbs/mss/schema) [dbo]. Profile value will be used.
C GetProfileParameter( auth/shadow_upgrade ) returned [<null>]
C GetProfileParameter( add_procs ) returned [<null>]
C Thread ID:7584
C Thank You for using the SLOLEDB-interface
C Using dynamic link library 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll'
C dbmssslib.dll patch info
C patchlevel 0
C patchno 72
C patchcomment MSSQL: Thread check in DbSlDisconnect (969143)
C COMPUTERNAME: ATTNWSRV
C np:(local) connection used on ATTNWSRV
C CopyLocalParameters: dbuser is 'dbo'
C Formatted connect string : [Driver=SQL Server;Server=np:(local);Trusted_Connection=yes;WSID=ATTNWSRV;APP=R3D00(0)comm rd [MDAC] OLEDB]
C
C Tue Oct 09 19:07:27 2007
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C OpenOledbConnection: MARS property was not set.
C Packet size is set to: 8192
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C Packet size is set to: 8192
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C Packet size is set to: 8192
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C failed to establish conn to np:(local).
C Retrying without protocol specifier: (local)
C Formatted connect string : [Driver=SQL Server;Server=(local);Trusted_Connection=yes;WSID=ATTNWSRV;APP=R3D00(0)comm rd [MDAC] OLEDB]
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C Packet size is set to: 8192
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C Packet size is set to: 8192
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C
C Tue Oct 09 19:07:28 2007
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C Packet size is set to: 8192
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C failed to establish conn. 0
B ***LOG BY2=> sql error 0 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> <message text not available> [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 0 performing CON [dblink#3 @ 431] [dblink 0431 ]
B ***LOG BY0=> <message text not available> [dblink#3 @ 431] [dblink 0431 ]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1411]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10169]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M control_flag = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M vm = no VM
M
M *****************************************************************************
M *
M * LOCATION SAP-Server ATTNWSRV_BI7_70 on host ATTNWSRV (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Tue Oct 09 19:07:28 2007
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10367
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 720]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 7580) [dpnttool.c 327]
Maybe you are looking for
-
VISA troublesho​oting with puTTY
I am attempting to talk to a device through USB but it acts as a COM port/ serial connection through a driver. I am writing commands to the device, and the the bytes in port vi shows that bytes are being written to the device, yet the device does not
-
JDBC Driver errors after installing Security Update 04-2007
After installing the latest security update for 10.4.9, My JDBC driver is no longer working. I'm running PHP & Mysql as a localhost for dev and I know that both are running but are not speaking to each other. I use SQL4X Manager to manage my DB and t
-
Need advice about headphones and splitter for HP EliteBook
Hello, I would like some advice about what headphones and headphones splitter I should use for an HP EliteBook. I am going on a plane trip with my kids, and I plan to get them both Leapfrog headphones. However, I need a headphone splitter so that the
-
10g WebUtil and Forms 9i?
I had trouble with an earlier version of WebUtil. Does the latest version, 10g WebUtil, work in Forms 9i? Thanks. gk
-
1.4.1 Windows XP: Raw files not showing
I downloaded a lot of files from my camera (where I'm shooting Camera Raw and Jpeg), but only the jpeg files are visible in the filmstrip. I assume I've changed some setting inadvertently but can't imagine what. If I just look in the folder from CS3,