Bad packet type
I am running a JAVA applet which connects to Oracle. When I run the applet on my local machine with a local Oracle database everything runs fine. When I change the connect string and move it to the production server and then try to acces it through the browser on my machine I get the error "java.sql.SQLException: Io exception: Bad packet type". Any ideas would be appreciated. Thanks. Glenn...
Hope you are making sure that the applet and HTML page is being served out from the same machine that has the Oracle Database. You may even run into a security error if one is referenced by IP and one by server name.
Similar Messages
-
Bad packet error when link oracle
Need help! Please give me your hand.
Error java.sql.SQLRecoverableException: Io Exception: Bad packet type occurs when I run the application. Here are details:
I worked under Red Hat Enterprise linux 5, Jdk1.6.0_10, Oracle 10.2.0.1. I had downloaded ojdbc6.jar, put it in _/usr/java/jdk1.6.0_10/lib/_, and changed my /etc/profile:
JAVA_HOME=/usr/java/jdk1.6.0_10
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:*$JAVA_HOME/lib/ojdbc6.jar*
export JAVA_HOME
export PATH
export CLASSPATH
Part of my java application:
import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.sql.*; import oracle.jdbc.driver.*; try{ Class.forName("oracle.jdbc.driver.OracleDriver"); conn=java.sql.DriverManager.getConnection("jdbc:oracle:thin:@localhost.localdomain:1158:orcl","system","zhonghuafy"); /* other code--I had already annotated it */ JOptionPane.showMessageDialog(null,"conn Succeed!","Welcome",JOptionPane.INFORMATION_MESSAGE); } catch(Exception e){ JOptionPane.showMessageDialog(null,"Database Link Error! \n"+e,"ERROR",JOptionPane.ERROR_MESSAGE); }
But when I run it, it seemed that something was wrong:
oracle@localhost ~$ javac testoracle.java
oracle@localhost ~$ java testoracle
errorjava.sql.SQLRecoverableException: Io Exception: Bad packet type
I don't know what's wrong. Please do me a favor!
Thank you!Thanks for your kindness! It worked! Yeah... I was confused by those ports. I thought the port using in url in jdbc is the one in em. The em address is http://localhost.localdomain:1158/em for orcl instance. Oh my God!
Thank you! -
RCU Database Coneection Details "Bad Packect Type" error
Hi,
I am installing oracle soa suite 11.1.1.2.0, In RCU wizard, shows "Bad Packect Type" error, anybody give me a details how to i solve this issue
I am providing following details
Databasetype: Oracle Database
Host: localhost
port: 5560
servicename: xe
username: sys
password: tiger
ROLE: SYSDBA
It shows Bad packet type,In Database connection details pageHi,
Here are some pre-RCU-run you can perform:
1) Check if you service is up and running.
2) Try to connect to the DB separately using a tool/IDE like SQL Developer, JDeveloper, Toad, etc.
3) Try to run RCU from a different machine. May be there are some Port conflicts.
Thanks,
Sanjay -
Why is the AEBS bottlenecking my ReadyNAS devices leading to bad packets and TCP Retransmits?
Bad Packets Unrecovered TCP Retransmits TCP Retransmits w ReadyNAS NV NV+ and Airport Extreme Base Station 5th Generation
I got an Airport Extreme Base Station (AEBS), 5th generation this past November to bring my entire network up to gigE standards and extend my wireless range a bit. I have really liked the AEBS 5th Gen overall since I got it 3 months ago. It was easy to setup and update and things have been noticeably faster. I can also easily take my netbook, laptop, and iPad out to my shop some 80 feet away from my AEBS and still surf rather well wirelessly too. I couldn't do this even with my previous D-Link wireless-n setup.
In December I picked up an old ReadyNAS NV+ to go along with my old ReadyNAS NV. When I finally started to setup the new network for my business in February, I noticed in the logs that I was getting a large numbers of bad packets, TCP retransmits, and unrecovered TCP retransmits. Previously, I had never had errors of any sort with any older network setups using linksys, dlink and netgear routers during the last 6 years.
Eventually cables, switches, and routers can go bad which results in the errors I have been getting so I went through the "Troubleshoot My Performance Problem/Check for Network Errors" section of the link below to try and figure out what was causing my problem.
(http://www.readynas.com/?p=310#Troubleshoot)
My Initial Setup:
Airport Extreme Base Station (AEBS):
- 1 incoming Cat5e from Motorola Surfboard 6120,
- 2 Cat5e connections to my wifes work network with her business computer and VOIP phone.
- 1 Cat 5e interconnecting the AEBS to my wired network on the HP Procurve Switch.
The AEBS manages addresses via DHCP on my wired network for all of my devices on the HP Procurve 14008G Switch:
- 1 to NV
- 1 NV+
- 1 MacMini 2010
- 1 MacMini 2005
- 1 networked Epson R-3000 printer
1. Simple things first. Since I have always made all my own Cat 5e cable I figured I'd better get some better(?) cabling strait away. I went ordered new Cat 6 and Cat 6a cables to connect the NV, NV+, and my main Mac to the switch and connect the switch to the AEBS. The errors kept coming.
2. Then I separately connected each NAS unit directly to my computer by setting up the static IP on my computer first. Once I reconnected each ReadyNAS with the computer directly they defaulted to a static IP. Neither NAS had errors.
(http://sphardy.com/web/readynas/how-to-direct-connect-to-your-readynas/)
3. Errors were coming from either a bad Procurve 1400 switch or a bad AEBS. I hooked everything directly to my Airport Extreme and got lots of errors.
4. I decided to check the switch also. I altered each ReadyNAS's default static IP to one of my choosing individually. Then I hooked both ReadyNAS units to my HP Procurve 1400 switch. I hooked the switch directly to my computer and got no errors from either NAS. I continue to get no errors the next day.
5. When I first ran my tests I had Jumbo Frames turned Off. Currently, Jumbo Frames are On and there are still no errors and seems to be no slowness either.
Conclusion:
The Airport Extreme is the bottleneck causing the errors in my network.
Perhaps there is something I can alter which will rid me of the errors, but this type of error makes the AE seem to be pretty shoddy. A newer state-of-the-art router should not be bottlenecking my rather archaic slow network devices. Apparently, the 4th Gen AEBS's couldn't do Jumbo Frames, but this current model is supposed to, but I see no setting for changing the MTU.
Questions:
What could be causing the bottleneck?
Do I have a bad router?
How could I analyze this problem?
Has anyone else had similar issues and if so how were they resolved?
Current Setup:
All of my computers and NAS devices are hooked to my Procurve Switch each with its own Static IP.
The switch is working flawlessly with no Errors.
The network printer is now wireless and connected via the AEBS.
I am using wireless-n to connect to internet via the AEBS on my main machine.
I am sharing the internet connection with the other Mac Mini on the switch and any other machine I plug into the switch (not ideal).
Problem is:
I am not a systems administrator and don't really want to tinker with setting up Static IP's for the machines I hook and unhook to the switch.
I want the AEBS to manage addresses via DHCP so everything accessing my router will mindlessly be able to access all things on my network.
Can the AEBS be made to not produce errors or do I just have a lemon.Hi Bob,
That's the strange thing. When I had both GHz channels working on one SSID, once in a while my iMAC would pick the 5 GHz channel (44 seems the best for me). I always use channel 1 for 2.4 GHz because I get the fastest speeds with it.
When the iMac would pick 5 GHz, the slowdown was very obvious. As I explained in my (long) first post, I immediately felt the difference. Now the $50K question - since the 5 GHz channel at that point was stronger than the 2.4 GHz one, why wasn't the speed faster? Why was it so slow compared to 2.4 GHz? That's what rattling my brain. If the 5 GHz signal's strong enough to get picked by my iMac, then why isn't there a commensurate speed increase? There must be something else going on here besides signal strength. If the 5 GHz spec says that I must have full strength to get 5 GHz speeds, then that makes sense. But I think it doesn't, that's why I believe I have a configuration problem somewhere, or a faulty AEBS.
I might add that my firmware's up-to-date in the AEBS and AX, and Airport Utility too.
I think heading to 4Runner's camp - even with high signal strength (and I would consider 3 of 4 bars high), the 5 GHz speeds aren't showing themselves.
Here's some snap's of my AEBX's setup:
I think my configuration's fine, although I've tried so many different options, I'm a little confused, but I know that changing the Multicast Rate doesn't have any noticeable effect on the speed. I also have "Use Wide Channels" checked, but as I said, the 5 GHz band is awfully slow for using both channels. I have set "N" only, so no "G" clients to slow it down.
Mind boggling! -
Unable to launch application from my machine:Bad MIME Type
Hi,
The following error message was printed when I tried to access the SwingSet2 demo from the Java Web Start site.
An error occurred while launching/running the application.
Title: SwingSet2
Vendor: Sun Microsystems, Inc.
Category: Download Error
Bad MIME type returned from server when accessing resource: http://java.sun.com/products/javawebstart/apps/SwingSet2.jnlp - text/html
Can you please suggest what is to be done to rectufy this problem?
Regards,
SatishBad MIME type returned from server when accessing
resource:
http://java.sun.com/products/javawebstart/apps/SwingSet
.jnlp - text/htmlit should return application/x-java-jnlp-file.
My guess is that you use proxy which messes up headers.
Otherwise try to reinstall Web Start, then enable the console and log output in Web Start's advanced preferences to get more clues what's going on.
Regards,
Marc -
RFC call from Delphi (Bad Variant Type error)
Well, I'm trying to call an RFC function from Delphi via ActiveX objects..
I have Codegear 2009 installed and it works without any problem..
But on another system with Delphi7 installed when I ran same code it gives "Bad Variant Type" error when assigning SapLogonControl's connection object to SapFunction's connection parameter... Both computers have same SAP installation. And on both systems ActiveX objects imported correctly on Delphi.
Here is the code:
unit logon1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, OleCtrls, StdCtrls, SAPFunctionsOCX_TLB,
Grids, SAPLogonCtrl_TLB;
type
TForm1 = class(TForm)
SAPFunctions1: TSAPFunctions;
Button2: TButton;
Grid: TStringGrid;
Edit1: TEdit;
Edit2: TEdit;
Label1: TLabel;
Label2: TLabel;
SAPLogonControl1: TSAPLogonControl;
procedure Button2Click(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form1 : TForm1 ;
Table, Funct, Connection : VARIANT ;
implementation
{$R *.DFM}
procedure TForm1.Button2Click(Sender: TObject);
begin
Connection := SAPLogoncontrol1.newConnection;
Connection.User := 'testuser';
Connection.System := 'CRD';
Connection.Client := '300';
Connection.ApplicationServer:= '10.1.1.10';
Connection.SystemNumber := '00';
Connection.Password := 'testpass';
Connection.Language := 'EN' ;
if Connection.LogOn(0,true) = true then
(* parameter "true" = SilentLogOn *)
begin
(* assign the existing connection to the *)
(* component SAPFunctions1 *)
SAPFunctions1.Connection := Connection; // It gives error on this line...
Funct := SAPFunctions1.add('ZGIS_TEST_FUNC');
end;
end;
end.
As I said while Codegear 2009 runs this code without any problem, Delphi 7 crashes on that assignment.. Also I tried outside Delphi, and the file compiled with Codegear works on both systems while the file compiled with Delphi 7 again crashes on buth systems...
Is there a problem with Delphi 7? Should I use at least Delphi 8 or something for compiling?Hi Hakan,
You must use Non-Unicode RFC library for Delphi 7.0.
( Bende Delphi 7.0 kullaniyorum. Ayni hatayi aldim. Unicode library kullanmistim. Kaldirip Non-Unicode olani kullandim. Su an hata yok. RFC cagirabiliyorum. )
Mustafa Yalcin -
After upgrading from an eMac to an Intel Mac Mini, I noticed that I needed to reinstall Xcode. Once I reinstalled Xcode (v2.4), I made some changes to one of my applications. After testing it fully on my new Mac, I copied the .app file to my old eMac and attempted to re-run. In doing so, I received the following error message:
"You cannot open the application 'NAME OF APPLICATION' because it may be damaged or incomplete."
So, in Terminal, I navigated through the Package Contents to the actual executable and tried to run it. I, then, received the following error:
"Bad CPU type in executable."
How do I correct this error, so it will run on both of my Macs??
THANKS IN ADVANCE!!
WBELL
eMac Specs:
1GHz, 768MB DDR, OSX 10.4.x
Mini Specs:
1.5GHz Core Solo, 1024MB DDR2, OSX 10.4.x
Mac Mini Mac OS X (10.4.7) 1.5GHz Core SoloHere are a couple of things to check...
First, from your screen shot it appears that the main.m file is from an older AS Studio application (ie is this a project that was originally created some time ago... perhaps under Project Builder?). The main.m file that gets included with relatively new AS Stdio apps looks like this:
<pre>
extern void ASKInitialize();
extern int NSApplicationMain(int argc, const char *argv[]);
int main(int argc, const char *argv[])
ASKInitialize();
return NSApplicationMain(argc, argv);
</pre>
So you may want to copy/paste the main.m code from a newly created AS Studio app into your (older?) existing project. I'm not sure the above problem would cause the failure to build a Universal app, but changing code in main.m may get rid of the warnings you're seeing.
But also, the screenshot made me wonder if your target(s) needs to be converted to the newer "native" target format (this is different from the "conversion" that Xcode does to an older project file). With your project open click on Xcode's "Project" menu... is the option "Upgrade 'YourTargetName' to Native Target" or "Upgrade all Targets in Project to Native" available? If so, I think you must convert to native targets in order to build universal binaries.
Hope this helps,
Steve -
This code is simply to prove my connection to SAP is working. So far, I'm unable to get it to work without getting the "Bad Variant Type" error.
<%@ Page Language="VB" Debug="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%
Dim fc As Object
Dim sapConn As Object
Dim PARTNERS_TAB As Object
Dim RETURN_TAB As Object
Dim Z_BAPI_FIND_CUSTOMERS As Object
Dim msg As String
Dim fld_type As String
Dim count As Integer
Dim index As Integer
Dim index2 As Integer
Dim cnt_sold_to As Integer
Dim cnt_ship_to As Integer
Dim retcd As Integer
msg = "start" & "<BR>"
fc = CreateObject("SAP.Functions")
fc.LogLevel = 9
fc.LogFileName = "C:temperrors.txt"
sapConn = CreateObject("SAP.Logoncontrol.1")
fc.Connection = sapConn.NewConnection()
'Pass the name of the system
fc.Connection.System = "TST"
fc.Connection.SystemNumber = "02"
'Pass the name of the Server
fc.Connection.ApplicationServer = "server.fqdn.net"
'Pass the name of the Client
fc.Connection.client = 100
'Pass the name of the USER
fc.Connection.user = "username"
'Pass the name of the Password
fc.Connection.Password = "password"
'Pass the name of the Language
fc.Connection.language = "EN"
'Log On to the SAP System
retcd = fc.Connection.Logon(0, True)
If (retcd = False) Then
msg = msg & "SAP Logon Failed." & "<BR>"
Else
msg = msg & "logon success / setting vars" & "<BR>"
Z_BAPI_FIND_CUSTOMERS = fc.Add("Z_BAPI_FIND_CUSTOMERS")
Z_BAPI_FIND_CUSTOMERS.Exports("SOLDTO_NAME") = "Customer Name"
Z_BAPI_FIND_CUSTOMERS.Exports("SOLDTO_CITY") = "CHICAGO"
'Z_BAPI_FIND_CUSTOMERS.Exports("SOLDTO_NBR")
Z_BAPI_FIND_CUSTOMERS.Exports("SHIPTO_NAME") = "Customer Name"
Z_BAPI_FIND_CUSTOMERS.Exports("SHIPTO_CITY") = "BAYONNE"
Z_BAPI_FIND_CUSTOMERS.Exports("SHIPTO_STATE") = "NJ"
'Z_BAPI_FIND_CUSTOMERS.Exports("SHIPTO_NBR")
msg = msg & "calling func" & "<BR>"
If (Z_BAPI_FIND_CUSTOMERS.Call() <> True) Then
msg = msg & "func fail" & "<BR>"
Else
msg = msg & "func success" & "<BR>"
RETURN_TAB = Z_BAPI_FIND_CUSTOMERS.Tables("RETURN_TAB")
fld_type = RETURN_TAB.Value("TYPE")
If ((fld_type = "M") Or (fld_type = "N")) Then
msg = msg & fld_type & " " & RETURN_TAB.Value("MESSAGE") & "<BR>"
Else
msg = msg & "parameters are correct <BR>"
PARTNERS_TAB = Z_BAPI_FIND_CUSTOMERS.Tables("PARTNERS_TAB")
' Results
count = PARTNERS_TAB.Rows.Count
msg = msg & "partner rows: " & CStr(count) & "<BR>"
If (count > 2) Then ' we have more than one soldto or shipto
cnt_sold_to = 0
cnt_ship_to = 0
For index = 1 To PARTNERS_TAB.Rows.Count
If (PARTNERS_TAB.Value(index, "PARTN_ROLE") = "AG") Then
cnt_sold_to = cnt_sold_to + 1 ' PARTN_ROLE = "AG"
Else
cnt_ship_to = cnt_ship_to + 1 ' PARTN_ROLE = "WE"
End If
Next ' go to next record in partner_tab
msg = msg & "sold to: " & CStr(cnt_sold_to) & " ship to: " & CStr(cnt_ship_to) & "<BR>"
End If ' count of partners_tab > 2 we *may* need to do something about it here - fix me
msg = msg & "<table>"
For index = 1 To PARTNERS_TAB.Rows.count
msg = msg & "<tr>"
For index2 = 1 To 8
msg = msg & "<td>" & PARTNERS_TAB.Value(index, index2) & "</td>"
Next
msg = msg & "</tr>"
Next
msg = msg & "</table>"
'If ((cnt_sold_to = 1) And (cnt_ship_to = 1)) Then ' we only have one soldto and one shipto
' Results.Visible = False
'Else ' we have more than one shipto or soldto - fix me
End If
End If
End If
msg = msg & "<br>DONE!"
Response.Write(msg)
Response.End()
%>
The error occurs when I make the call to fc.add.It seems the fc.Connection and the RETURN_TAB.Value needed (row, field) to solve the problem.
For reasons I do not understand, I had to create a separate connection
object and assign the handle of it to the function control handle.
The RETURN_TAB.Value(row, field) was a syntax error on my part.
Here is the updated, working code:
<%@ Page Language="VB" Debug="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%
Dim fc As Object
Dim sapConn As Object
Dim PARTNERS_TAB As Object
Dim RETURN_TAB As Object
Dim msg As String
Dim fld_type As String
Dim count As Integer
Dim index As Integer
Dim index2 As Integer
Dim cnt_sold_to As Integer
Dim cnt_ship_to As Integer
Dim retcd As Integer
msg = "start" & "<BR>"
fc = CreateObject("SAP.Functions")
fc.LogLevel = 9
fc.LogFileName = "C:temperrors.txt"
sapConn = CreateObject("SAP.Logoncontrol.1")
Dim conn As Object = sapConn.NewConnection()
'Pass the name of the system
conn.System = "TST"
conn.SystemNumber = "99"
'Pass the name of the Server
conn.ApplicationServer = "server.domain.com"
conn.MessageServer = "server.domain.com"
'Pass the name of the Client
conn.client = 999
'Pass the name of the USER
conn.user = "USER_NAME"
'Pass the name of the Password
conn.Password = "PASSWORD"
'Pass the name of the Language
conn.language = "EN"
'Log On to the SAP System
retcd = conn.Logon(0, True)
If (retcd = False) Then
msg = msg & "SAP Logon Failed." & "<BR>"
Else
fc.Connection.ConnectionHandle = conn.ConnectionHandle
msg = msg & "logon success / setting vars" & "<BR>"
Dim Z_BAPI_FIND_CUSTOMERS As Object = fc.Add("Z_BAPI_FIND_CUSTOMERS")
Z_BAPI_FIND_CUSTOMERS.Exports("SOLDTO_NAME") = "CUSTOMER NAME"
Z_BAPI_FIND_CUSTOMERS.Exports("SOLDTO_CITY") = "CITY"
'Z_BAPI_FIND_CUSTOMERS.Exports("SOLDTO_NBR")
Z_BAPI_FIND_CUSTOMERS.Exports("SHIPTO_NAME") = "CUSTOMER NAME"
Z_BAPI_FIND_CUSTOMERS.Exports("SHIPTO_CITY") = "CITY"
Z_BAPI_FIND_CUSTOMERS.Exports("SHIPTO_STATE") = "ZZ"
'Z_BAPI_FIND_CUSTOMERS.Exports("SHIPTO_NBR")
msg = msg & "calling func" & "<BR>"
If (Z_BAPI_FIND_CUSTOMERS.Call() <> True) Then
msg = msg & "func fail" & "<BR>"
Else
msg = msg & "func success" & "<BR>"
RETURN_TAB = Z_BAPI_FIND_CUSTOMERS.Tables("RETURN_TAB")
fld_type = RETURN_TAB.Value(1,"TYPE")
If ((fld_type = "M") Or (fld_type = "N")) Then
msg = msg & fld_type & " " & RETURN_TAB.Value(1,"MESSAGE") & "<BR>"
Else
msg = msg & "parameters are correct <BR>"
PARTNERS_TAB = Z_BAPI_FIND_CUSTOMERS.Tables("PARTNERS_TAB")
' Results
count = PARTNERS_TAB.Rows.Count
msg = msg & "partner rows: " & CStr(count) & "<BR>"
If (count > 2) Then ' we have more than one soldto or shipto
cnt_sold_to = 0
cnt_ship_to = 0
For index = 1 To PARTNERS_TAB.Rows.Count
If (PARTNERS_TAB.Value(index, "PARTN_ROLE") = "AG") Then
cnt_sold_to = cnt_sold_to + 1 ' PARTN_ROLE = "AG"
Else
cnt_ship_to = cnt_ship_to + 1 ' PARTN_ROLE = "WE"
End If
Next ' go to next record in partner_tab
msg = msg & "sold to: " & CStr(cnt_sold_to) & " ship to: " & CStr(cnt_ship_to) & "<BR>"
End If ' count of partners_tab > 2 we *may* need to do something about it here - fix me
msg = msg & "<table>"
For index = 1 To PARTNERS_TAB.Rows.count
msg = msg & "<tr>"
For index2 = 1 To 8
msg = msg & "<td>" & PARTNERS_TAB.Value(index, index2) & "</td>"
Next
msg = msg & "</tr>"
Next
msg = msg & "</table>"
'If ((cnt_sold_to = 1) And (cnt_ship_to = 1)) Then ' we only have one soldto and one shipto
' Results.Visible = False
'Else ' we have more than one shipto or soldto - fix me
End If
End If
End If
msg = msg & "<br>DONE!"
Response.Write(msg)
Response.End()
%> -
SOAPExceptionImpl: Bad endPoint type
Hi,
I am using SoapClient to send out my web services. It is running normally in my environment, but when I uploaded the files onto a web hosting site and run it from there, i encountered the below error.
java.lang.RuntimeException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Bad endPoint type https://webservices.sabre.com/websvc at webservices.client.AvailWsdlClient.startConversation(AvailWsdlClient.java:149)
(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686) at java.lang.Thread.run(Thread.java:619) Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Bad endPoint type https://webservices.sabre.com/websvc at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:149) at webservices.client.SoapClient.sendSoapMessage(SoapClient.java:123) at webservices.client.AvailWsdlClient.startConversation(AvailWsdlClient.java:128) ... 23 more
I read up some forums and found this, http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6619327
Extracted from the url:
Such code as
SOAPConnection con = conFactory.createConnection();
con.call(message, new URLEndpoint("http://localhost/"));
worked well in java 5.0 but in java 6.0 it fails with "SOAPExceptionImpl: Bad endPoint type"
However, I tested with Java 6.0 and it still works.
Anyone has come across this error and can share your solution?
Thank you in advance.
Edited by: jduo on Mar 8, 2008 2:43 AMuse instead of URLEndpoint ([...|http://docs.sun.com/app/docs/doc/819-3669/bnbhy?l=en&a=view])
-
ORA-12592: TNS:bad packet
Hi There,
While executing a select * ..... operation on test environment on Oracle 10G im observing the following errors pretty frequently. could any one tell me what could be causing this issue. i have a sense that this has something related to database server rather from the application or the query that is being executed. any help of possible root cause would be appreciated very much.
Caused by: java.sql.SQLException: ORA-12592: TNS:bad packet
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:861)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1145)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1259)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3550)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at org.enhydra.jdbc.core.CorePreparedStatement.execute(CorePreparedStatement.java:82)
at com.rgb.core.server.persistence.spi.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:401)
at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteQuery(MappedStatement.java:222)
at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:190)
Regards,
bala.Caused by: java.sql.SQLException: ORA-12592: TNS:bad packet
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)Do you mind sharing where these errors are coming from? What sort of application are you using?
While executing a select * ..... operation on test environment on Oracle 10G
im observing the following errors pretty frequently. could any one tell me
what could be causing this issue. i have a sense that this has something related
to database server rather from the application or the query that is being executed.
any help of possible root cause would be appreciated very much.How certain are you that the problem is on the Database server side? Are there any other independent checks you have performed to confirm this?
Regards,
Phiri -
ORA-12592: TNS:bad packet While Executing Job
Hi,
I created a job to merge to tables from the same data store, I found that based on the volume is high then the job fails with the Error "ORA-12592:TNS:Bad Packet". Can anyone help me to sort this issue. Any Work around???Try this Note 534729 - Oracle errors due to network problems or check the" SQLNET.INBOUND_CONNECT_TIMEOUT = 120 " statement
-
Error:arch: posix_spawnp: osascript: Bad CPU type in executable
Hi, i am new to these issues
I use to be able to excute my frank-cucmber on Lion and now when i move to mountain lion and I get the following error
error:arch: posix_spawnp: osascript: Bad CPU type in executable
i read on the interent that mountain lion is not supporting 32 bit
so how can i solve the problem so 32 bit will be supported?You need a 64-bit version.
32-bit will never be supported on Mountain Lion. -
I get "Bad endPoint type" only on the server
I have a fairly simple program that receives JMS messages from an external queue and compiles the message into a SOAP query to a BPEL process. The Oracle App server & BPEL process is running on a Solaris system. I'm running 10.1.2 for the moment.
If I run my program on my windows developer's box, it receives the JMS message and successfully invokes the BPEL process on the BPEL App server thru the SOAP message.
If I install the same jars and configuration files on the Solaris box which hosts the BPEL App server, I get a "Bad endPoint type" exception(com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl) when I attempt to send the SOAP message to the server.
JAXM Exception; MSG: Bad endPoint type http://{url:port/orabpel/process}
What could be different? I know the VMs are different, but they are both of the 1.6 series. There must be some other issue, but I do not know where to look. I have verified it is the same URL string used in either case.This turns out to be an issue between running under java 1.5 or java 1.6. I can make the windows box have the same Bad Endpoint Type failure when running under the 1.6 VM. There must be a miss-match of jars when 1.6 is used since it has the SOAPConnectionFactory, etc... in its release while 1.5 relies entirely on the axis-saaj jar.
Has anyone had any experience with the transition from 1.5 to 1.6 and axis-saaj causing problems? -
Hi,
Solaris 10 running on Sun-Fire-V490 had a panic reboot with the following messages, any one aware of what kind of panic it was and what was the cause and resolution for this? Please help me.
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com ^Mpanic[cpu0]/thread=3000409f7a0:
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com unix: [ID 340138 kern.notice] BAD TRAP: type=31 rp=2a103985540 addr=4 mmu_fsr=0 occurred in mod
ule "qlog" due to a NULL pointer dereference
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com unix: [ID 100000 kern.notice]
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com unix: [ID 839527 kern.notice] fsck:
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com unix: [ID 520581 kern.notice] trap type = 0x31
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com unix: [ID 381800 kern.notice] addr=0x4
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com unix: [ID 101969 kern.notice] pid=15282, pc=0x7b292524, sp=0x2a103984de1, tstate=0x4414001601,
context=0x1de9
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com unix: [ID 743441 kern.notice] g1-g7: 700de800, 770, 18c7c00, 0, 0, 1de9, 3000409f7a0
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com unix: [ID 100000 kern.notice]
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 723222 kern.notice] 000002a103985260 unix:die+78 (31, 2a103985540, 4, 0, 2a1039853
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com %l4-7: 000000000181bea8 000000000181bc00 0000000000000000 0000000000000001
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 723222 kern.notice] 000002a103985340 unix:trap+9e0 (2a103985540, 0, 1fff, 5, 0, 1)
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 179002 kern.notice] %l0-3: 0000000000000000 0000060011cb9858 0000000000000031 00
00000000001c00
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com %l4-7: 0000000000000000 0000000000000001 ffffffffffffe000 0000000000000005
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 723222 kern.notice] 000002a103985490 unix:ktl0+48 (3000409f7a0, 6001dc88e00, 13, 0
, 0, 3000409f7a0)
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 179002 kern.notice] %l0-3: 0000000000000002 0000000000001400 0000004414001601 00
0000000101c030
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com %l4-7: 00000000000060b0 00000000018ca000 0000000000000000 000002a103985540
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 723222 kern.notice] 000002a1039855e0 qlog:ql_open+b0 (2a103985758, 2003, 0, 700de8
00, 0, 0)
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 179002 kern.notice] %l0-3: 0000000000000180 000006001b96d478 00000600215d5460 00
000000700dec00
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com %l4-7: 0000000000000000 000000ee00000000 000006001b96d478 0000000000000000
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 723222 kern.notice] 000002a1039856a0 specfs:spec_open+4f8 (2a103985930, 20, 300050
715c0, 201, 600215d5460, 0)
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 179002 kern.notice] %l0-3: 0000000000002003 000006001a10cac0 0000000000000000 00
00060024bb7940
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com %l4-7: 0000000000000004 0000000000008000 0000060011c02c88 000000ee00000000
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 723222 kern.notice] 000002a103985760 genunix:fop_open+78 (2a103985930, 2, 30005071
5c0, 2003, 6001a10cac0, 6001a10cac0)
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 179002 kern.notice] %l0-3: 0000030000c8f080 0000000000002000 0000000000000004 00
00060010058b00
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com %l4-7: 0000060010058080 0000060010058298 000000000061d636 0000000000000004
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 723222 kern.notice] 000002a103985810 genunix:vn_openat+500 (0, 0, 1, 0, 2003, 7fff
ffff)
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com genunix: [ID 179002 kern.notice] %l0-3: 0000000000000000 0000000000000002 0000000000000000 00
00000000000000
Dec 14 15:35:33 ux5slv13.ops.storagenetworks.com %l4-7: 0000000000000000 0000000000002000 0000000000000000 0000000000000000
Thanks
Mahalingam R.System is panicking in the qlog (QuickLog driver) kernel module which is provided by Symantec/Veritas and not Sun.
-
Panic[cpu1]/thread=30002f12060: BAD TRAP: type=31
Sun V240 panic with t5he following output:
# tail -f /var/adm/messages
Sep 24 15:52:24 [10.64.47.16.183.179] agent[21415]: [ID 695539 daemon.alert] syslog Sep 24 15:52:24 agent *** aborting execution ***
Sep 24 15:52:24 [10.64.47.16.183.179] agent[21415]: [ID 695539 daemon.alert] syslog Sep 24 15:52:24 agent *** aborting execution ***
Sep 24 15:53:29 [10.64.47.16.183.179] agent[23844]: [ID 440145 daemon.alert] syslog Sep 24 15:53:29 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 24 15:53:29 [10.64.47.16.183.179] agent[23844]: [ID 440145 daemon.alert] syslog Sep 24 15:53:29 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 24 15:53:29 [10.64.47.16.183.179] agent[23844]: [ID 617052 daemon.alert] syslog Sep 24 15:53:29 agent *** aborting execution ***
Sep 24 15:53:29 [10.64.47.16.183.179] agent[23844]: [ID 617052 daemon.alert] syslog Sep 24 15:53:29 agent *** aborting execution ***
Sep 24 15:54:35 [10.64.47.16.183.179] agent[26272]: [ID 134417 daemon.alert] syslog Sep 24 15:54:35 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 24 15:54:35 [10.64.47.16.183.179] agent[26272]: [ID 134417 daemon.alert] syslog Sep 24 15:54:35 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 24 15:54:35 [10.64.47.16.183.179] agent[26272]: [ID 336262 daemon.alert] syslog Sep 24 15:54:35 agent *** aborting execution ***
Sep 24 15:54:35 [10.64.47.16.183.179] agent[26272]: [ID 336262 daemon.alert] syslog Sep 24 15:54:35 agent *** aborting execution ***
panic[cpu1]/thread=30002f12060: BAD TRAP: type=31 rp=2a100feac60 addr=20 mmu_fsr=0 occurred in module "md" due to a NULL pointer dereference
nfsd: trap type = 0x31
addr=0x20
pid=10465, pc=0x12e5de0, sp=0x2a100fea501, tstate=0x9980001603, context=0x751
g1-g7: 4, 2000, 1900000, 1fff, 1c00, 751, 30002f12060
000002a100fea980 unix:die+78 (31, 2a100feac60, 20, 0, 2a100feaa40, 107c400)
%l0-3: 00000000c0800000 0000000000000031 0000000001000000 0000000000002000
%l4-7: 000000000181a570 000000000181a400 0000000000000000 0000009980001603
000002a100feaa60 unix:trap+9d4 (2a100feac60, 0, 1fff, 5, 0, 1)
%l0-3: 0000000000000000 00000600084af8c0 0000000000000031 0000000000001c00
%l4-7: 0000000000000000 0000000000000001 ffffffffffffe000 0000000000000005
000002a100feabb0 unix:ktl0+48 (6, 0, 20, 70, 1905348, 1905000)
%l0-3: 0000000000000004 0000000000001400 0000009980001603 000000000101b304
%l4-7: 0000000000000000 0000000000000001 0000000000000000 000002a100feac60
000002a100fead00 7 (5500002004, 422, 0, ffffffff80200000, 1900000, 1)
%l0-3: 0000000000000004 0000000000000001 0000000000000008 0000000001904800
%l4-7: 000006000c4aadc0 000000000003ffff 000000000003fc00 0000000000000020
000002a100feadd0 specfs:spec_fsync+fc (6000c50a500, 10000, 60007e88fe0, 3, 0, 6000c50a000)
%l0-3: 000006000c18cb68 000006000c18cae0 0000000000002420 0000000000002000
%l4-7: 0000000000000000 000006000c4aadc0 0000000000000000 000006000c4aadc0
000002a100feafa0 genunix:fop_fsync+14 (6000c50a500, 10000, 60007e88fe0, f3, 0, 121cab0)
%l0-3: 0000060004a97580 0000000000002420 0000000000002000 0000000000000003
%l4-7: 0000060002234000 0000060004a97580 0000060004a97738 0000000000000062
000002a100feb050 nfssrv:rfs3_mknod+30c (2a100feb110, 2a100feb398, 600049e4840, 2a100feb3a0, 60007e88fe0, 2a100feb1a0)
%l0-3: 00000000ffffffff 0000060004ef8c00 ffffffffffffffff 0000000000002004
%l4-7: 0000000000000055 000002a100feb1a0 000002a100feb568 000002a100feb228
000002a100feb2b0 nfssrv:common_dispatch+444 (2a100feb698, 6000ac8fa80, 0, 600049e4840, 705a01b8, 7b32e4d4)
%l0-3: 0000000000001000 000000007059eb90 000000000000000b 000002a100feb398
%l4-7: 0000060007e88fe0 0000000000000000 0000000001901df8 000002a100feb398
000002a100feb5d0 rpcmod:svc_getreq+1c8 (6000ac8fa80, 60002324800, 6000b5501d0, 6000102dc80, 1902560, 6000b550040)
%l0-3: 0000000000000000 000006000b550040 0000000000000000 000006000ac8fad4
%l4-7: 0000060005218fc0 000000007b3271bc 0000000001872800 000006000b550360
000002a100feb720 rpcmod:svc_run+198 (6000b837980, 0, 0, 0, 6000b8379b8, 1)
%l0-3: 00000600084af8c0 000006000b8379c8 000006000ac8fa80 000006000102dc80
%l4-7: 0000000000000000 0000000000000000 000000000000000c 0000060002324800
000002a100feb7d0 nfs:nfssys+1c4 (c, 1, 7b2b3800, c, 1f8, 30)
%l0-3: 0000000000000000 0000000000000000 00000000cb050000 000000000000cb05
%l4-7: 0000000000000001 0000000000000000 0000000000000000 000000007b2b3938
syncing file systems... [1] 46 [1] 11 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 done (not all i/o completed)
dumping to /dev/md/dsk/d20, offset 859701248, content: kernel
100% done: 64894 pages dumped, compression ratio 5.02, dump succeeded
rebooting...
SC Alert: Host System has Reset
@(#)OBP 4.16.2 2004/10/04 18:22 Sun Fire V210/V240,Netra 240
Clearing TLBs
Loading Configuration
Membase: 0000.0012.0000.0000
MemSize: 0000.0000.4000.0000
Init CPU arrays Done
Init E$ tags Done
Setup TLB Done
MMUs ON
Scrubbing Tomatillo tags... 0 1
Block Scrubbing Done
Find dropin, Copying Done, Size 0000.0000.0000.6cb0
PC = 0000.07ff.f000.5ba8
PC = 0000.0000.0000.5c58
Find dropin, (copied), Decompressing Done, Size 0000.0000.0006.6870
Diagnostic console initialized
System Reset: CPU Reset
Probing system devices
jbus at 0,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
jbus at 1,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
jbus at 1f,0 pci
jbus at 1e,0 pci
jbus at 1c,0 pci
jbus at 1d,0 pci
Loading Support Packages: kbd-translator obp-tftp SUNW,i2c-ram-device SUNW,fru-device SUNW,asr
Loading onboard drivers:
/pci@1e,600000: Device 7 isa
/pci@1e,600000/isa@7: flashprom rtc i2c power serial serial serial rmc-comm
/pci@1e,600000/isa@7/i2c@0,320: i2c-bridge i2c-bridge motherboard-fru-prom chassis-fru-prom power-supply-fru-prom power-supply-fru-prom dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd rscrtc nvram idprom gpio gpio gpio gpio gpio gpio
Probing memory
CPU 0 Bank 0 base 0 size 2048 MB
CPU 0 Bank 1 base 100000000 size 2048 MB
CPU 0 Bank 2 base 200000000 size 2048 MB
CPU 0 Bank 3 base 300000000 size 2048 MB
CPU 1 Bank 0 base 1000000000 size 1024 MB
CPU 1 Bank 2 base 1200000000 size 1024 MB
ChassisSerialNumber FN54050325
Probing I/O buses
/pci@1d,700000: Device 2 network network
/pci@1f,700000: Device 2 network network
/pci@1e,600000: Device 6 pmu i2c gpio
/pci@1e,600000/pmu@6/i2c@0,0:
/pci@1e,600000: Device a usb
/pci@1e,600000: Device d ide disk cdrom
/pci@1e,600000: Device 2 Nothing there
/pci@1e,600000: Device 3 SUNW,qlc fp disk
/pci@1c,600000: Device 2 scsi disk tape scsi disk tape
/pci@1c,600000: Device 1 Nothing there
/pci@1d,700000: Device 1 SUNW,qlc fp disk
BNZ - Bank of New Zealand
Rebooting with command: boot
Boot device: disk0:a File and args:
Loading ufs-file-system package 1.4 04 Aug 1995 13:02:54.
FCode UFS Reader 1.12 00/07/17 15:48:16.
Loading: /platform/SUNW,Sun-Fire-V240/ufsboot
Loading: /platform/sun4u/ufsboot
SunOS Release 5.10 Version Generic_127111-05 64-bit
Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
SC Alert: SC Request to send Break to host.
Type 'go' to resume
{1} ok
{1} okSystem can be boot into single user mode but fails when moved to multi-user mode.
Any ideas?
Cheers
--AndreasThis looks like it could be bug 6614416.
See [Sun Alert 241066|http://sunsolve.sun.com/search/document.do?assetkey=1-66-241066-1] .
Maybe you are looking for
-
Photoshop Camera Raw 6.7 Update Problems
When I attempted the Photoshop update for Camera Raw 6.7, it failed and the Customer Support link provided this web page (http://helpx.adobe.com/creative-suite/kb/error-serial-number-qualifying-product.html) which said that there was an issue with my
-
Opening Garageband Project In Logic Express
I have successfully opened / saved a garageband project in Logic Express and everything seems to have come over fine. In the arrange window, the 'Input' button is highlighted on many tracks (the button next to mute, solo, etc.). Should the 'Input' be
-
How do I save a website created on IWeb 08 on one computer, so that I can open and adjust it on Iweb 08 on a other computer? pleas help me with this.
-
Dynamically hide a block in selection screen
Hi All, Can we hide a whole block in a selection screen dynamically. If so, then how? Regards, Bhaskar Tripathi
-
EJB / JNDI binding question (ColdFusion 9)
Hello, I am running ColdFusion 9 (developer edition) on my local machine (Windows XP SP3; 2,66Ghz; 2Gb RAM) through / using IIS 5.1. Using this environment I'm trying to implement the Belgian e-ID applet (hosted on Google code) authentication example