Visbroker and weblogic6.0

Hi All,
I met a case recently. It is very strange and want to see whether
have some expert met this problem before. I have an stateful EJB on
weblogic6.0 and having a IDL interface for visbroker to generate the
IIOP layer. We have tried that C++ make two corba call to that
weblogic6.0 stateful Bean. Between two corba call, the C++ program
will sleep 5 minutes. And we have set the IIOP timeout on weblogic
side is 8 minutes. But after the first call and sleep 5 minutes, the
second call will cause the C++ core dump. Any commet on that?
Thanks in advance
Derek

Hi Andy,
For my case, I have create an application using Java. I Home.create() an
ejb once invoke function A in the beans. And then I Thread.sleep arround 10
minutes and then inoke that function again. Then ejbremove() that beans since
it is stateful bean. However, from the vis-broker side do that same thing.
create() an ejb and invoke a function in the beans. And then sleep arround 5
minutes and then invoke that function again. The vis-broker application was
halt. And then core dump. Java application make a call to the ejb is rmi to
rmi and it works properly. But Vis-broker C++ application make a call to ejb
is rmi to iiop and it will halt after 5 minutes idle. So that I think it is
iiop problem.
Thanks you help
Derek
Andy Piper wrote:
Derek Lee <[email protected]> writes:
Thanks your advice. I also think that it should be the IIOP layer
problem. Now, we reconnection it and create it again once we need to use
the EJB. It seems better but it still not so stable.Can you elaborate, it appears that Visi should cope gracefully with
the connection being shut down. Is this not the case?
andy

