Problems with JSSE under Weblogic 5.1 sp9

I have a java application which uses JSSE to communicate with a WebMethods server
and it works great. However, when I take the same code block and run it under
Weblogic 5.1 sp11, I receive a bad certificate error. After spending a lot of
time reading through various postings, I fixed the problem where Weblogic was
intercepting HTTPsURLConnection, but still have the bad_certificate error.
My setup is as follows:
- Keys stored using keytool in keystores outside of Weblogic
- Service pack 9 is installed (also tested SP10)
- Code runs fine as an isolated java application, but will not run when called
from within weblogic.
- JDK1.3.1_02
- Modified the weblogic.policy file with the following line:"permission java.net.NetPermission
"specifyStreamHandler";"
Source Code:
System.getProperties().put("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.out.println("\n\nHandler = "+System.getProperty("java.protocol.handler.pkgs"));
URL server = new URL(null, "https://B2bserver.quadrem.com:4443/invoke/wm.tn/receive",
new com.sun.net.ssl.internal.www.protocol.https.Handler());
System.out.println("Connecting to : "+server.toExternalForm());
char[] password = "weblogic".toCharArray();
SSLContext context = SSLContext.getInstance("SSL");
KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance("SunX509");
KeyStore keystore = KeyStore.getInstance("JKS");
keystore.load(new FileInputStream("x:/jpkeystore"), password);
keyManagerFactory.init(keystore, password);
context.init(keyManagerFactory.getKeyManagers(), null, null);
HttpsURLConnection conn = (HttpsURLConnection)server.openConnection();
conn.setDoInput( true );
conn.setDoOutput( true );
conn.setAllowUserInteraction(false);
conn.setUseCaches( false );
conn.setDefaultUseCaches ( false );
conn.setRequestMethod("POST");
conn.setRequestProperty("Content-Type","text/xml");
conn.setRequestProperty("Host", remoteHost);
conn.setRequestProperty("Content-Length", "" + (XML_HEADER.length()+doc.length()));
DataOutputStream out = new DataOutputStream (conn.getOutputStream());
out.writeBytes(XML_HEADER);
out.write(doc.getBytes());
out.flush();
out.close();
All help will be appreciated.
thanks
Mark Johnson
781-993-9212 x375
[email protected]

Mark,
Can you post the complete exceptionand stack trace here ?
Mark Johnson wrote:
I have a java application which uses JSSE to communicate with a WebMethods server
and it works great. However, when I take the same code block and run it under
Weblogic 5.1 sp11, I receive a bad certificate error. After spending a lot of
time reading through various postings, I fixed the problem where Weblogic was
intercepting HTTPsURLConnection, but still have the bad_certificate error.
My setup is as follows:
- Keys stored using keytool in keystores outside of Weblogic
- Service pack 9 is installed (also tested SP10)
- Code runs fine as an isolated java application, but will not run when called
from within weblogic.
- JDK1.3.1_02
- Modified the weblogic.policy file with the following line:"permission java.net.NetPermission
"specifyStreamHandler";"
Source Code:
System.getProperties().put("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.out.println("\n\nHandler = "+System.getProperty("java.protocol.handler.pkgs"));
URL server = new URL(null, "https://B2bserver.quadrem.com:4443/invoke/wm.tn/receive",
new com.sun.net.ssl.internal.www.protocol.https.Handler());
System.out.println("Connecting to : "+server.toExternalForm());
char[] password = "weblogic".toCharArray();
SSLContext context = SSLContext.getInstance("SSL");
KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance("SunX509");
KeyStore keystore = KeyStore.getInstance("JKS");
keystore.load(new FileInputStream("x:/jpkeystore"), password);
keyManagerFactory.init(keystore, password);
context.init(keyManagerFactory.getKeyManagers(), null, null);
HttpsURLConnection conn = (HttpsURLConnection)server.openConnection();
conn.setDoInput( true );
conn.setDoOutput( true );
conn.setAllowUserInteraction(false);
conn.setUseCaches( false );
conn.setDefaultUseCaches ( false );
conn.setRequestMethod("POST");
conn.setRequestProperty("Content-Type","text/xml");
conn.setRequestProperty("Host", remoteHost);
conn.setRequestProperty("Content-Length", "" + (XML_HEADER.length()+doc.length()));
DataOutputStream out = new DataOutputStream (conn.getOutputStream());
out.writeBytes(XML_HEADER);
out.write(doc.getBytes());
out.flush();
out.close();
All help will be appreciated.
thanks
Mark Johnson
781-993-9212 x375
[email protected]

Similar Messages

  • Problems with ViaVoice under Leopard, especially key mapping problems

    ViaVoice's behavior has changed considerably under Leopard. First I will discuss the key mapping problem, since I'm eagerly looking for an answer to this problem. At the end of this post, I will voice some of the other problems I've experienced for those who may be interested. The key mapping problem may be specific to the fact that I use a foreign keyboard with a US version of ViaVoice.
    INTRO:
    I have used ViaVoice on my Mac for years, more or less without problems (ViaVoice's bugginess is notorious).
    Those who know ViaVoice will know that one has two general options for dictation. One can dictate into ViaVoice's so-called SpeakPad, which allows special formatting, editing and dictation error correction within the dictated text, or one can dictate into "external" software such as Microsoft Word, in which case ViaVoice just sends a string of characters to that software. SpeakPad appears to make strong use of the operating system's built-in functionality for character formatting, document formatting, etc.
    *MY PROBLEM*
    I have a German keyboard on my PowerBook, yet dictate in US English. When I dictated into SpeakPad under Tiger, all characters appeared correctly. However, when I dictated into Microsoft Word using Tiger, I had to switch the keyboard mapping from German to US to get all characters (that means including the characters that are located at different positions on a German keyboard than they are on a US keyboard such as y, z, apostrophes and parentheses) to appear correctly.
    Under Leopard, things have changed. Now it doesn't matter whether I dictate into SpeakPad or Word; the results are the same and many characters do not appear correctly.
    If set to a German keyboard, y and z appear as expected. To name a few irregularities:
    "(" appears as ")"
    ")" appears as "="
    apostrophes appear as "#" and
    ";" appears as ","
    If set to a US keyboard, y and z are interchanged. "(" and ")" appear as expected. Apostrophes appear as "\" and ";" appears as ","
    By comparison, if typed (as opposed to dictated, as in the examples above) "correctly" (i.e. based on the letters printed on the keyboard) on a German keyboard set to imitate a US keyboard:
    y and z are interchanged
    apostrophes appear as "|"
    "(" appears as "*"
    ")" appears as "(" and
    ";" appears as the symbol for "less than"
    Since I don't have a US keyboard, I can't say how it would behave if set to imitate a German keyboard, i.e. if there's a correlation to the results I get when I dictate.
    Since I was previously able to dictate correctly into SpeakPad by setting the keyboard to "German" and into Word by setting the keyboard to "US," I presume that this is a problem in Leopard, not ViaVoice.
    *OTHER PROBLEMS WITH VIAVOICE UNDER LEOPARD*
    In addition to the aforementioned key mapping problems (that may be specific to those of us with foreign keyboards), ViaVoice appears to have lost considerable functionality in Leopard. I cannot access SpeakPad's Preferences and the correction window. Moreover, the traffic-light like window buttons have disappeared from the VoiceCenter (although they work if you click where they should be). SetupAssistent appears to function.
    I've written to Nuance about these problems, but have little hope that they will invest the time in producing a patch since they haven't released any updates since 2003.

    Thrums1,
    I've never had to "register" ViaVoice after updating the system. I thus suspect you haven't fully followed my above, three-step advice (particularly step 3).
    1) Reinstall ViaVoice from CD.
    2) Update to the latest version (using the patch downloadable from Nuance's website).
    3) Replace the “temp” and “users” folders (in the "ViaVoice" folder at the upper level of your home directory) by a previous copy thereof. When I say previous copy, I mean a copy from when ViaVoice was still working properly, e.g. a copy from when it was running under Tiger.
    As I said, I've gotten ViaVoice to survive several system updates by following the above steps. To my knowledge, the last step is critical since it saves you from having to reconfigure ViaVoice under the new operating system (in this case Leopard). I suspect that ViaVoice is crashing on your system because it's trying to start some module of the SetUpAssistant that is incompatible with Leopard (as many are). If you instead use old copies of the "temp" and "users" folders (from the previous system), then ViaVoice doesn't have to go through the initial "registration" process; ViaVoice doesn't need the SetUpAssistant; and all is (more or less) fine.
    Good luck!
    BTW, to my knowledge, Dictate only runs on Intel Macs. It thus won't run on a G4 iBook, just as it won't run on my PowerBook G4.

  • Problem with clob_write under client 9.2.0.6: UnsatisfiedLinkError

    Hi all,
    I'm running Oracle client 9.2.0.4 on Windows XP and Java 1.4.1_3.
    Writing or reading clob's works pretty well.
    As i tried to update to Oracle client 9.2.0.6, i got the error
    Communication failed: java.lang.UnsatisfiedLinkError: clob_write when i tried to write a clob. The same error appears when i tried to read a clob.
    Is there a specific problem with clobs under this client?
    All other JDBC operations work as good as before.
    Thanks.

    Here is another hint.
    In your classpath, use the jdbc driver that's under your oracle installation to which you are trying to connect to (ie, <ORACLE_HOME>\ora92\jdbc\lib\ojdbc14.jar).
    I had the same problem in 9.2.0.6 and its gone when I replaced the ojdbc14.jar. I copied the ..\ora92\jdbc\lib\ojdbc14.jar to my java client program's classpath, and ran the java client without getting the UnsatisfiedLinkError.
    It looks like the ocijdbc9.dll under ora92\bin has to match correctly with the jdbc drivers you would be using. I got this idea from this link:
    http://episteme.arstechnica.com/groupee/forums/a/tpc/f/6330927813/m/705001068631/inc/-1
    Hope this helps.

  • Problems with over/under absorption on production cost centers - GBB AUI

    Hi,
    I have a problem with over/under absorption on production cost centers after month end closing.
    We are using material ledger CKMLCP and actual activity rates from direct cost centers are settled directly to products using GBB AUI account determination.
    Unfortunately from time to time there appears a significant balance on production cost centers after running CKMLCP. What might be the reason? I have analysed line items on cost centers but cannot find any answers.
    We are using assignment of cost elements to particular activity types (function splitting), and I have checked that all cost elements are assigned to proper activity types.
    Best regards,
    Karol

    Hi,
    DP90 is used for Resource related billing, is broad term basically when you performing service that time you have to raise billing on the basis of resources which you had spend for perticular service
    DP90 is run on the basis of DYNAMIC ITEM PROCESSOR,
    http://help.sap.com/saphelp_di471/helpdata/en/59/54fc37004d0a1ee10000009b38f8cf/frameset.htm
    I will tell you one process from the prspective of CS module
    Create notification >> Create service order >> Confirm service order >> Resource releted billing (genrates sales document) >> Invoice to customer with refrance to sales document.
    Now here DP90 is used to determine material,IN SALES DOCUMENT because CS module don't have billing feature as like SD Billing.
    In CS module activities/Operation,but in SD module we speciefy material codes
    So DIP determines XYZ activity/operation is ABC material in SD
    kapil

  • Problems with Requests in Weblogic 6.1

    Hi,
    i am using weblogic in my project both as a webserver and as the application server.
    But i am facing problems with requests being sent to the server. Basically i have
    a form in my jsp which, if submitted by multiple clients at the same instant in
    time, the server gets confused and mixes up the data in the requests !! the form
    is submitted to another jsp which in turn calls a SLSB which in turn calls various
    entity Beans to fulfill the request.
    Now if 2 or more clients hit the submit button together, the server is mixing
    the data from the requestsand i get corrupted output as a result.
    That if i submit values (a,b,c) from one client machine and values (x,y,z) from
    another machine, the server puts one of the transactions properly and in the other
    it picks up the data from the other request and takes something like (x,y,c) !!
    Is this a bug in Weblogic 6.1 or am doing something wrong ??
    Any help would be appreciated.
    Raja

    Make sure your JSP scope is set correctly:
    <jsp:useBean id="beanName" scope="session" class="abc.BeanClass" />
    "Raja" <[email protected]> wrote in message
    news:3c6abfc8$[email protected]..
    >
    Hi,
    i am using weblogic in my project both as a webserver and as theapplication server.
    But i am facing problems with requests being sent to the server. Basicallyi have
    a form in my jsp which, if submitted by multiple clients at the sameinstant in
    time, the server gets confused and mixes up the data in the requests !!the form
    is submitted to another jsp which in turn calls a SLSB which in turn callsvarious
    entity Beans to fulfill the request.
    Now if 2 or more clients hit the submit button together, the server ismixing
    the data from the requestsand i get corrupted output as a result.
    That if i submit values (a,b,c) from one client machine and values (x,y,z)from
    another machine, the server puts one of the transactions properly and inthe other
    it picks up the data from the other request and takes something like(x,y,c) !!
    Is this a bug in Weblogic 6.1 or am doing something wrong ??
    Any help would be appreciated.
    Raja

  • Is there a problem with JMS and Weblogic?

              Hi,
              I am using JMS and Weblogic (Not Message Driven bean).
              My problem is that after some time my listeners disappears.
              I am sending them a message and instead of 6 listeners
              I get only 4 messages.
              So, My question is: Is there any problem working with JMS
              and Weblogic???
              Thanks,
              Tal.
              

    Too little information and a very vague question. Need more info.
              "Tal" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Hi,
              > I am using JMS and Weblogic (Not Message Driven bean).
              > My problem is that after some time my listeners disappears.
              > I am sending them a message and instead of 6 listeners
              > I get only 4 messages.
              > So, My question is: Is there any problem working with JMS
              > and Weblogic???
              > Thanks,
              > Tal.
              

  • Problems with USB under 10.6.7

    I have a Macbook Pro 1,1. After the upgrade to OS X 10.6.7, I started seeing frequent, unpredictable disconnects, with the resulting admonition to alway eject my removable drives. At first I thought these were due to problems with cables or my hub, but it happened equally often with flash drives plugged directly into the ports. I downgraded to 10.6.6 several weeks ago and have not had a single problem with disconnects.
    I prefer to have my system upgraded to the most recent version. Is there any solution to this, or is a fix coming up?

    It is interesting (though I haven't read all of it yet, I will continue reading), but it doesn't completely answer my question...which in itself is less complete than I intended.
    Though the drive disconnects under 10.6.7 are a problem, they aren't the only symptom. I also have problems with my Alphasmart Neo, a simple, self-contained word processor. It connects via USB to allow plain-text documents to transfer to and from a computer, and under 10.6.7 I simply cannot reliably transfer data to it. Its management software doesn't reliably connect, resulting in corrupted data or a complete inability to send or receive information. The device works perfectly under 10.6.6.

  • Problems with IIS and Weblogic 6.0 Redirecting thru IIS

    Hi
    I have just installed Welblogic 6.0 and I am having problems with the configuration
    of the ISAPI Plugin.
    I created the iisproxy.ini file and then copied that into wlserver6.0/bin directory
    and copied the iisproxy.dll file into the inetpub/wwroot directory for iis to
    see
    Now when I type in my url, I get the default index.jsp page that bea supplied
    but when I try to go to the Admin tool, existing portals created or new portals
    added, I get the following error
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    Can any one help, here is my iisproxy.ini file
    below
    #This file contains initialization name/value pairs
    #for the IIS/weblogic plug-in
    WebLogicHost=localhost
    WebLogicPort=7501
    WlFowardPath=/weblogic
    SecureProxy=OFF
    PathTrim=/weblogic
    ConnectTimeoutSecs=20
    ConnectRetrySecs=2
    Bola

    Seems 6.0 has more than a few proxy problems. We are running IPlanet and have
    had no success in running the 6.0 proxy.
    FYI. We have started using the 5.1 proxy in 6.0 successfully; you might give
    it a try. Not sure we want to put this in production in this condition however.
    Matt Raible wrote:
    Has anyone been successfully able to get the IIS Proxy working with WLS 6.0
    on Win2K? I've been trying for days, working with a support engineer at BEA
    and everything, but no luck.
    Thanks,
    Matt

  • Problems with dbx under linux

    Hi everybody,
    I'm using Oracle Solaris Studio 12.2 under Linux, and i'm trying to debug a Fortran application with dbx.
    When I use it to step through the code, there always pops up a messagebox that says
    dbx: internal error: cannot convert 'AGGREGATE' to 'ARRAY' ...
    dbx: internal error: cannot convert 'AGGREGATE' to 'ARRAY' ...
    dbx: internal error: cannot convert 'AGGREGATE' to 'ARRAY' ...
    dbx: internal error: cannot convert 'AGGREGATE' to 'ARRAY' ...
    too many errors
    after a random number of steps (perhaps after about 10 steps). Then, the execution stops, and I'm forced to restart the process, with a breakpoint somewhere further down the code.
    Does anybody know what I could do to prevent that from happening?
    Thanks in advance,
    Christoph

    Hi Isaac,
    thanks for your reply. I'm using the debugging from the studio.
    Unfortunately, the code I'm working on is a CFD program of some 100.000 lines, and I think I'd have to post the whole thing. I've been trying to reproduce the problem with a model program, but to no avail: dbx/SunStudio works like a charm with every program I write myself.
    It is definitely a problem with evaluating local variables: If I watch a debugging tab different from "variables", it doesn't crash; neither does it while stepping through the main program. It only crashes somewhere deep in some modules, where pointers on big allocated arrays are passed around in the seventh or so stack level. Anyway, it seems to be more a problem with the code than with a particular debugger: I've tried gdb, and it shows similar problems.
    Regards,
    Christoph

  • Problems with Verity under ColdFusion MX 6.1

    Hi,
    I am having problems with Verity collection under ColdFusion
    MX 6.1. I do a query and then try to index the results of that
    query using the CFINDEX tag:
    <cfquery name="qryContent"
    datasource="#application.datasource#">
    SELECT *
    FROM table
    </cfquery>
    <cfoutput>#qryContent.RecordCount# pages being
    indexed...<br></cfoutput> ----- here I get 1468 records
    <cfindex
    collection="Main_Content"
    action="refresh"
    type="custom"
    query="qryContent"
    body="cntContent"
    key="pg"
    urlpath="/info.cfm?"
    custom1="content" >
    <cfsearch
    name = "search_results"
    collection = "CoM_Main_Content">
    <cfdump var="#search_results#">
    <cfabort>
    When I do the <CFSEARCH and then <CFDUMP the number of
    records in the collection is 1409 - hence 59 records less than the
    query returns...I have deleted the collection numeruos times and
    re-created it, I have also increased the JVM settings on the
    ColdFusion server and no difference at all...
    I am out of ideas on how to solve this problem so I am hoping
    somebody can recommend the solution to this...
    Any ideas would be much appreciated.....
    Thanks,
    Vlad

    Odds are it's nothing to do with the Coldfusion upgrade, it
    has to do with MSIE 7. We were in the middle of a Site Rewrite
    project when Windows XP started automatically updating users to
    MSIE 7. They "fixed" so many things in 7, we had to re-QA the whole
    site and fix a bunch of CSS issues so that the site would work and
    display correctly in 7.
    You might also verify that your Windows 2003 server has all
    the current service packs and hotfixes. IIRC, there was at least
    one that threw our servers for a loop until we applied another
    hotfix.

  • Problem with Canvas3D under java3d1.3.1

    Hello,
    I've got a problem with Canvas3D if I use the new java3d1.3.1-version.
    I simply create the Canvas3D as the following:
    GraphicsConfiguration c = SimpleUniverse.getPreferredConfiguration();
    Canvas3D c = new Canvas3D(c);
    With the older Version java3d1.2.1_04 this works fine, but with java31.3.1 I get a NullPointerException. In the documentation of Cancas3D you can read this:
    Constructor Canvas3D
    Parameters:
    graphicsConfiguration - a valid GraphicsConfiguration object that will be used to create the canvas. This object should not be null and should be created using a GraphicsConfigTemplate3D or the getPreferredConfiguration() method of the SimpleUniverse utility. For backward compatibility with earlier versions of Java 3D, a null or default GraphicsConfiguration will still work when used to create a Canvas3D on the default screen, but an error message will be printed. A NullPointerException or IllegalArgumentException will be thrown in a subsequent release.
    Now is my Question:
    HOW can I get a VALID GraphicsConfiguration? The following code snipplet does not work, too:
    GraphicsConfigTemplate3D tmpl = new GraphicsConfigTemplate3D();
    GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
    GraphicsDevice device = env.getDefaultScreenDevice();
    GraphicsConfiguration config = device.getBestConfiguration(tmpl);
    Canvas3D c = new Canvas3D(config);
    And why does this code work with java3d1.2.1_04 but not with java3d1.3.1? Is it perhaps a bug in the new java3d1.3.1? Has anyone an idea?
    Thanks
    Alex

    Hi,
    It seems a similar note has been sent by Weisheng Li in the Java3D mailing list the 11th of June 2003 and not satisfying replies have been sent so far.
    Here a copy of the mail ([JAVA3D] Off screen rendering hangs, though the rendering res ult is perfect.)
    "I am trying to rendering the 3d view into the image file without any GUI. If I do not extend the program from an AWT or Swing component, the program will not exit after processing (so, holds the memory. The rendering result is perfect). Does any one know how to deal with this?
    Here is the sample code (if you run it in command line, you will see that it will hangs there forever):
    public class Devicetest{
        /** Creates a new instance of Devicetest */
        public Devicetest() {
            GraphicsConfigTemplate3D template =
              new GraphicsConfigTemplate3D();
            GraphicsEnvironment env
                 =GraphicsEnvironment.getLocalGraphicsEnvironment();
            GraphicsDevice dev = env.getDefaultScreenDevice();
            GraphicsConfiguration gc =dev.getBestConfiguration(template);
            System.out.println(gc + " " + "End");
         public static void main(String argv[]) {
           Devicetest dd =3D new Devicetest();
    }However, the following works (but extends from Applet):
    public class Devicetest extends Applet{
        /** Creates a new instance of Devicetest */
        public Devicetest() {
            GraphicsConfigTemplate3D template =
                new GraphicsConfigTemplate3D();
            GraphicsEnvironment env = 
                =GraphicsEnvironment.getLocalGraphicsEnvironment();
            GraphicsDevice dev = env.getDefaultScreenDevice();
            GraphicsConfiguration gc = dev.getBestConfiguration(template);
            Canvas3D canvas = new Canvas3D(gc, true);
            System.out.println(gc + " " + "End");
         public static void main(String argv[]) {
           Frame frame =3D new MainFrame(new Devicetest(), 256, 256);
    I can confirm that I've reproduced the same problem using Java 1.3.1 on Windows using DirectX and OpenGL version.
    I've tried to narrow the scope of the problem by doing the following:
    public class DeviceTest
       /** Creates a new instance of Devicetest */
      public DeviceTest()
        GraphicsEnvironment env =
               GraphicsEnvironment.getLocalGraphicsEnvironment();
        GraphicsDevice dev = env.getDefaultScreenDevice();
        GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D();
        System.out.println(
            template.getBestConfiguration(dev.getConfigurations()));
      public static void main(String argv[])
        DeviceTest dd =  new DeviceTest();
    }The program is also hanging. Some threads are launched by calling getBestConfiguration from the GraphicsConfigTemplate3D and are never killed (deadlock ?), explaining why the program is not returning.
    This is very annoying especially if you want to do offscreen rendering in a servlet for example where you cannot call System.exit(0).
    I think this is a bug in Java3D. Perhaps some insights from the Java3D team could help. Any help would be appreciated to bypass this problem.
    Best regards
    Stephane Fellah

  • Problem with ssl in weblogic 10.3

    I would like to connect from web application on my weblogic to webservices(they are on https) on other server(IIS). What should I add to my weblogic?
    KeyStore with appropriate certificate?
    I got this kind of error when I set keysore prime.jks in weblogic keysotres for option custom identity and custom trust.
    <2009-02-13 14:09:42 CET> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias prime from the jks keystore file D:\Praca\BEA_10.3\user_projects\domains\domain1\security\prime.jks.>
    <2009-02-13 14:09:42 CET> <Alert> <Security> <BEA-090168> <No identity key/certificate entry was found under alias prime in keystore D:\Praca\BEA_10.3\user_projects\domains\domain1\security\prime.jks on server AdminServer>
    <2009-02-13 14:09:42 CET> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file D:\Praca\BEA_10.3\user_projects\domains\domain1\security\prime.jks.>
    javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: javax.xml.ws.WebServiceException: javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
    Thanks for all responses.

    I turned on ssldebug and I get following errors:
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <Cannot convert identity certificate
    java.security.cert.CertificateParsingException: PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.3.14.3.2.29
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <Failed to load server trusted CAs
    java.lang.RuntimeException: Cannot convert identity certificate
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <Filtering JSSE SSLSocket>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <SSLIOContextTable.addContext(ctx): 2090001>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <SSLSocket will be Muxing>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <write SSL_20_RECORD>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <isMuxerActivated: false>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <961888 SSL3/TLS MAC>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <961888 received HANDSHAKE>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <HANDSHAKEMESSAGE: ServerHello>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <HANDSHAKEMESSAGE: Certificate>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <NEW ALERT with Severity: FATAL, Type: 42
    java.lang.Exception: New alert stack
    I added to server keystore(as Custom Identity Keystore and Custom Trust Keystore) constaininig privatekey and certicfiacte(downloaded while trying to connect to this webservice by browser).
    Do I have to install IIS plug-in to connect with webservices on IIS?!
    Thanks for all responses.
    Edited by: lukep1984 on 2009-02-16 06:19

  • Problem with WLIOTimeoutSecs in weblogic and apche  CSS load balancer

    Hi,
    We are using Weblogic 11g, apache 2.2 and CSS load balancer for load balancing.
    we have huge reports which take minutes to generate and hence we need higher value for WLIOTimeoutSecs. This works fine when we use server url but WLIOTimeoutSecs is not working when we use CSS load balancer.
    We checked with our load balancing team they said CSS load balancer will not repost the request.
    Here is the plugin configuration
    <Location /*****>
    SetHandler weblogic-handler
    PathTrim /
    WebLogicHost 'serevrip'
    WebLogicPort 'port'
    WLIOTimeoutSecs 3600
    Idempotent OFF
    WLProxySSL ON
    DefaultFileName /***/***/index.jsp
    Debug On
    WLLogFile /***/***/***/***.log
    </Location>
    Could some please help me on this.
    Thanks in advance
    Regards,
    Venkat

    Hi Tarun,
    The problem occurs when the SSL is enabled on apache. If I access the same URL over HTTP, the parameter WLIOTimeOut works fine.
    Also I observed that, none of the parameters are getting applied to the plugin. I had switched on 'DebugConfigInfo'. With this the HTTP URL with ?__WebLogicBridgeConfig as query parameter returned the complete configuration. However when accessed with HTTPS the server did not return the configuration.
    Is there a specific configuration to be applied when apache is used with SSL?
    Thanks for your help,
    Shashi

  • Problem with security in Weblogic 8.1

    Hi, my name is Jesús Chávez Reyes and it is my first time in this forum.
    My problem is related with security in WL 8.1 because I am new in this matter. My problem is :
    I work in change completely the security of an enterprise application that is deployed in WebLogic 8.1 and your security is a based in a RDBMS Custom Realm in Compatibility Security.
    This application is composed by 18 EJB and 4 web applications.
    The objective of this change is:
    1.- Use a external system for authentication (though a web service).
    2.- If is possible: unbind security of WL for in a future deploy the application in other Server(Jboss for example).
    I'm trying to implement security with Acegi and Spring in a one of the four web applications. I deleted all it has to do with security in deploy descriptors and deleted the realm.
    At this point I can login in , using the Web Service of the external application, without difficulty.
    The problem arises when the application makes an instance of the EJB's. This is the way how the application makes the instances of the EJB:
    InitialContext context = new InitialContext( null );
    Object   = context.lookup(name); // name=GroupSessionFacade   (JNDI Name of EJB)
    EJBHome home = (EJBHome) objref;
    +...+
    GroupSessionFacadeHome home = (GroupSessionFacadeHome) objref;
    groupFacade = home.create();
    In this point GroupSessionFacadeHome home = (GroupSessionFacadeHome) objref the application throws ClassCastException. This happens with all EJB.
    The application work fine before of to use Acegi and remove all it has to do with security. I inspect the Object " objref " before and after and this happen:
    BEFORE
    Class Name: control.ejb.GroupSessionFacadek1696tHomeImpl
    SuperClass : weblogic.ejb20.internal.StatelessEJBHome
    Implement : weblogic.ejb20.internal.StatelessEJBHome , control.ejb.GroupSessionFacadeHome
    AFTER
    Class Name: control.ejb.GroupSessionFacadek1696tHomeImpl
    SuperClass : weblogic.ejb20.internal.StatelessEJBHome
    Implement : weblogic.ejb20.internal.StatelessEJBHome
    Here The object no implements the InterfaceHome "control.ejb.GroupSessionFacadeHome" !!!!!!!!!, this is the cause of ClassCastException.
    What is the problem? Is it a security problem? and if so what do I need to remove or add in the application and has no dependence on anything for the security of Web Logic?
    The deploy descriptors are:
    IN THE WEB APPLICATION
    web.xml
    +<ejb-ref>+
    +<description>Reference to the GroupSessionFacade</description>+
    +<ejb-ref-name>ejb/GroupSessionFacade</ejb-ref-name>+
    +<ejb-ref-type>Session</ejb-ref-type>+
    +<home>control.ejb.GroupSessionFacadeHome</home>+
    +<remote>control.ejb.GroupSessionFacade</remote>+
    +</ejb-ref>+
    IN THE EJB
    ejb-jar.xml
    +<?xml version="1.0"?>+
    +<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar20.dtd'>+
    +<ejb-jar>+
    +<enterprise-beans>+
    +<session>+
    +<description>GroupSessionFacade</description>+
    +<ejb-name>GroupSessionFacade</ejb-name>+
    +<home>control.ejb.GroupSessionFacadeHome</home>+
    +<remote>control.ejb.GroupSessionFacade</remote>+
    +<ejb-class>control.ejb.GroupSessionFacadeEJB</ejb-class>+
    +<session-type>Stateless</session-type>+
    +<transaction-type>Container</transaction-type>+
    +<ejb-ref>+
    +<ejb-ref-name>ejb/UserManager</ejb-ref-name>+
    +<ejb-ref-type>Session</ejb-ref-type>+
    +<home>control.ejb.UserManagerHome</home>+
    +<remote>control.ejb.UserManager</remote>+
    +</ejb-ref>+
    +<resource-ref>+
    +....+
    +     </enterprise-beans>+
    +<assembly-descriptor>+
    +<container-transaction>+
    +<method>+
    +<ejb-name>GroupSessionFacade</ejb-name>+
    +<method-name>*</method-name>+
    +</method>+
    +<trans-attribute>NotSupported</trans-attribute>+
    +</container-transaction>+
    +</assembly-descriptor>+
    +</ejb-jar>+
    weblogic-ejb-jar.xml
    +<?xml version="1.0"?>+
    +<!DOCTYPE weblogic-ejb-jar PUBLIC+
    +"-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN"+
    +"http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd">+
    +<weblogic-ejb-jar>+
    +<weblogic-enterprise-bean>+
    +<ejb-name>GroupSessionFacade</ejb-name>+
    +<transaction-descriptor>+
    +<trans-timeout-seconds>600</trans-timeout-seconds>+
    +</transaction-descriptor>+
    +...+
    +<enable-call-by-reference>True</enable-call-by-reference>+
    +<jndi-name>GroupSessionFacade</jndi-name>+
    +</weblogic-enterprise-bean>+
    +</weblogic-ejb-jar>+

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Visio, I'll move your question to the SSIS forum
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlintegrationservices
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • Font problem with MX under Snow Leopard

    Anybody know what might cause an app built with Director MX not to display an installed (not embedded) custom font under Snow Leopard?
    The program was built quite some time ago but was tested under previous Mac OS X.x versions and worked fine. What might have changed that could cause this problem?
    Complicating this is that I don't have Snow Leopard myself to test it directly, but here's what I do know:
    The font is definitely installed and available to other apps.
    Everything else about the app works fine.

    I noticed the same jumbled text problem.
    When I went to look at Font Book, I see that those fonts are no longer installed. It must've happened when I loaded Snow Leopard last weekend.
    Anyway, I went to reinstall fonts, and I see I've got a bunch that got uninstalled. But when I try to reinstall them, like Calisto and Caligula to name the first couple I tried, Font Book reports that there were serious errors when trying to load them.
    Does anyone have insights into the vague message: "System Validation" as the serious problem? I don't see a way to get more details about the problem than that.

Maybe you are looking for

  • Safari can't open, always crashes

    Just completed a java update from system update. Now Safari won't open. Searched through crash log and didn't see an error. Don't know what else to look for among the long list of words. Process: Safari [3499] Path: /Applications/Safari.app/Contents/

  • Garbled video

    I received a skype video call today, and the video looked like this. Both of us could see my image just fine. They told me that before the call connected, they could see themselves properly. Once the call connected, their image became corrupted at my

  • Program RFKORD10 - Print program: Account Statement -- Changing Key dates

    Hi Experts, Greetings, I need help in program <b>RFKORD10 - Print program: Account Statement.</b> I have a requirement to copy in zprogram. The main purpose is the key dates in acct statement should be based on BSEG-ZFBDT. Is there any option on how

  • Updating SRM 7.0 purchase order  from R/3 ECC 6.0

    Hi, we have a situation where we need to update srm po (account assignment ) after GR . we were able to update in R/3 . Till now SRM version is 4.0 there was no problem and purchase order is only available in R/3 . Now SRM system getting updated to 7

  • Itunes.exe and itunesHelp give errors as they are accessing the visual C runtime library incorrectly

    Hi, Itunes updated and my windows has problems with it. The error message  says that itunes.exe and ituneshelp.exe both are failing to access the Microsoft Visual C runtime library correctly on startup. This happens even after uninstalling and reinst