Unknown protocol: jndi java.lang.Throwable: unknown protocol: jndi

hi,
i use WLI 8.1 sp6. in my application i have a JMS Queue to publish the message from first jpd and in the second JPD im reading the message using JMS EG. we have managed servers (MS1 and MS2) and 2 JMS Server. when the message is published to MS1 server its throwing the following exception
<unknown protocol: jndi
java.lang.Throwable: unknown protocol: jndi
at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.lookupConnectionFactory(JMSWrapper.java:200)
at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.getConnectionFactory(JMSWrapper.java:169)
at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.ensureJNDILookupCache(JMSWrapper.java:127)
at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.acquirePooledJMSConnectionAndSession(JMSWrapper.java:64)
at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.getSession(JMSWrapper.java:325)
at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlMsg.createTextMsg(JMSControlMsg.java:115)
at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlMsg.createMessage(JMSControlMsg.java:72)
at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.createMessage(JMSControlImpl.jcs:1293)
at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.handleInvoke(JMSControlImpl.jcs:1279)
at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.invokeInternal(JMSControlImpl.jcs:377)
at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.invoke(JMSControlImpl.jcs:310)
at com.bea.control.WliJMSControlImpl.invoke(WliJMSControlImpl.jcs:205)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
at $Proxy64.sendTextMessage(Unknown Source)
but in MS2 its working perfectly. Any help in solving this issue would be appreciated.
thanks,
Anees.

Check your java.security file
probably in your line to set parameter login.config.url.1=files:c:/yourpath/xxx.conf you removed the "files" protocol to indicate the path.
example
login.config.url.1=c:/yourpath/xxx.conf
with this you get the error
"java.lang.SecurityException: unknown protocol: c".
Regards,
Alexandre Gonzalez