Similar Messages

  • Integrate jbuilder6 and weblogic6

    hello
    i integrate the jbuilder6 with weblogic6,write a simple servlet,right click it,select
    "web run",it throw a "stringindexoutofboundsexception",as follow:
    C:\JBuilder6\jdk1.3.1\bin\javaw -classpath "C:\bea\wlserver6.1\lib\weblogic.jar;C:\bea\wlserver6.1\lib\weblogic.jar;C:\JBuilder6\jdk1.3.1\demo\jfc\Java2D\Java2Demo.jar;C:\JBuilder6\jdk1.3.1\jre\lib\i18n.jar;C:\JBuilder6\jdk1.3.1\jre\lib\jaws.jar;C:\JBuilder6\jdk1.3.1\jre\lib\rt.jar;C:\JBuilder6\jdk1.3.1\jre\lib\sunrsasign.jar;C:\JBuilder6\jdk1.3.1\lib\dt.jar;C:\JBuilder6\jdk1.3.1\lib\htmlconverter.jar;C:\JBuilder6\jdk1.3.1\lib\tools.jar"
    -ms64m -mx64m -Djava.library.path=C:/bea/wlserver6.1/bin -Dbea.home=C:/bea
    -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Djava.security.policy==C:/bea/wlserver6.1/lib/weblogic.policy
    -Dweblogic.management.password=88888888 weblogic.Server
    Starting WebLogic Server ....
    <2002-7-2 &#19979;&#21320;02&#26102;17&#20998;11&#31186;> <Notice> <Management> <Loading
    configuration file .\config\mydomain\config.xml ...>
    <2002-7-2 &#19979;&#21320;02&#26102;17&#20998;18&#31186;> <Notice> <WebLogicServer>
    <Starting WebLogic Admin Server "myserver" for domain "mydomain">
    <2002-7-2 &#19979;&#21320;02&#26102;17&#20998;46&#31186;> <Error> <J2EE> <Error deploying
    application TEST: Could not load TEST>
    <2002-7-2 &#19979;&#21320;02&#26102;17&#20998;46&#31186;> <Error> <Management> <ApplicationManager
    starting Config caught throwable
    java.lang.reflect.UndeclaredThrowableException: java.lang.StringIndexOutOfBoundsException:
    String index out of range: -1
         at java.lang.String.substring(String.java:1525)
         at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:469)
         at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:234)
         at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3407)
         at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)
         at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
         at weblogic.j2ee.Application.addComponent(Application.java:163)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy30.addWebDeployment(Unknown Source)
         at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy29.updateDeployments(Unknown Source)
         at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
         at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
         at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy38.start(Unknown Source)
         at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)
         at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
         at weblogic.management.Admin.finish(Admin.java:590)
         at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
         at weblogic.Server.main(Server.java:35)
    --------------- nested within: ------------------
    weblogic.j2ee.DeploymentException: Could not load TEST - with nested exception:
    [java.lang.StringIndexOutOfBoundsException: String index out of range: -1]
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:431)
         at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
         at weblogic.j2ee.Application.addComponent(Application.java:163)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy30.addWebDeployment(Unknown Source)
         at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy29.updateDeployments(Unknown Source)
         at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
         at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
         at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy38.start(Unknown Source)
         at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)
         at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
         at weblogic.management.Admin.finish(Admin.java:590)
         at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
         at weblogic.Server.main(Server.java:35)
    >
    <2002-7-2 &#19979;&#21320;02&#26102;17&#20998;48&#31186;> <Notice> <Management> <Application
    Poller started for development server.>
    <2002-7-2 &#19979;&#21320;02&#26102;17&#20998;48&#31186;> <Notice> <WebLogicServer>
    <ListenThread listening on port 8080>
    <2002-7-2 &#19979;&#21320;02&#26102;17&#20998;49&#31186;> <Notice> <WebLogicServer>
    <SSLListenThread listening on port 8081>
    <2002-7-2 &#19979;&#21320;02&#26102;17&#20998;49&#31186;> <Notice> <Management> <Starting
    discovery of Managed Server... This feature is on by default, you may turn this off
    by passing -Dweblogic.management.discover=false>
    <2002-7-2 &#19979;&#21320;02&#26102;17&#20998;49&#31186;> <Notice> <WebLogicServer>
    <Started WebLogic Admin Server "myserver" for domain "mydomain" running in Development
    Mode>
    why?who can help me?
    thank you!

    Hi Shailendra,
    I searched a lot, there seems very few information from internet and internal about this topic, I'm not familiar with Workday and ServiceNow applicaitons, I would recommend you may post in the following community sites(which should be offcial
    sites) for a better assistance regarding the integration questions between Workday and ServiceNow and SharePoint Online(O365).
    https://community.servicenow.com/thread/174050
    https://community.workday.com/
    http://community.office365.com/en-us/f/154.aspx
    Thanks
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • JBuilder5 and WebLogic6.1

    The JBuilder5 can use WebLogic 6.0 to be its application server , and I
    want to know whether JBuilder can
    use WebLogic6.1 to be its application server ?
    If it can , how to setup in JBuilder5 ??
    Thank you in advance ,....

    I know it ..
    But whether WebLogic server can work with JBuilder5 ??
    "Senthil Subramaniam" <[email protected]>
    news:[email protected]..
    JBuilder6 officially supports wl6.1
    alanjang wrote:
    The JBuilder5 can use WebLogic 6.0 to be its application server , and
    I
    want to know whether JBuilder can
    use WebLogic6.1 to be its application server ?
    If it can , how to setup in JBuilder5 ??
    Thank you in advance ,....

  • Problem with jdk1.3.1_03.  and weblogic6.1

    hey guys,
    i am trying to run a servlet using Weblogic 6.1 and jdk1.3.1_03.
    in the web.xml
    The <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 1.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    has a problem i guess.. whenever i am starting the weblogic server it throws up saying Error parsing descriptor in WebApplication.. Thi shappenes only when i use jdk1.3.1_03. for all other versions it does not complain..
    any ideas?
    Thanks
    KM

    As far as i know this error is thrown only when the XML deployment descriptor for the particular application gets corrupt. It has got nothing to do with JDK versions.
    If you get any breakthrough on this issue ...be sure to post the fix too.

  • About jbuilder4 and weblogic6.0

    when i want to deploy my jar to weblogic and do as the wizard,select the
    folder application as standalone,then start deploy.
    it will report:
    Stored archive as
    D:\weblogic\wlserver6.0sp1\config\mydomain\applications\test.jar
    Error type: java.lang.SecurityException
    Thread: Thread[Process wizard page class
    com.inprise.ejb.gui.wizards.deploy.AdvDeployPage,6,main]
    Stack trace:
    java.lang.SecurityException: System.exit() not allowed
    at com.borland.jbuilder.node.b.checkExit(Unknown Source)
    at java.lang.Runtime.exit(Runtime.java:91)
    at java.lang.System.exit(System.java:701)
    at com.inprise.ejb.util.Deploy.main(Deploy.java:97)
    at
    com.inprise.ejb.gui.util.DeployUtil.deployToStandaloneEjbContainer(DeployUti
    l.java:455)
    at com.inprise.ejb.gui.util.DeployUtil.deployToTargets(DeployUtil.java:321)
    at com.inprise.ejb.gui.util.DeployUtil.deploy(DeployUtil.java:1126)
    at
    com.inprise.ejb.gui.wizards.deploy.AdvDeployPage.processImpl(AdvDeployPage.j
    ava:218)
    at
    com.inprise.ejb.gui.wizards.ActiveWizardPage.process(ActiveWizardPage.java:1
    92)
    at
    com.inprise.ejb.gui.wizards.ActiveWizardPage$1.run(ActiveWizardPage.java:173
    at java.lang.Thread.run(Thread.java:484)
    but on the weblogic window:it show"undeploying ejb component test(my jar
    name)
    and the jar really deployed to weblogic after my client test on command line
    can anyone give me any advice?thanx in advance

    Hi Andy,
    For my case, I have create an application using Java. I Home.create() an
    ejb once invoke function A in the beans. And then I Thread.sleep arround 10
    minutes and then inoke that function again. Then ejbremove() that beans since
    it is stateful bean. However, from the vis-broker side do that same thing.
    create() an ejb and invoke a function in the beans. And then sleep arround 5
    minutes and then invoke that function again. The vis-broker application was
    halt. And then core dump. Java application make a call to the ejb is rmi to
    rmi and it works properly. But Vis-broker C++ application make a call to ejb
    is rmi to iiop and it will halt after 5 minutes idle. So that I think it is
    iiop problem.
    Thanks you help
    Derek
    Andy Piper wrote:
    Derek Lee <[email protected]> writes:
    Thanks your advice. I also think that it should be the IIOP layer
    problem. Now, we reconnection it and create it again once we need to use
    the EJB. It seems better but it still not so stable.Can you elaborate, it appears that Visi should cope gracefully with
    the connection being shut down. Is this not the case?
    andy

  • What  type of plug in do I need to use between weblogic and tomcat please

    Hi,
    Can anybody please tell me what type of plugin do I need to install to communicate between Tomcat4.0 and weblogic6.1 sp2.actually I wanted to use a connection pool from my servlet on my local tomact where connection pool is created on remote weblogic server.........?
    I have no idea what to do. I tried including the weblogic.jar in my local classpath where my tomcat is sitting. This didnot work . I got the following error......
    I want to know is it possible.............?
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
    Your response is very inportant......
    Thnaks

    Thanks a lot for your rely....
    then how could I use the remote connection pool in my
    local Tomcat server.....?If thats is not possible then
    what if organisation have two webservers...? you mean
    thay have to create connection pool in two servers
    rather on one server and use it every where.....?
    Still depends on what you are trying to achieve.
    Most clustered systesm use a connections on each server. They sync the data retrieved between servers, not the connections themselves.
    If you simply one a single connection point then you need to use a driver that proxies requests to and from the real connection point.
    RmiJdbc is free at http://www.objectweb.org/.
    There are commercial drivers available, search at http://industry.java.sun.com/products/jdbc/drivers, which provide an enterprise layer for database access. They are probably more robust and feature rich than the above one.

  • Serving virtual hosts with different instance of weblogic6.1

    We are using the apache plugin and weblogic6.1. Is it possible to send the request
    for each virtual host to a different instance of weblogic6.1 instance? If so how?
    For ex in my httpd.conf I want to say
    <VirtualHost abc.xyz.xom>
    WebLogicHost 192.168.10.20
    WebLogicPort 8001
    </VirtualHost>
    <VirtualHost cde.xyz.com>
    WebLogicHost 192.168.10.20
    WebLogicPort 8002
    </VirtualHost>
    Thanks in Advance
    Viren

    We have two virtual hosts for our SSO server.
    Intranet users use
    Name: sso.parlinkom.gv.at
    Address: 161.110.13.4
    but internet user use
    Name: clsso.parlinkom.gv.at
    Address: 161.110.1.17
    Yes, we have one portal.
    Thank you in advance
    Wolfgang

  • Application deployment order with weblogic-ejb-jar.xml and jndi-name

    I have two applicatation working on Weblogic server v. 10.3.6.
    First of them creating one ejb stateless bean and creates JNDI maping for it (in weblogic-ejb-jar.xml file):
    <weblogic-enterprise-bean>
         <ejb-name>ConfigMenegerBean</ejb-name>
         <stateless-session-descriptor>
         <stateless-session-descriptor>
              <business-interface-jndi-name-map>
              <business-remote>package.ConfigurationSessionRemote</business-remote>
              <jndi-name>ConfigMeneger</jndi-name>
              </business-interface-jndi-name-map>
         </stateless-session-descriptor>
         <enable-call-by-reference>true</enable-call-by-reference>
         <jndi-name>ConfigMeneger</jndi-name>
    </weblogic-enterprise-bean>
    Second appication have to refer for this bean by JNDI using spring been lookup :
    <jee:jndi-lookup id="configManager" jndi-name="ConfigMeneger"/>
    I changed deployment order parameter for both apllication(first=100 and second=500) in order to first app start first and share bean by jndi to another application. Unfortuantelly I got an error :
    javax.naming.NameNotFoundException: Unable to resolve 'ConfigMeneger'. Resolved ''; remaining name 'ConfigMeneger'
    How can I configure deployment order that first application make jndi mapping for bean, before the second application will use it ?

    Ok in a way I have solved my problem (even if I am not completely satisfied by the way on how to proceed...). So thanks to message "JBuilder7.0 and Weblogic6.1" on EJB sun forum :
    http://forum.java.sun.com/thread.jsp?thread=285735&forum=13&message=1255488
    I have tried the following actions (mentionned in the other forum messages):
    - To preserve changes to weblogic*.xml, the safest way is to change the ejb-borland.xml.
    (I am not sure that I have applied this advice correctly, because I suppose that syntax is not similar in weblogic file or borland file).
    And you can MANUALLY update the weblogic file in your JAR archive.
    1. Open the EJB JAR file in Winzip and extract the weblogic-ejb-jar.xml file, so that a copy exists in your
    project directory.
    2. Open this file (in Notepad), add the WebLogic specific information, and then save the file.
    3. Now, when you are finished with the build cycle and are ready to deploy, you may open the EJB jar file
    and swap in the weblogic-ejb-jar.xml file."
    Good Luck.

  • Weblogic.ejb20.locks.LockTimedOutException and pb with weblogic-ejb-jar.xml

    Hello All,
    I get a strange problem when I try to log in to the J2EE application based on EJBs:
    weblogic.ejb20.locks.LockTimedOutException
    I see that I can add an option to the weblogic-ejb-jar.xml file, and I hope that can help for my previous problem:
    <weblogic-enterprise-bean><stateful-session-descriptor>
    <allow-concurrent-calls>true</allow-concurrent-calls>
    </stateful-session-descriptor></weblogic-enterprise-bean>
    But I can not edit the weblogic-ejb-jar.xml file under JBuilder ! the file is probably read-only, but I do not know how to change the property. I can not find this file directly under JBuilder directories.
    So I have tried to open the module.jar that contained this file. I have checked: the file is not read-only. I have modified directly manually the weblogic-ejb-jar.xml file, but now I get this error in Jbuilder when I open the weblogic-ejb-jar.xml file:
    URL: Transformation requires a XSL StyleSheetThe Node does not have a style sheet associated with itEither add a style sheet using the Add stylesheets button on the toolbar or add a valid XSL Processing instruction to the document directly
    In conclusion, what should I do to be able to modify the weblogic-ejb-jar.xml file properly ??

    Ok in a way I have solved my problem (even if I am not completely satisfied by the way on how to proceed...). So thanks to message "JBuilder7.0 and Weblogic6.1" on EJB sun forum :
    http://forum.java.sun.com/thread.jsp?thread=285735&forum=13&message=1255488
    I have tried the following actions (mentionned in the other forum messages):
    - To preserve changes to weblogic*.xml, the safest way is to change the ejb-borland.xml.
    (I am not sure that I have applied this advice correctly, because I suppose that syntax is not similar in weblogic file or borland file).
    And you can MANUALLY update the weblogic file in your JAR archive.
    1. Open the EJB JAR file in Winzip and extract the weblogic-ejb-jar.xml file, so that a copy exists in your
    project directory.
    2. Open this file (in Notepad), add the WebLogic specific information, and then save the file.
    3. Now, when you are finished with the build cycle and are ready to deploy, you may open the EJB jar file
    and swap in the weblogic-ejb-jar.xml file."
    Good Luck.

  • Bea home and........

    hello
    when i setup my jbuilder6 to weblogic6,it ask me to input "bea home" and "weblogic6
    installation directory",i don't know which is which.
    my directory structure:
    f:/
    |
    |
    weblogic---jdk131
    |
    logs
    |
    utils
    |
    wlserver6.1
    thank you!

    Hi,
    Bea Home = f:\weblogic
    WebLogic 6 installation directory = f:\weblogic\wlserver6.1
    Nils
    [email protected] wrote:
    >
    hello
    when i setup my jbuilder6 to weblogic6,it ask me to input "bea home" and "weblogic6
    installation directory",i don't know which is which.
    my directory structure:
    f:/
    |
    |
    weblogic---jdk131
    |
    logs
    |
    utils
    |
    wlserver6.1
    thank you!
    ============================
    [email protected]

  • SSL certificate installed in Apache - determine browser's encryption

    Hi all,
    I have Apache Web Server and WebLogic6.1 Application Server. The two are
    connected by a plugin. All my web pages are installed in the Application
    server, ie. in WebLogic. I am using Apache Web Server just to direct the
    client requests to WebLogic Application Server.
    I have installed 128 bit SSL in the Apache Web Server, and left WebLogic as
    is with its default SSL encryption.
    My question is, is it possible to determine whether the client's browser has
    128 bit encryption or not, using servlets that reside in WebLogic
    Application Server? If yes, how?
    Thanks in advance,
    Regards,
    Jaya

    Hi,
    Thanks for your mail. The browserhawk is really a good software, but my
    purpose is to determine the browser settings from servlet, so that I can
    inform the user to upgrade his/her browser from 40 bit encryption to 128 bit
    encryption.
    Thanks,
    Jaya
    "Utpal" <[email protected]> wrote in message
    news:[email protected]..
    My question is, is it possible to determine whether the client's browserhas
    128 bit encryption or not, using servlets that reside in WebLogic
    Application Server? If yes, how?
    Have you tried http://www.cyscape.com/products/bhawk/javabean.asp .
    On the top right click on the [more] , it will run a browser test foryou.
    I hope that halps.
    -utpal
    "Vikor" <[email protected]> wrote in message
    news:[email protected]..
    Hi all,
    I have Apache Web Server and WebLogic6.1 Application Server. The two are
    connected by a plugin. All my web pages are installed in the Application
    server, ie. in WebLogic. I am using Apache Web Server just to direct the
    client requests to WebLogic Application Server.
    I have installed 128 bit SSL in the Apache Web Server, and left WebLogicas
    is with its default SSL encryption.
    My question is, is it possible to determine whether the client's browserhas
    128 bit encryption or not, using servlets that reside in WebLogic
    Application Server? If yes, how?
    Thanks in advance,
    Regards,
    Jaya

  • Command line interface to "code cache" memory pool utilization

    I need to monitor the usage of the "code cache" memory pool through a command-line interface, but it doesn't seem to me that the jstat tool is able to give me any information about this particular memory pool. Are there any other tools that is able to give me the details I need? I'm using both JDK 5 and 6.
    Edited by: normann1974 on Jul 10, 2008 9:40 AM

    Typically, this is a class path Problem when the JVM is unable to locate a
    class. Are you sure that the class listed as missing below is included in
    your class path?
    Michael Girdley, BEA Systems Inc
    Learning WebLogic? Buy the book.
    http://www.learnweblogic.com/
    "Pascal Guillot" <[email protected]> wrote in message
    news:3a5df1ee$[email protected]..
    >
    I seem to be running into dificulties when attempting to use theweblogic.Admin class for any commands from the command line
    I am running from a Solaris 5.7 box, and java version 1.1.6, and weblogic6.0 server is running in the background
    Anytime I attempt to run the class:
    java weblogic.Admin <commandofsort> (followed by any neccessary args) Iget the following error msg:
    >
    java.lang.NoClassDefFoundError: javax/management/AttributeList
    at weblogic.management.commandline.CommandLineArgs.<init>(CompiledCode)
    at weblogic.Admin.main(Compiled Code)
    (I can successfuly invoke most of the utililities in the utils classhowever)
    >
    any ideas?
    Pascal

  • On Weblogic7, how do I create an InitialContext to a Weblogic6 server and set SECURITY_CREDENTIALS?

    On a Weblogic7 server I am trying to
    create an InitialContext to a Weblogic6
    server and set the SECURITY_CREDENTIALS.
    The code is something like this:
    Hashtable p = new Hashtable();
    p.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    p.put(Context.PROVIDER_URL, url);
    p.put(Context.SECURITY_PRINCIPAL, usr);
    p.put(Context.SECURITY_CREDENTIALS, pwd);
    InitialContext ctx = new InitialContext(p);
    But when this code runs, I get a class cast
    exception on class:
    weblogic.security.acl.DefaultUserInfoImpl
    How can I stop this?

    Yes I wrote AspectRatioSelection to take the document orientation into consideration an use the ratio you set orientated to the documents orientation.  So an action to crop Landscape and Portraits for a 4X6 paper would be easy to record. You will notice the dialog has two numbers fields not a Width and Height fields no orientation is implied. Its companion LongSidePrintLength.jsx the let you set the correct print dpi after the aspect ratio crop.
    I did create a plug-in where you could specify an absolute aspect ratio that also had an orient option to work like AspectRatioSelection.  So with that plug-in you would able to crop a landscape to a portrait and portrait to landscape. Hover the image composition changes so much when you do often you can't get an acceptable composition.  The dialog also became hard  to describe well for me.  I program better then I do English.  The orient check box made width and height meaningless and the aspect ratio not absolute and wasn't easly explained. This is what it look like.
    znarkus wrote:
    Thanks for these scripts!
    I noticed an (for me) issue with AspectRatioSelection though: even though I set aspect ratio to 6:4 it decides to crop some images 4:6.
    It works with images that are portrait, but those that are more square are cropped in 4:6.
    I don't follow your more square thing.  If you have two documents one 4x6 and the other 6x4 which is more square?
    The way it works biased on you documents orientation. If your document is wider then tall it landscape if it taller the wide it a Portrait. If It square the plugin defaults it to Landscape.
    So it makes no difference if you set 4 and 6 or 6 and 4 or 3 and 2 or 2 and 3 
    Landscape and square document will see landscape selection with a or 3:2 aspect ratio selection or path the is either rectangle or oval
    Portraits documents will see a Portrait selection with a 2:3 aspect ratio selection or path the is either rectangle or oval
    Message was edited by: JJMack

  • Weblogic6.1 sp3 and oracle9.2.0.6

    Hi,
    We are migrating oracle8i to ora9.2.0.6 and app is running in weblogic6.1 sp3 on sun solaris5.8. we are using oracle oci driver.i have kept required dll's and classes12.jar in path.when try to read CLOB i am getting the below error.
    java.sql.SQLException: Message [ORA-890261532] not found in 'oracle.jdbc.dbaccess.Messages'.
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:2389)
    at oracle.jdbc.oci8.OCIDBAccess.clobRead(OCIDBAccess.java:3038)
    at oracle.jdbc.oci8.OCIDBAccess.lobRead(OCIDBAccess.java:2977)
    at oracle.sql.LobDBAccessImpl.getChars(LobDBAccessImpl.java:630)
    at oracle.sql.CLOB.getChars(CLOB.java:456)
    at oracle.sql.CLOB.getSubString(CLOB.java:299)
    at weblogic.jdbc.common.OracleClobImpl.getSubString(OracleClobImpl.java:70)
    I can do other operations well and with out any error.
    Please suggest any help

    mayilvaganan kasipandy wrote:
    Hi,
    We are migrating oracle8i to ora9.2.0.6 and app is running in weblogic6.1 sp3 on sun solaris5.8. we are using oracle oci driver.i have kept required dll's and classes12.jar in path.when try to read CLOB i am getting the below error.
    java.sql.SQLException: Message [ORA-890261532] not found in 'oracle.jdbc.dbaccess.Messages'.
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)That seems to indicate a version mismatch between one part of oracle and another.
    I am guessing that the newer DBMS is sending an error message that is unknown to
    the client's OCI installation. The first thing I'd do is to upgrade the client.
    Actually the first thing I'd do is stop using the OCI driver and start using the
    latest 10G driver from oracle, if possible.
    Joe
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:2389)
    at oracle.jdbc.oci8.OCIDBAccess.clobRead(OCIDBAccess.java:3038)
    at oracle.jdbc.oci8.OCIDBAccess.lobRead(OCIDBAccess.java:2977)
    at oracle.sql.LobDBAccessImpl.getChars(LobDBAccessImpl.java:630)
    at oracle.sql.CLOB.getChars(CLOB.java:456)
    at oracle.sql.CLOB.getSubString(CLOB.java:299)
    at weblogic.jdbc.common.OracleClobImpl.getSubString(OracleClobImpl.java:70)
    I can do other operations well and with out any error.
    Please suggest any help

  • Connection Pooling and JSP Custom Tag Library - is code (inside) the best way/correc?

    Hi, can anyone advise as to whether my tag library code (based
    on Apache Jakarta Project) will actually achieve connection
    pooling functionality across my entire JSP based application? I
    am slightly concerned that my OracleConnectionCacheImpl object
    may exist multiple times, hence rendering my conection pooling
    attempt useless.
    package com.solved.tag.dbtags.connection;
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    import javax.servlet.jsp.JspTagException;
    import javax.sql.DataSource;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import oracle.jdbc.pool.OracleConnectionCacheImpl;
    * <p>JSP tag connection, used to get a
    * java.sql.Connection object.</p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>connection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.ConnectionTag&lt;/t
    agclass>
    * &lt;bodycontent>JSP&lt;/bodycontent>
    &lt;teiclass>com.solved.tag.dbtags.connection.ConnectionTEI&lt;/t
    eiclass>
    * &lt;info>Opens a connection based on a jndiName.&lt;/info>
    * &lt;attribute>
    * &lt;name>id&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    public class ConnectionTag extends TagSupport {
    static private OracleConnectionCacheImpl cache = null;
    public int doStartTag() throws JspTagException {
    try {
    Connection conn = null;
    if (cache == null) {
    try {
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup
    ("jdbc/pool/OracleCache");
    cache = (OracleConnectionCacheImpl)ds;
    catch (NamingException ne) {
    throw new JspTagException(ne.toString());
    conn = cache.getConnection();
    pageContext.setAttribute(getId(),conn);
    catch (SQLException e) {
    throw new JspTagException(e.toString());
    return EVAL_BODY_INCLUDE;
    package com.solved.tag.dbtags.connection;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    * <p>JSP tag closeconnection, used to close the
    * specified java.sql.Connection.<p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>closeConnection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.CloseConnectionTag&
    lt;/tagclass>
    * &lt;bodycontent>empty&lt;/bodycontent>
    * &lt;info>Close the specified connection. The "conn"
    attribute is the name of a
    * connection object in the page context.&lt;/info>
    * &lt;attribute>
    * &lt;name>conn&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    * @see ConnectionTag
    public class CloseConnectionTag extends TagSupport {
    private String _connId = null;
    * The "conn" attribute is the name of a
    * page context object containing a
    * java.sql.Connection.
    * @param connectionId
    * attribute name of the java.sql.Connection to
    close.
    * @see ConnectionTag
    public void setConn(String connectionId) {
    _connId = connectionId;
    public int doStartTag() {
    try {
    Connection conn = (Connection)pageContext.getAttribute
    (_connId);
    conn.close();
    } catch (SQLException e) {
    // failing to close a connection is not fatal
    e.printStackTrace();
    return EVAL_BODY_INCLUDE;
    public void release() {
    _connId = null;
    package com.solved.tag.dbtags.connection;
    import javax.servlet.jsp.tagext.TagData;
    import javax.servlet.jsp.tagext.TagExtraInfo;
    import javax.servlet.jsp.tagext.VariableInfo;
    * TagExtraInfo for the connection tag. This
    * TagExtraInfo specifies that the ConnectionTag
    * assigns a java.sql.Connection object to the
    * "id" attribute at the end tag.
    * @author Matt Shannon
    * @see ConnectionTag
    public class ConnectionTEI extends TagExtraInfo {
    public final VariableInfo[] getVariableInfo(TagData data)
    return new VariableInfo[]
    new VariableInfo(
    data.getAttributeString("id"),
    "java.sql.Connection",
    true,
    VariableInfo.AT_END
    data-sources.xml:
    <?xml version="1.0"?>
    <!DOCTYPE data-sources PUBLIC "Orion data-
    sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
    class="oracle.jdbc.pool.OracleConnectionCacheImpl"
    name="jdbc/pool/OracleCache"
    location="jdbc/pool/OracleCache"
    url="jdbc:oracle:thin:@oracle1:1521:pdev"
    >
    <property name="maxLimit" value="15" />
    <property name="cacheScheme" value="2" />
    <property name="user" value="console" />
    <property name="password" value="console" />
    <description>
    This DataSource is using an Oracle-native DataSource Class so as
    to allow Oracle Specific extensions.
    A getConnection() call on this DataSource will return
    oracle.jdbc.driver.OracleConnection.
    The connection returned is a logical connection.
    The caching scheme in place is Fixed Wait. Refer below to
    possible values.
    Dynamic 1
    Fixed Wait 2
    Fixed Return Null 3
    </description>
    </data-source>
    </data-sources>
    many thanks,
    Matt.

    Hi. Show me your pool definition.
    Joe
    Ramamurthy wrote:
    I am using the jsp custom tag library from BEA called sqltags.tld which came with Weblogic 5.1. Currently I am using Weblogic6.1 sp2 on Solaris.
    I have created a Connection Pool for Sybase database using the driver com.sybase.jdbc.SybDriver.
    When I created jsp page to connect to the connection pool using sqltags custom tag library, I am getting the error
    "javax.servlet.jsp.JspException: Failed to write body content
    at weblogic.taglib.sql.ConnectionTag.doAfterBody(ConnectionTag.java:43)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:1014)"
    After this message, whenever I try to access the same jsp page I am getting the message
    "javax.servlet.jsp.JspException: Failed to load JDBC driver: weblogic.jdbc.pool.D
    river
    at weblogic.taglib.sql.ConnectionTag.doStartTag(ConnectionTag.java:34)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:205)".
    Can you please help me the reason why this problem is happening and how to fix this ?
    This problem doexn't happen consistently. This occurs once in a while.
    I tried to increase Login delay Seconds parameter in the Connection Pool to 15 sec. It didn't help me much.
    Thanks for your help !!!
    Ram

Maybe you are looking for

  • Any ideas on problem with ipod and alpine cde-9881 car stereo

    I have an ipod 60gb v 1.2.1 and a new Alpine car stereo with Ipod connecting cable. When connected, the stereo message reads IPod searching. It never assumes control of ipod,or quits searching. I have reset and restored my ipod, had the apple geek at

  • Youtube Facebook Google etc, Invalid URL error

    For many years now I've been putting up with a CONSTANT lingering problem with my Mac OS. These (on a very regular basis) irritating, "Invalid URL" errors. The picture that you see below is an example of my problem.  This example of a Youtube video g

  • Local full text search engine

    Hi all, I try to find any product outthere to make full text indexes of PDF files, searches localy from CD-ROM, and return the results to XML, so I can use it in my flash application. Any ideas? Thanks in advance

  • Address Book - Synch to Gmail

    the option to synchronise google mail in the preference pain of my address book does not exist....all i have is the option to synch with yahoo....how do i add google mail...anyone...

  • Not work mute botton and all buttons in slide bar hp pavillion dv6

    Trouble  with volume mute button,volume scroll zone, previous/rewind button,play/pause button,next/fast forward button,stop button..thank so much for help me..not work