• Moderation - Capture URL

    By Patrick Kwintensson 1 decade ago

    I have problems with capturing an URL. When I press the 'Capture and Edit' button the title and abstract are always empty.

     

    In the server log i find:

     

    2013-01-28 10:20:11   HTTP JVM: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key connect_not_allowed
    
    2013-01-28 10:20:11   HTTP JVM:  at java.util.MissingResourceException.<init>(MissingResourceException.java:50)
    
    2013-01-28 10:20:11   HTTP JVM:  at java.util.ResourceBundle.getObject(ResourceBundle.java:400)
    
    2013-01-28 10:20:11   HTTP JVM:  at java.util.ResourceBundle.getString(ResourceBundle.java:421)
    
    2013-01-28 10:20:11   HTTP JVM:  at lotus.notes.JavaString.getFormattedString(Unknown Source)
    
    2013-01-28 10:20:11   HTTP JVM:  at lotus.notes.AgentSecurityManager.checkConnect(Unknown Source)
    
    2013-01-28 10:20:11   HTTP JVM:  at sun.net.www.http.HttpClient.openServer(HttpClient.java:540)
    
    2013-01-28 10:20:11   HTTP JVM:  at sun.net.www.http.HttpClient.<init>(HttpClient.java:246)
    
    2013-01-28 10:20:11   HTTP JVM:  at sun.net.www.http.HttpClient.New(HttpClient.java:319)
    
    2013-01-28 10:20:11   HTTP JVM:  at sun.net.www.http.HttpClient.New(HttpClient.java:336)
    
    2013-01-28 10:20:11   HTTP JVM:  at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:980)
    
    2013-01-28 10:20:11   HTTP JVM:  at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:921)
    
    2013-01-28 10:20:11   HTTP JVM:  at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)
    
    2013-01-28 10:20:11   HTTP JVM:  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1182)
    
    2013-01-28 10:20:11   HTTP JVM:  at net.htmlparser.jericho.StreamEncodingDetector.<init>(Unknown Source)
    
    2013-01-28 10:20:11   HTTP JVM:  at net.htmlparser.jericho.EncodingDetector.<init>(Unknown Source)
    
    2013-01-28 10:20:11   HTTP JVM:  at net.htmlparser.jericho.Source.<init>(Unknown Source)
    
    2013-01-28 10:20:11   HTTP JVM:  at org.openntf.news.http.core.Parser.getOutput(Parser.java:40)
    
    2013-01-28 10:20:11   HTTP JVM:  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    2013-01-28 10:20:11   HTTP JVM:  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    
    2013-01-28 10:20:11   HTTP JVM:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    
    2013-01-28 10:20:11   HTTP JVM:  at java.lang.reflect.Method.invoke(Method.java:611)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.types.JavaAccessObject.call(JavaAccessObject.java:321)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.types.FBSObject.call(FBSObject.java:161)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.ASTTree.ASTCall.interpret(ASTCall.java:175)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.ASTTree.ASTVariableDecl.interpret(ASTVariableDecl.java:82)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.ASTTree.ASTProgram.interpret(ASTProgram.java:119)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.ASTTree.ASTProgram.interpretEx(ASTProgram.java:139)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.JSExpression._interpretExpression(JSExpression.java:435)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.JSExpression.access$1(JSExpression.java:424)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.JSExpression$2.run(JSExpression.java:414)
    
    2013-01-28 10:20:11   HTTP JVM:  at java.security.AccessController.doPrivileged(AccessController.java:284)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.JSExpression.interpretExpression(JSExpression.java:410)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:251)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:234)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.xsp.javascript.JavaScriptInterpreter.interpret(JavaScriptInterpreter.java:221)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.xsp.binding.javascript.JavaScriptMethodBinding.invoke(JavaScriptMethodBinding.java:111)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.xsp.application.ActionListenerImpl.processAction(ActionListenerImpl.java:60)
    
    2013-01-28 10:20:11   HTTP JVM:  at javax.faces.component.UICommand.broadcast(UICommand.java:324)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.xsp.component.UIEventHandler.broadcast(UIEventHandler.java:366)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.xsp.component.UIDataPanelBase.broadcast(UIDataPanelBase.java:400)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.xsp.component.UIViewRootEx.broadcast(UIViewRootEx.java:1535)
    
    2013-01-28 10:20:11   HTTP JVM:  at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:307)
    
    2013-01-28 10:20:11   HTTP JVM:  at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:428)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:94)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:96)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.xsp.controller.FacesControllerImpl.execute(FacesControllerImpl.java:250)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.xsp.webapp.FacesServlet.serviceView(FacesServlet.java:223)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:204)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:160)
    
    2013-01-28 10:20:11   HTTP JVM:  at com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:138)
    

     

    Can anyone explain the cause of the problem? The server may not access the internet? What setting for the server allows this?

    • Some more analysis info

      By Patrick Kwintensson 1 decade ago

       

      Hi Jesse,
      
       
      
      I have gathered some more information. Maybe that will help you and others in case they run into the same problems.
      
       
      
      I have checked the java policy file from our server with the one you provided and I do not see any differences there. So probably it has nothing to do with permissions.
      
      If I look at the server log the first probelm that is logged is:
      
       
      
      2013-01-28 10:20:11   HTTP JVM: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key connect_not_allowed
      
       
      
      The 'Can't find resource for bundle java.util.PropertyResourceBundle' makes me wonder where that resource should be available? is this shipped with a certain version of the extension library? We run the extension library available in Upgrade Pack 1
      
       
      
      If I look in DDE the xpage services drops an error:
      
       
      
      The unknown tag xe:customRestService cannot be used as a complex type. services.xsp
      
       
      
      Also file biz/webgate/domino/mywebgate/api/MicroPublisherSessionFacade.java drops errors:
      
       
      
      CustomService cannot be resolved to a type MicroPublisherSessionFacade.java S010157.nsf/Code/Java/biz/webgate/domino/mywebgate/api line 29 Java Problem
      
      CustomServiceBean cannot be resolved to a type MicroPublisherSessionFacade.java S010157.nsf/Code/Java/biz/webgate/domino/mywebgate/api line 26 Java Problem
      
      The import com.ibm.xsp.extlib.component.rest.CustomService cannot be resolved MicroPublisherSessionFacade.java S010157.nsf/Code/Java/biz/webgate/domino/mywebgate/api line 23 Java Problem
      
      The import com.ibm.xsp.extlib.component.rest.CustomServiceBean cannot be resolved MicroPublisherSessionFacade.java S010157.nsf/Code/Java/biz/webgate/domino/mywebgate/api line 24 Java Problem
      
      The method renderService(CustomService, RestServiceEngine) of type MicroPublisherSessionFacade must override a superclass method MicroPublisherSessionFacade.java S010157.nsf/Code/Java/biz/webgate/domino/mywebgate/api line 29 Java Problem
      
       
      
      I have a feeling that it might be related to the version of the extension library (the custom tag for services.xsp was not accepted) or the bean for the micropublisher function