Similar Messages

  • Need help (java.lang.RuntimeException: Unknown/unsupported charset:)

    Hi,
    Previously our application is running fine in
    iPlanet web server 4 and some times in Tomcat. Now we
    are migrating this application to weblogic 8.1 due to
    some load.
    After migrating to weblogic 8.1 we are getting some
    exception.
    The exception is:
    Servlet failed with Exception
    java.lang.RuntimeException: Unknown/unsupported
    charset: - java.io.UnsupportedEncodingException:
    Charset: '' not recognized, and there is no alias for
    it in the WebServerMBean
    at
    weblogic.servlet.jsp.JspParser.parse(JspParser.java:288)
    at
    weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
    In my Jsp page we have top declarations like in the
    below:
    <%@ include file="header.jsp" %>
    <%@ page import="com.customer.customercare.servlet.*"
    %>
    <%@ page import="com.customer.customercare.types.*" %>
    <%@ page import="com.customer.customercare.search.*"
    %>
    <%@ page import="com.customer.customercare.utils.*" %>
    <%@ page import="com.customer.customercare.log.*"%>
    <%@ page import="java.util.Date" %>
    <%@ page import="com.customer.customercare.utils.*" %>
    <%@ page
    import="com.customer.customercare.servlet.handler.*"
    %>
    <%@ page import="java.sql.Timestamp"%>
    <%@ page import="java.text.SimpleDateFormat"%>
    <%@ page import="java.util.StringTokenizer"%>
    <%@ page import="java.util.Calendar"%>
    We are not using any charter sets in the above page
    directory but we are using that in a meta tag:
    <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1">
    This might cause any problem?
    I tried charset=UTF-8, windows-1252 and UTF-16. But i
    am getting the same error.
    The thing is i am not getting this error from the JSP
    page. This jsp page calls a java class, that java
    class has a prepared statement. When the prepared
    statement is executed or before execution, this error is thrown on weblogic console. That
    error is not related to SQL.
    I think "charset" exception means it should come in JSP only. But i don't know why it is coming in the java class? i am confused?
    I don't know why exactly that error is coming...?
    My application is compiled in JDK1.3.1_08 and running
    in weblogic 8.1 which internally uses JDK1.4. Is this
    because of version problem?
    I am creating the .war file from the command prompt
    which path is set to JDK1.3.1_08...
    Can anybody help me out in this problem?
    Thanks and Regards,
    Chandu.

    Hi,
              For this issue,The CR was filed in weblogic 8.1 sp2
              go through the link, you will find CR information in link.
              http://e-docs.bea.com/wls/docs81/notes/resolved_sp02.html#1390392
              -----Anilkumar kari

  • Jasperreport java.lang.NoSuchMethodException: Unknown property

    Software
    JDK 1.5
    jasperreport 1.2.1
    I have used JRBeanCollectionDataSource but the following exception arrives.
    java.lang.NoSuchMethodException: Unknown property 'PurchasePackingId'
            at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1157)
            at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:754)
            at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:783)
            at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getBeanProperty(JRAbstractBeanDataSource.java:104)
            at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getFieldValue(JRAbstractBeanDataSource.java:93)
            at net.sf.jasperreports.engine.data.JRBeanCollectionDataSource.getFieldValue(JRBeanCollectionDataSource.java:104)
            at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:727)
            at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:980)
            at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:126)
            at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:747)
            at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:663)
            at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)
            at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
            at net.sf.jasperreports.engine.JasperManager.fillReport(JasperManager.java:836)
            at com.inventory.ReportPurchase.showReportVer6(ReportPurchase.java:142)
            at com.inventory.ReportPurchase.print(ReportPurchase.java:124)
            at com.utility.view.ui.mdiMenu.jbutPrintActionPerformed(mdiMenu.java:882)
            at com.utility.view.ui.mdiMenu.access$1400(mdiMenu.java:19)
            at com.utility.view.ui.mdiMenu$15.actionPerformed(mdiMenu.java:682)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
            at java.awt.Component.processMouseEvent(Component.java:5488)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
            at java.awt.Component.processEvent(Component.java:5253)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3955)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.Window.dispatchEventImpl(Window.java:1774)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    NESTED BY :
    java.lang.NoSuchMethodException: Unknown property 'PurchasePackingId'
            at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1157)
            at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:754)
            at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:783)
            at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getBeanProperty(JRAbstractBeanDataSource.java:104)
            at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getFieldValue(JRAbstractBeanDataSource.java:93)
            at net.sf.jasperreports.engine.data.JRBeanCollectionDataSource.getFieldValue(JRBeanCollectionDataSource.java:104)
            at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:727)
            at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:980)
            at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:126)
            at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:747)
            at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:663)
            at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)
            at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
            at net.sf.jasperreports.engine.JasperManager.fillReport(JasperManager.java:836)
            at com.inventory.ReportPurchase.showReportVer6(ReportPurchase.java:142)
            at com.inventory.ReportPurchase.print(ReportPurchase.java:124)
            at com.utility.view.ui.mdiMenu.jbutPrintActionPerformed(mdiMenu.java:882)
            at com.utility.view.ui.mdiMenu.access$1400(mdiMenu.java:19)
            at com.utility.view.ui.mdiMenu$15.actionPerformed(mdiMenu.java:682)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
            at java.awt.Component.processMouseEvent(Component.java:5488)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
            at java.awt.Component.processEvent(Component.java:5253)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3955)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.Window.dispatchEventImpl(Window.java:1774)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    NESTED BY :
    net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : PurchasePackingId
            at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getBeanProperty(JRAbstractBeanDataSource.java:116)
            at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getFieldValue(JRAbstractBeanDataSource.java:93)
            at net.sf.jasperreports.engine.data.JRBeanCollectionDataSource.getFieldValue(JRBeanCollectionDataSource.java:104)
            at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:727)
            at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:980)
            at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:126)
            at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:747)
            at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:663)
            at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)
            at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
            at net.sf.jasperreports.engine.JasperManager.fillReport(JasperManager.java:836)
            at com.inventory.ReportPurchase.showReportVer6(ReportPurchase.java:142)
            at com.inventory.ReportPurchase.print(ReportPurchase.java:124)
            at com.utility.view.ui.mdiMenu.jbutPrintActionPerformed(mdiMenu.java:882)
            at com.utility.view.ui.mdiMenu.access$1400(mdiMenu.java:19)
            at com.utility.view.ui.mdiMenu$15.actionPerformed(mdiMenu.java:682)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
            at java.awt.Component.processMouseEvent(Component.java:5488)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
            at java.awt.Component.processEvent(Component.java:5253)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3955)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.Window.dispatchEventImpl(Window.java:1774)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: java.lang.NoSuchMethodException: Unknown property 'PurchasePackingId'
            at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1157)
            at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:754)
            at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:783)
            at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getBeanProperty(JRAbstractBeanDataSource.java:104)
            ... 39 more
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
            at java.awt.Container.addImpl(Container.java:1015)
            at java.awt.Container.add(Container.java:351)
            at com.inventory.ReportPurchase.showReportVer6(ReportPurchase.java:154)
            at com.inventory.ReportPurchase.print(ReportPurchase.java:124)
            at com.utility.view.ui.mdiMenu.jbutPrintActionPerformed(mdiMenu.java:882)
            at com.utility.view.ui.mdiMenu.access$1400(mdiMenu.java:19)
            at com.utility.view.ui.mdiMenu$15.actionPerformed(mdiMenu.java:682)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
            at java.awt.Component.processMouseEvent(Component.java:5488)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
            at java.awt.Component.processEvent(Component.java:5253)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3955)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.Window.dispatchEventImpl(Window.java:1774)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)The bean used is
    public class ReportPurchaseObject
            private int purchasePackingId;
            private java.sql.Date transDate;
            private int supplierId;
            private int productId;
            private String supplier;
            private String product;
            private Double sumOfQuantity;
            ReportPurchaseObject(int purchasePackingId,java.sql.Date transDate,int supplierId,int productId,String supplier,String product,Double sumOfQuantity)
                this.setPurchasePackingId(purchasePackingId);
                this.setTransDate(transDate);
                this.setSupplierId(supplierId);
                this.setProductId(productId);
                this.setSupplier(supplier);
                this.setProduct(product);
                this.setSumOfQuantity(sumOfQuantity);
            public int getPurchasePackingId() {
                return purchasePackingId;
            public java.sql.Date getTransDate() {
                return transDate;
            public int getSupplierId() {
                return supplierId;
            public int getProductId() {
                return productId;
            public String getSupplier() {
                return supplier;
            public String getProduct() {
                return product;
            public Double getSumOfQuantity() {
                return sumOfQuantity;
            public void setPurchasePackingId(int purchasePackingId) {
                this.purchasePackingId = purchasePackingId;
            public void setTransDate(java.sql.Date transDate) {
                this.transDate = transDate;
            public void setSupplierId(int supplierId) {
                this.supplierId = supplierId;
            public void setProductId(int productId) {
                this.productId = productId;
            public void setSupplier(String supplier) {
                this.supplier = supplier;
            public void setProduct(String product) {
                this.product = product;
            public void setSumOfQuantity(Double sumOfQuantity) {
                this.sumOfQuantity = sumOfQuantity;
        }Thanks in advance
    CSJakharia

    Please go to this link for your answer
    http://www.discussjava.com/wforum/viewforum.php?f=20

  • Java.lang.NoSuchMethodException: Unknown property

    I am receiving this error and i cant figure out why
    This is the error log from log file on the server
    Servlet.service() for servlet jsp threw exception
    java.lang.NoSuchMethodException: Unknown property 'persondbao'
         at com.sun.org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1777)
         at com.sun.faces.config.ManagedBeanFactoryImpl.setPropertiesIntoBean(ManagedBeanFactoryImpl.java:632)
         at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:299)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:490)
         at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
         at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:100)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:288)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:216)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:249)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:277)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
         at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:241)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:153)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:850)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:697)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:532)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:465)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:353)
         at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:775)
         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:742)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:95)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:353)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:412)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:318)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)

    Please go to this link for your answer
    http://www.discussjava.com/wforum/viewforum.php?f=20

  • Sample HellowWorld OA page getting Error java.lang.IllegalArgumentException: Unknown signal: ALRM

    Hi,
    I have followed the doc Doc ID 416708.1 and downloaded the patch
    p9879989_R12_GENERIC.zip
    Followed all the instructions to set up the run time connection and make sure the user/password put having the responsibility SYSADMIN, SYSTEM_ADMINISTRATOR. Now, start running the HelloWorldPG, it failed with error page, the error stack in the server log shows:
    3/11/01 22:43:02 Oracle Containers for J2EE 10g (10.1.3.3.0)  initialized
    13/11/01 22:43:07 TIME: runregion: initialization [2 ms]
    13/11/01 22:43:11 TIME: runregion: session and transaction creation [3669 ms]
    Nov 1, 2013 10:43:15 PM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    13/11/01 22:43:15 java.lang.IllegalArgumentException: Unknown signal: ALRM
    13/11/01 22:43:15     at sun.misc.Signal.<init>(Signal.java:126)
    13/11/01 22:43:15     at oracle.apps.fnd.framework.AppsDiagnosticsHandler.install(Unknown Source)
    13/11/01 22:43:15     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.initializeSignalHandler(Unknown Source)
    13/11/01 22:43:15     at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.<clinit>(Unknown Source)
    13/11/01 22:43:15     at java.lang.Class.forName0(Native Method)
    13/11/01 22:43:15     at java.lang.Class.forName(Class.java:242)
    Please help! Thanks a lot!

    Hi,
    I am also facing the same issue. Is that resolved for you? Please let me know.
    -Thanks

  • At java.lang.Throwable.fillInStackTrace(Native Method)

    Hello,
    I have a Jsp,which has a hyper link to another Jsp.Some times very rarely i get this error when i click on the
    link.
    java.lang.RuntimeException: IOException occured
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at weblogic.servlet.internal.ServletOutputStreamImpl.write(Compiled Code)
    at weblogic.servlet.internal.WLOutputStreamWriter.flushBuffer(Compiled Code)
    at weblogic.servlet.internal.WLOutputStreamWriter.write(Compiled Code)
    at weblogic.servlet.internal.WLOutputStreamWriter.write(Compiled Code)
    at java.io.Writer.write(Compiled Code)
    at weblogic.servlet.jsp.JspWriterImpl.print(Compiled Code)
    at examples.jsp._pfsonline._https._showhide.__sso_showhide_cur._jspService(Compiled Code)
    at weblogic.servlet.jsp.JspBase.service(Compiled Code)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
    at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    can some one tell me when does this happen.Is it something to do with the configuration.
    Thanks
    Shashi

    Did you ever find out the answer to this question?
    I have been getting a similar error. My page draws
    fine, but I get an occasional error:
    java.lang.RuntimeException: IOException occured
    at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:178)
    at weblogic.servlet.internal.WLOutputStreamWriter.flushBuffer(WLOutputStreamWriter.java:139)
    at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWriter.java:104)
    at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWriter.java:111)
    at java.io.Writer.write(Unknown Source)
    at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:155)
    at jspc._admin._offering.__offering_intro._jspService(__offering_intro.java:433)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:120)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:941)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:905)
    at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:391)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:273)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    Let me know if you get any answers.
    Best,
    JL
    [email protected]

  • UCM: File is missing. Exception type is 'java.lang.Throwable'.

    We have been having an intermittent issue with SES crawling UCM's data. There is a loose correlation between the issue occurring and the following exception appearing in UCM's Content Server Log:
    File is missing. Exception type is 'java.lang.Throwable'. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !syFileMissing,42000034474,1,61242!syExceptionType,java.lang.Throwable
    java.lang.Throwable
         at intradoc.common.IdcLogWriter.doMessageAppend(IdcLogWriter.java:81)
         at intradoc.common.Log.addMessage(Log.java:268)
         at intradoc.common.Log.errorEx2(Log.java:216)
         at intradoc.common.LoggingUtils.logMessage(LoggingUtils.java:97)
         at intradoc.common.SystemUtils.reportErrorEx(SystemUtils.java:462)
         at intradoc.common.SystemUtils.errEx(SystemUtils.java:547)
         at intradoc.common.SystemUtils.err(SystemUtils.java:538)
         at intradoc.indexer.CommonIndexerBulkLoader.handleLoadError(CommonIndexerBulkLoader.java:544)
         at intradoc.indexer.CommonIndexerBulkLoader.loadRecordWebChange(CommonIndexerBulkLoader.java:205)
         at intradoc.indexer.IndexerBulkLoader.createBulkLoad(IndexerBulkLoader.java:309)
         at intradoc.indexer.IndexerBulkLoader.doWork(IndexerBulkLoader.java:164)
         at intradoc.indexer.Indexer.doIndexing(Indexer.java:431)
         at intradoc.indexer.Indexer.buildIndex(Indexer.java:340)
         at intradoc.server.IndexerMonitor.doIndexing(IndexerMonitor.java:1012)
         at intradoc.server.IndexerMonitor$4.run(IndexerMonitor.java:832)
    Can anybody tell me what conditions would cause this error?

    well yes:
    panel.addGLEventListener(new GLR());
    "GLR" implements "GLEventListener" and defines the required methods
    I installed the Netbeans OpenGL Pack on NetBeans 6.5 and there is a problem with that...mh :(
    Ok I also tried to create a GLPanel-Sample-Project and modify it but netbeans don't know "javax.swing.GroupLayout;" I installed the JDK as well.
    mh what can i do: try to fix my actual error or try to get GroupLayout in java.swing^^

  • Java.lang.NullPointerException no protocol: database.xml

    * In Order To Handle XML Operations
    package edu.yeditepe.cse.util;
    import java.util.*;
    import java.io.File;
    import java.io.IOException;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.OutputKeys;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    * @author xx
    public class XMLHandler {
         public final static String ATTRIBUTE           = "value";
         public final static String DOCTYPE_PUBLIC   = "databases";
         public final static String DOCTYPE_SYSTEM   = "database.dtd";
         public final static String ParentElement    = "variable";
         public final static String databaseName          = "databasename";
         public final static String urlName            = "urlname";
         public final static String userName           = "username";
         public final static String passWord           = "password";
         public XMLHandler()
         //     This Function returns the XML File .
         private static Document getDocument(){
                    try {             
                     DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                     factory.setIgnoringComments(true);
                     factory.setIgnoringElementContentWhitespace(true);
                     factory.setValidating(true);
                     DocumentBuilder builder = factory.newDocumentBuilder();
                      builder.setErrorHandler(new MyErrorHandler());
                     return builder.parse(new InputSource("database.xml"));
                 } catch (Exception e) {
                     System.out.println(e.getMessage());
              return null;
         //Adds new Element to The database.Xml File.
         public boolean addElement(String databasename , String urlname, String username , String password ){
              Document doc = getDocument();
              Element root = doc.getDocumentElement();
              Element parentElement = (Element)doc.createElement(ParentElement);//Take parent Element. We have to take this parent Element since we will add new Element to this Parent Element.
              Element databaseNameElement = (Element)doc.createElement(databaseName);//Create Name Element To Bind Value of New Element.
              databaseNameElement.setAttribute(ATTRIBUTE , databasename );//set the attribute of this child.
              Element urlnameElement = (Element)doc.createElement(urlName);//Create Name Element To Bind Value of New Element.
              urlnameElement.setAttribute(ATTRIBUTE , urlname );//set the attribute of this child.
              Element usernameElement = (Element)doc.createElement(userName);//Create Value Element To Bind Value of the new Element.
              usernameElement.setAttribute(ATTRIBUTE , username );//set the attribute of this second child.
              Element passwordElement = (Element)doc.createElement(passWord);//Create Value Element To Bind Value of the new Element.
              passwordElement.setAttribute(ATTRIBUTE , password );//set the attribute of this second child.
              //Form New Variable  via appending its name and value child to itself.
              parentElement.appendChild(databaseNameElement);
              parentElement.appendChild(urlnameElement);
              parentElement.appendChild(usernameElement);
              parentElement.appendChild(passwordElement);
              //Add This Variable To The Root Element.
              root.appendChild(parentElement);
              try{          
                   saveDocument(doc);//Save And Close The XML File. Catch any Exception Occured.
                   return true;
              }catch(Exception e){
                   System.out.println("##error: " + e);     
                   e.printStackTrace();
                   return false;
         }//add Element Function.
         //     Save changes of the Document doc.
         private boolean saveDocument(Document doc){
              try{
                Transformer xformer = TransformerFactory.newInstance().newTransformer();
              xformer.setOutputProperty(OutputKeys.INDENT, "yes");//For INDENTED PRINTING OF THE FILE
              xformer.setOutputProperty(OutputKeys.ENCODING, "ISO-8859-9");//Determining Encoding Type.
              xformer.setOutputProperty(OutputKeys.DOCTYPE_PUBLIC, DOCTYPE_PUBLIC);//PRESERVE ROOT ELEMENT
              xformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, DOCTYPE_SYSTEM);//REFERENCE TO DTD FILE
              Source source = new DOMSource(doc);
              Result result = new StreamResult(new File("database.xml"));
              xformer.transform(source, result);
                return true;
              }catch(TransformerConfigurationException e){
                   System.out.println(e);
              }catch(TransformerException e){
                   System.out.println(e);
              return false;
         }//Save
    package edu.yeditepe.cse.util;
    * @author xx
    public class Deneme {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              XMLHandler xh = new XMLHandler();     
              System.out.println(xh.addElement("dasd","asda","adadad","das"));
    }it gives error in linse "Element root = doc.getDocumentElement();"
    i am using jre 1.5.0_ 09
    xalan-2.7.0.jar
    Error on the console is :
    no protocol: database.xml
    Exception in thread "main" java.lang.NullPointerException
         at edu.yeditepe.cse.util.XMLHandler.addElement(XMLHandler.java:69)
         at edu.yeditepe.cse.util.Deneme.main(Deneme.java:16)
    Problem is related with
    return builder.parse(new InputSource("database.xml"));
    when i am trying to type file:///database.xml instead of database.xml
    it adds some more path therefore it doesn't work
    Any help appreciated..

    It seems that the file you are trying to parse is not in your current working directory. The solution, if that is the problem, would be to specify the full path of the file.

  • Java.lang.UnsatisfiedLinkError - Unknown file type.

    Hi
    I am trying load a library file A.so using System.load function and I get the below error
    java.lang.UnsatisfiedLinkError: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: ld.so.1: java: fatal: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: unknown file type (Possible cause: endianness mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    Can some one please help.
    Also when I am using the libraries of next version,I get the below error
    java.lang.UnsatisfiedLinkError: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: ld.so.1: java: fatal: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: wrong ELFCLASS:ELFCLASS32(Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    Thanks
    Phani

    phani_sridhar wrote:
    Hi
    I am trying load a library file A.so using System.load function and I get the below error
    java.lang.UnsatisfiedLinkError: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: ld.so.1: java: fatal: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: unknown file type (Possible cause: endianness mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    Can some one please help.
    Also when I am using the libraries of next version,I get the below error
    java.lang.UnsatisfiedLinkError: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: ld.so.1: java: fatal: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: wrong ELFCLASS:ELFCLASS32(Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    I see several possibilities.
    1. What you are trying to load is not a shared library.
    2. The shared library is compiled incorrectly to match the process space of the VM. There can be any number of causes for this.
    Note that the word width mismatch strongly suggests the second.
    You should start by forgetting weblogic entirely. Write a simple java app and using an explicit path in the load() method, not loadLibrary(), get it to load. Until it works there it you have no chance in weblogic.

  • Java.lang.Throwable: method getCause()Ljava/lang/Throwable; not found in web-App

    Thanks for the answer, the problem is that for the first times that launch the application works in correct way in fact I see opened mine report to video, then stops to work and generates that error.

    This error says:
    - There is no method called "parseFloat" that receives a String as parameter in class java.lang.Float.
    Look the method "parseFloat" at the class java.lang.Float!!

  • IWAB0399E Error in generating Java from WSDL:  java.lang.RuntimeException:

    Hi,
    I did try to create web service client using eclipse. Imported wsdl to eclipse project and tried to create java client but I am getting following exception :
    IWAB0399E Error in generating Java from WSDL: java.lang.RuntimeException: Unknown element _value
    java.lang.RuntimeException: Unknown element _value
    at org.apache.axis.wsdl.toJava.JavaBeanWriter.getBinaryTypeEncoderName(JavaBeanWriter.java:490)
    at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeSimpleTypeGetter(JavaBeanWriter.java:928)
    at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeAccessMethods(JavaBeanWriter.java:1102)
    at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeFileBody(JavaBeanWriter.java:238)
    at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
    at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.java:1405)
    at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.java:113)
    at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.java:421)
    at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:547)
    at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:432)
    at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
    at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
    at java.lang.Thread.run(Unknown Source)
    This works just fine in SoapUI. Also can access this from other clients.
    You can access the wsdl fine from http://unit7165.oracleads.com:9008/opptyMgmtOpportunities/OpportunityService?wsdl
    Does anybody know why this does not work in Eclipse?
    Thanks.

    Hi Team,
    I am too getting same exception when trying to create client side code from wsdl.
    Below is what I am using :
    wsdl link :
    https://fap0607-crm.oracleads.com/mklLeads/SalesleadService?wsdl
    Tools I used : Apache Axis 1.4 jars and used command - wsdl2java
    I guess, it's a bug already reported here :
    https:/issues.apache.org/jira/browse/AXIS-1828
    Any pointer to this will help.
    Regards,
    Sumit

  • JMS+Applet+weblogic+java.lang.ClassNotFoundException: weblogic.jndi.interna

    Hi, I have a problem with JMS, I wrote an applet with JBuilder 9. This applet receive a message from a topic on weblogic 7.01 Application Server.
    When I run this applet in jbuilder, all of thing is Ok but in browser (I.E) it didn�t work and show this message!!
    java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_WLStub
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:479)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.init(Unknown Source)
         at javax.naming.InitialContext.<init>(Unknown Source)
         at jms.RescueJMSApplet.setContext(RescueJMSApplet.java:207)
         at jms.RescueJMSApplet.initJMS(RescueJMSApplet.java:117)
         at jms.RescueJMSApplet.init(RescueJMSApplet.java:56)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: D:\project\jms\classes\weblogic\jndi\internal\ServerNamingNode_WLStub.class (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 23 more
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
    [java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_WLStub]
         at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:483)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.init(Unknown Source)
         at javax.naming.InitialContext.<init>(Unknown Source)
         at jms.RescueJMSApplet.setContext(RescueJMSApplet.java:207)
         at jms.RescueJMSApplet.initJMS(RescueJMSApplet.java:117)
         at jms.RescueJMSApplet.init(RescueJMSApplet.java:56)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I was install j2re-1_4_05_windows_i586_i.exe and copy weblogic.jar file in true directory .I set the archive attribute of the applet tag to weblogic.jar path.
    Can any body help me!
    Thank a lot

    Hi Famoniri,
    I guess you have used weblogic specific libraries for looking up. IE does not know about this class and hence java.lang.ClassNotFoundException.
    If the above is the cause of the problem, try packaging the weblogic jar files with the applet(not a good idea!) or use the standard javax.naming packages(may be a good idea!).
    The problem causer is weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub which is trying to load classes which are not prsent in its viscinity.
    Let me know if this helps.
    Regards,
    Rajesh

  • Applet failed to load when visited using HTTPs protocol with Java 7

    We have a java applet on our website which worked for ages. Then Java 7 came out, people installed it. When people with Java 7 visiting our website using HTTPS, the applet failed to load (ClassNotFoundException). The same site and the same applet, when visit using regular HTTP, it works fine.
    People with previous version of Java (1.6.x) can see the applet using either HTTP or HTTPs with no problem.
    Anything we can do on our side to resolve this problem for people with Java 7 and like to stay with HTTPS?
    Googled and didn't see any relevant result. Any pointer would be much appreciated.

    Thanks for the quick response.
    Not much on the stack trace, did a tread dump below.
    It is an application requires login, please sent and email to [email protected] and I will sent you the url and login info by email.
    Thanks
    plugin2manager.parentwindowDispose
    Java Plug-in 10.4.0.22
    Using JRE version 1.7.0_04-b22 Java HotSpot(TM) Client VM
    User home directory = C:\Users\dchen
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    Dump thread stack ...
    2012-05-10 17:17:59
    Full thread dump Java HotSpot(TM) Client VM (23.0-b21 mixed mode, sharing):
    "D3D Screen Updater" daemon prio=8 tid=0x04fa1800 nid=0x530 in Object.wait() [0x0a0df000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
         - locked <0x296c0248> (a java.lang.Object)
         at java.lang.Thread.run(Unknown Source)
    "ConsoleTraceListener" daemon prio=4 tid=0x04fa0000 nid=0x269c in Object.wait() [0x09c8f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at com.sun.deploy.uitoolkit.ui.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
         - locked <0x296c0c90> (a com.sun.deploy.uitoolkit.ui.ConsoleTraceListener$BoundedStringBuffer)
    "AWT-EventQueue-1" prio=6 tid=0x04fa2000 nid=0x1730 waiting on condition [0x0a6ce000]
    java.lang.Thread.State: RUNNABLE
         at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllStacksImpl(Native Method)
         at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllStacks(Unknown Source)
         at com.sun.deploy.uitoolkit.impl.awt.ui.SwingConsoleWindow$2.actionPerformed(Unknown Source)
         at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
         at javax.swing.SwingUtilities.notifyAction(Unknown Source)
         at javax.swing.JComponent.processKeyBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
         at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
         at javax.swing.JComponent.processKeyBindings(Unknown Source)
         at javax.swing.JComponent.processKeyEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "TimerQueue" daemon prio=4 tid=0x04f9e000 nid=0x3e0c waiting on condition [0x09f3f000]
    java.lang.Thread.State: WAITING (parking)
         at sun.misc.Unsafe.park(Native Method)
         - parking to wait for <0x24620900> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
         at java.util.concurrent.locks.LockSupport.park(Unknown Source)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
         at java.util.concurrent.DelayQueue.take(Unknown Source)
         at javax.swing.TimerQueue.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "AWT-EventQueue-4" prio=4 tid=0x04fa1400 nid=0x255c waiting on condition [0x0945f000]
    java.lang.Thread.State: WAITING (parking)
         at sun.misc.Unsafe.park(Native Method)
         - parking to wait for <0x246209e8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
         at java.util.concurrent.locks.LockSupport.park(Unknown Source)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
         at java.awt.EventQueue.getNextEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "Applet 5 LiveConnect Worker Thread" prio=4 tid=0x04f9f400 nid=0x3994 in Object.wait() [0x05d9f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$LiveConnectWorker.run(Unknown Source)
         - locked <0x24620ac8> (a java.lang.Object)
         at java.lang.Thread.run(Unknown Source)
    "AWT-EventQueue-0" prio=6 tid=0x04f9fc00 nid=0x3b2c waiting on condition [0x0608f000]
    java.lang.Thread.State: WAITING (parking)
         at sun.misc.Unsafe.park(Native Method)
         - parking to wait for <0x2979ab70> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
         at java.util.concurrent.locks.LockSupport.park(Unknown Source)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
         at java.awt.EventQueue.getNextEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "AWT-Shutdown" prio=6 tid=0x04f9e800 nid=0x244c in Object.wait() [0x0669f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at sun.awt.AWTAutoShutdown.run(Unknown Source)
         - locked <0x2979acd8> (a java.lang.Object)
         at java.lang.Thread.run(Unknown Source)
    "TimerQueue" daemon prio=6 tid=0x04fa0c00 nid=0x3914 waiting on condition [0x0a65f000]
    java.lang.Thread.State: WAITING (parking)
         at sun.misc.Unsafe.park(Native Method)
         - parking to wait for <0x29c27340> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
         at java.util.concurrent.locks.LockSupport.park(Unknown Source)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
         at java.util.concurrent.DelayQueue.take(Unknown Source)
         at javax.swing.TimerQueue.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "JVM[id=2]-Heartbeat" daemon prio=6 tid=0x04f9ec00 nid=0x3c98 in Object.wait() [0x0687f000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at sun.plugin2.main.server.HeartbeatThread.run(Unknown Source)
         - locked <0x2979a7a0> (a sun.plugin2.main.client.PluginMain$Heartbeat)
    "Browser Side Object Cleanup Thread" prio=6 tid=0x04f9d000 nid=0x3ce4 in Object.wait() [0x0710f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x2979a958> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x2979a958> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at sun.plugin2.main.client.LiveConnectSupport$BrowserSideObjectCleanupThread.run(Unknown Source)
    "CacheCleanUpThread" daemon prio=6 tid=0x04f9dc00 nid=0x2500 in Object.wait() [0x0655f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x2979a978> (a com.sun.deploy.cache.CleanupThread)
         at java.lang.Object.wait(Object.java:503)
         at com.sun.deploy.cache.CleanupThread.run(Unknown Source)
         - locked <0x2979a978> (a com.sun.deploy.cache.CleanupThread)
    "CacheMemoryCleanUpThread" daemon prio=6 tid=0x04f9d400 nid=0x1ac4 in Object.wait() [0x0611f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x2979aa68> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x2979aa68> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at com.sun.deploy.cache.MemoryCache$LoadedResourceCleanupThread.run(Unknown Source)
    "SysExecutionTheadCreator" daemon prio=6 tid=0x04f9c800 nid=0x3ff4 in Object.wait() [0x0660f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator.run(Unknown Source)
         - locked <0x2979aa88> (a sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator)
    "AWT-Windows" daemon prio=6 tid=0x04f8f000 nid=0x3480 runnable [0x026af000]
    java.lang.Thread.State: RUNNABLE
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(Unknown Source)
    "Java2D Disposer" daemon prio=10 tid=0x04f8d000 nid=0x1920 in Object.wait() [0x064ff000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x2979ad68> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at sun.java2d.Disposer.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "Java Plug-In Pipe Worker Thread (Client-Side)" daemon prio=6 tid=0x04f8a000 nid=0x580 runnable [0x0617f000]
    java.lang.Thread.State: RUNNABLE
         at sun.plugin2.os.windows.Windows.ReadFile0(Native Method)
         at sun.plugin2.os.windows.Windows.ReadFile(Unknown Source)
         at sun.plugin2.ipc.windows.WindowsNamedPipe.read(Unknown Source)
         at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.read(Unknown Source)
         at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.readByte(Unknown Source)
         at sun.plugin2.message.AbstractSerializer.readInt(Unknown Source)
         at sun.plugin2.message.transport.SerializingTransport.read(Unknown Source)
         at sun.plugin2.message.Pipe$WorkerThread.run(Unknown Source)
    "Timer-0" prio=6 tid=0x04f3d800 nid=0x2c38 in Object.wait() [0x0521f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x2979b0a8> (a java.util.TaskQueue)
         at java.lang.Object.wait(Object.java:503)
         at java.util.TimerThread.mainLoop(Unknown Source)
         - locked <0x2979b0a8> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Unknown Source)
    "traceMsgQueueThread" daemon prio=6 tid=0x04f19c00 nid=0x3b50 in Object.wait() [0x054cf000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at com.sun.deploy.trace.Trace$TraceMsgQueueChecker.run(Unknown Source)
         - locked <0x298209e0> (a java.util.ArrayList)
         at java.lang.Thread.run(Unknown Source)
    "Service Thread" daemon prio=6 tid=0x04e80c00 nid=0x2930 runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "C1 CompilerThread0" daemon prio=10 tid=0x04e7c400 nid=0x2648 waiting on condition [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x04e7b000 nid=0x1b5c runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x04e77c00 nid=0x1bd0 runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x022e1000 nid=0x3d00 in Object.wait() [0x04c5f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x2979b330> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
    "Reference Handler" daemon prio=10 tid=0x022df800 nid=0x3644 in Object.wait() [0x04bdf000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:503)
         at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
         - locked <0x2979a0c8> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x0036d800 nid=0x2f40 in Object.wait() [0x00a2f000]
    java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
         - locked <0x2979b3b8> (a sun.plugin2.message.Queue)
         at sun.plugin2.message.Pipe$1.run(Unknown Source)
         at com.sun.deploy.util.Waiter$1.wait(Unknown Source)
         at com.sun.deploy.util.Waiter.runAndWait(Unknown Source)
         at sun.plugin2.message.Pipe.receive(Unknown Source)
         at sun.plugin2.main.client.PluginMain.mainLoop(Unknown Source)
         at sun.plugin2.main.client.PluginMain.run(Unknown Source)
         at sun.plugin2.main.client.PluginMain.main(Unknown Source)
    "VM Thread" prio=10 tid=0x022de400 nid=0x3cc0 runnable
    "VM Periodic Task Thread" prio=10 tid=0x04ea9000 nid=0x3fd4 waiting on condition
    .main.client.PluginMain.run(Unknown Source)
         at sun.plugin2.main.client.PluginMain.main(Unknown Source)
    "VM Thread" prio=10 tid=0x022de400 nid=0x3cc0 runnable
    "VM Periodic Task Thread" prio=10 tid=0x04ea9000 nid=0x3fd4 waiting on condition
    Done.

  • Ava/lang/IllegalArgumentException: Missing protocol separator--pls help

    hi guys
    i have encounter this error in my coding.i 'm a novice in j2me programming, so pls help me .thanks
    Uncaught exception java/lang/IllegalArgumentException: Missing protocol separator.
    i think the error is somewhere in that code.
    try{
    SocketConnection sc = (SocketConnection) Connector.open("socket://localhost:5678",Connector.READ_WRITE);
       String uri = "file:c:/commands.txt";
       System.out.println("r");
                  InputConnection conn = (InputConnection)Connector.open( uri,Connector.READ );
        int ch;
      InputStream in = sc.openInputStream();
    OutputStream out=sc.openOutputStream();
      while( ( ch = in.read() ) != -1 ){
                    System.out.print( (char) ch );
    out.close();
      in.close();
      sc.close();
    catch(ConnectionNotFoundException e ){}
    catch(IOException ioe){}i would really appreciate it if someone would advise me on it.thanks

    Change the "file:c:/..." to "file://c:/..."

  • Java.lang.NullPointerException in sun code with latest JRE (1.6.0_02)

    We upgraded to the latest JRE and when we go to our website which has an unsigned applet and I answer Yes to trust it, the applet never runs.
    I turned on debugging in the java console and see this after the certificate negotiation stuff is sent bck and forth:
    security: Certificate has failed the verification with the SSL Root CA certificates
    security: Invalid certificate from HTTPS server
    java.lang.NullPointerException
         at com.sun.deploy.ui.UIFactory.showSecurityDialog(Unknown Source)
         at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
         at com.sun.deploy.security.X509ExtendedDeployTrustManager.checkServerTrusted(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
         at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
         at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
         at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
         at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
         at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    security: Adding certificate in Deployment denied certificate store
    security: Added certificate in Deployment denied certificate store
    For another person at same IE level and JRE level it works fine and debug for that shows:
    security: Certificate has failed the verification with the Internet Explorer ROOT certificates
    security: Invalid certificate from HTTPS server
    security: Adding certificate in Deployment session certificate store
    security: Added certificate in Deployment session certificate store
    security: Saving certificates in Deployment session certificate store
    security: Saved certificates in Deployment session certificate store
    Is there something wrong with the "Deployment session certificate store" in the first instance? Treid un/reinstalling the JRE but it didn;t fix things.

    Regenerate what certificate? The applet is unsigned.
    Plus other people with the same IE level and same JRE level do not have this problem, which leads me to think it is something specific to this user, like maybe the deployment session certificate store. Is that a file someplace we can like delete to start clean?
    Edited by: Jim_does_java on Oct 1, 2007 4:56 AM

Maybe you are looking for

  • Scheduling webi report error

    Hi Guys, How u all? Guys I need help from your side, While refreshing Webi report in 3.1, getting error: A database error occured. The database error text is: Failed to execute MDX query. Reason: Inconsistent input parameter (parameter: <unknown>, va

  • IPhone 4 - Charging issues including "This accessory may not be supported."

    So for the past couple of weeks, on and off, my iPhone 4 (2 years old) has been having intermittent charging issues. I have gone through four charging cords, all from Apple, and two charging blocks, both from Apple - none of these change/resolve the

  • Unable to export pdf files

    After subscribing and signing in, when I try to convert a pdf file to Word and click on :chose files from my computer" the software does not recognize any  pdf files on my computer. gpggrego

  • Using Third Parth Compact Flash in a 2811 Router?

    Hello all. I have a 2811 with a Cisco-installed 64MB compact flash card installed. It's not enough to install CallManager Express. We are in a pinch and need a bigger card fast. We tried using a Transcend 256MB compact flash card (not Cicso-approved

  • Bug in Pages when setting width!

    In Pages (v3.0.2) I draw a simple shape (rectangle). I then click Inspector and choose 'Metrics'-tab where I manually want to set the width size. This works great EXCEPT for widths less than 1 cm! 1,23 and 3,85 for example works just fine - but it ju