EJB Security Volation when access WSRP remote portlet

I have set up a portal server using Workshop 8.1.3 and made it a producer of an remote portlet. I turn off the registration by setting it in wsrp-producer-config (<registration required="false" secure="false"/>). I have tested this remote portlet by accessing it from another Weblogic portal site.
What I really want to do is to use this remote portlet on a MS sharepoint portal site (with WSRP Web Part Toolkit for sharepoint, http://www.gotdotnet.com/workspaces/workspace.aspx?id=2e3d8a57-ec9f-4d16-9a81-a395679d6392). I think I can successfully connected to the weblogic portal site, but I get a security volation error:
Error: [EJB:010160]Security Violation: User: '' has insufficient permission to access EJB: type=, application=Demo, module=netuix.jar, ejb=PortalCustomizationManager, method=createSuccessor, methodInterface=Remote, signature={com.bea.netuix.application.manager.CustomizationContext,com.bea.netuix.application.identifier.DesktopDefinitionId,com.bea.netuix.application.identifier.PortletInstanceId}.
Can any one tell me what I need to do to pass this security volation??
Thank you very much.

Thanks Subbu, this is what I am looking for, a way to get the requests and responses. I got the request/response from SOAP monitor. However I can't tell why it's not working (why the consumer doesn't have insufficient access). From the registration and service description, I can't tell anything wrong as they don't require any addition information for the consumer. I'll paste all the SOAP message between my consumer/producer and please let me know if you notice anything wrong. The SOAP messages are in order. Thanks so much for your help.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<register xmlns="urn:oasis:names:tc:wsrp:v1:types">
<consumerName>wsrpConsumer</consumerName>
<consumerAgent>wsrpConsumer.1.1</consumerAgent>
<methodGetSupported>false</methodGetSupported>
</register>
</soap:Body>
</soap:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<urn:registerResponse xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
<urn:registrationHandle>28011</urn:registrationHandle>
</urn:registerResponse>
</soapenv:Body>
</soapenv:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<getServiceDescription xmlns="urn:oasis:names:tc:wsrp:v1:types">
<registrationContext>
<registrationHandle>28011</registrationHandle>
</registrationContext>
</getServiceDescription>
</soap:Body>
</soap:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<urn:getServiceDescriptionResponse xmlns:urn="urn:oasis:names:tc:wsrp:v1:types"> <urn:requiresRegistration>true</urn:requiresRegistration>
<urn:offeredPortlets> <urn:portletHandle>portlet_1</urn:portletHandle>
<urn:markupTypes>
<urn:mimeType>text/html</urn:mimeType>
<urn:modes>wsrp:view</urn:modes>
<urn:windowStates>wsrp:normal</urn:windowStates>
<urn:locales>en</urn:locales>
<urn:locales>en-US</urn:locales>
</urn:markupTypes>
<urn:groupID>WSRPDemo</urn:groupID>
<urn:description xml:lang="en-US">
<urn:value/>
</urn:description>
<urn:shortTitle xml:lang="en-US">
<urn:value>pageFlowPortlet</urn:value>
</urn:shortTitle>
<urn:title xml:lang="en-US">
<urn:value>pageFlowPortlet</urn:value>
</urn:title>
<urn:displayName xml:lang="en-US">
<urn:value>pageFlowPortlet</urn:value>
</urn:displayName>
<urn:usesMethodGet>true</urn:usesMethodGet>
<urn:templatesStoredInSession>true</urn:templatesStoredInSession> <urn:doesUrlTemplateProcessing>true</urn:doesUrlTemplateProcessing>
</urn:offeredPortlets> <urn:requiresInitCookie>perGroup</urn:requiresInitCookie>
<urn:registrationPropertyDescription/>
<urn:locales>en</urn:locales>
<urn:locales>en-US</urn:locales>
</urn:getServiceDescriptionResponse>
</soapenv:Body>
</soapenv:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<clonePortlet xmlns="urn:oasis:names:tc:wsrp:v1:types">
<registrationContext>
<registrationHandle>28011</registrationHandle>
</registrationContext>
<portletContext>
<portletHandle>portlet_1</portletHandle>
</portletContext>
<userContext>
<userContextKey>wsrpConsumer</userContextKey>
</userContext>
</clonePortlet>
</soap:Body>
</soap:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
<faultcode>urn:OperationFailed</faultcode>
<faultstring>[EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=Demo, module=netuix.jar, ejb=PortalCustomizationManager, method=createSuccessor, methodInterface=Remote, signature={com.bea.netuix.application.manager.CustomizationContext,com.bea.netuix.application.identifier.DesktopDefinitionId,com.bea.netuix.application.identifier.PortletInstanceId}.</faultstring>
<detail>
<urn:OperationFailed/>
<urn1:FaultDetail xmlns:urn1="urn:bea:wsrp:wlp:v1:types">
<urn1:created>2004-09-27T11:37:09.648-04:00</urn1:created>
<urn1:trace>com.bea.wsrp.faults.OperationFailedException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=Demo, module=netuix.jar, ejb=PortalCustomizationManager, method=createSuccessor, methodInterface=Remote, signature={com.bea.netuix.application.manager.CustomizationContext,com.bea.netuix.application.identifier.DesktopDefinitionId,com.bea.netuix.application.identifier.PortletInstanceId}.
     at com.bea.wsrp.producer.adapter.customization.PortalCustomizationServiceAdapter.clonePortlet(PortalCustomizationServiceAdapter.java:264)
     at com.bea.wsrp.producer.handlers.management.PortletManagementServiceHandler.doClonePortlet(PortletManagementServiceHandler.java:247)
     at com.bea.wsrp.producer.handlers.management.PortletManagementServiceHandler.doService(PortletManagementServiceHandler.java:152)
     at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:92)
     at com.bea.wsrp.producer.WsrpServer.processServiceRequest(WsrpServer.java:283)
     at com.bea.wsrp.producer.WsrpServer.service(WsrpServer.java:168)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
     at com.bea.wsrp.producer.adapter.pageflow.WsrpPageflowFilter.doFilter(WsrpPageflowFilter.java:73)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
     at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:351)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6458)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)</urn1:trace>
</urn1:FaultDetail>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

Similar Messages

  • PreferenceStoreException when selecting a Remote Portlet

    I endup in this error when I add a non-weblogic Producer to Portal Admin console Library.
    The producer gets added correctly and lists all the protlets from the producer.
    Here are the steps I follow.
    1.Click on the Producer just added under Left navigation tree under library.
    2.Producer summary page lists all the portlets form producer
    3. Goto 'Selected Portlets' tab and Click on a particular portlet
    4, For this particular portlet, Under "Portlet Preferences" tab, I see below error: Same is the case with all portlets in this producer.
    Any ideas?
    com.bea.portlet.prefs.spi.PreferenceStoreException: Received a response from url: http://producerserver/producer/wsrp/router/v2/portletmanagement/MyProducer with HTTP status 200 and SOAP content-type: text/html. Set -Dweblogic.wsee.verbose=weblogic.wsee.connection.transport.http.HttpClientTransport to see the full response stream.
         at com.bea.wsrp.consumer.adapter.customization.RemotePreferencePersistenceDelegate.getPropertiesInternal(RemotePreferencePersistenceDelegate.java:800)
         at com.bea.wsrp.consumer.adapter.customization.RemotePreferencePersistenceDelegate.getPreferences(RemotePreferencePersistenceDelegate.java:121)
         at com.bea.portlet.prefs.spi.PreferencePersistenceDelegate.getPreferences(PreferencePersistenceDelegate.java:101)
         at com.bea.portlet.prefs.spi.PreferencePersistenceDelegate.getPreferences(PreferencePersistenceDelegate.java:80)
         at com.bea.jsptools.portal.helpers.PortletHelper.getPortletPreferences(PortletHelper.java:1221)
         at com.bea.jsptools.portal.helpers.PortletHelper.doShowDetails(PortletHelper.java:462)
         at com.bea.jsptools.portal.helpers.PortletHelper.doShowDetails(PortletHelper.java:406)
         at portalTools.definitions.portlets.details.DetailsController.getResources(DetailsController.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
         at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
         at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)For above error, is it something to do with the content type? I tried setting this in startup -Dweblogic.wsee.verbose=weblogic.wsee.connection.transport.http.HttpClientTransport but nothing happening in the log.
    I also see this error when i add another producer by following the same steps mentioned above.
    com.bea.portlet.prefs.spi.PreferenceStoreException: java.lang.NullPointerException
         at com.bea.wsrp.consumer.adapter.customization.RemotePreferencePersistenceDelegate.getPropertiesInternal(RemotePreferencePersistenceDelegate.java:800)
         at com.bea.wsrp.consumer.adapter.customization.RemotePreferencePersistenceDelegate.getPreferences(RemotePreferencePersistenceDelegate.java:121)
         at com.bea.portlet.prefs.spi.PreferencePersistenceDelegate.getPreferences(PreferencePersistenceDelegate.java:101)
         at com.bea.portlet.prefs.spi.PreferencePersistenceDelegate.getPreferences(PreferencePersistenceDelegate.java:80)
         at com.bea.jsptools.portal.helpers.PortletHelper.getPortletPreferences(PortletHelper.java:1221)
         at com.bea.jsptools.portal.helpers.PortletHelper.doShowDetails(PortletHelper.java:462)
         at com.bea.jsptools.portal.helpers.PortletHelper.doShowDetails(PortletHelper.java:406)
         at portalTools.definitions.portlets.details.DetailsController.getResources(DetailsController.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)Vijay

    Hello,
    It is possible for a WSRP producer to support portlet preferences, but not support accessing or changing portlet preferences through the WSRP portlet management port. The WSRP portlet management port is an optional portion of the WSRP specification, and what portions of the portlet management port are supported should be declared in the producer's WSDL document. From the behavior you're describing, I would guess that the portlet management port for the producer isn't supporting the preferences management portions.
    The best way to tell exactly what is going on would be to use the WSRP monitor on your consumer, and look at the SOAP messages that are being returned from the producer. Examining the producer's WSDL document for the "portlet management port" would also be useful.
    As for hiding the minimize / maximize buttons on a streamed remote portlet, I don't have any specific ideas. Since it is a streaming remote portlet, there is no way to attach a backing file to it, so anything you did would need to be done in a WSRP interceptor. But I don't know of any way to suppress the minimize / maximize buttons from the interceptor's context objects or the PortletPresentationContext-- this doesn't mean it can't be done, I just don't know how-- it isn't my area of expertise.
    Kevin

  • Pages not displaying images when accessed from remote system-error on page.

    Urgent pls help...
    Hi,
    We installed 10G database and installed application express.
    we installed apex using the command @apexins SYSAUX SYSAUX TEMP /i/
    then changed password using @apxchpwd
    then @apxldimg.sql D:\oraclexe
    we installed databse in D:
    in D:/oraclexe we copied apex folder and done the above operations.
    we run the listener using command
    java -Dapex.home=D:/oraclexe/apex -Dapex.images=D:/oraclexe/apex/apex/images -Dapex.port=8585 -jar D:/oraclexe/apex/apex.war
    then for four days it was working fine,
    our team can access pages from client system and we were working on our project.
    But for the last two days it is not working properly. I mean apex is loading with errors(without images).
    the page is showing without images and links are not working
    just data's in pages is only seen.
    But when i connect through localhost it is working properly.
    we installed it on server then there also localhost:8080 is working
    but from client system has the above said problem
    Give us a solution...
    Thanks in advance...
    Edited by: 874343 on Jul 22, 2011 5:26 AM

    ListenerAdmin is showing blank screen
    this is my command prompt when running listener
    D:\oraclexe>cd apex
    D:\oraclexe\apex>java -Dapex.home=D:/oraclexe/apex -Dapex.images=D:/oraclexe/ape
    x/apex/images -Dapex.port=8585 -jar D:/oraclexe/apex/apex.war
    INFO: Starting: D:\oraclexe\apex\apex.war
    See: 'java -jar apex.war --help' for full range of configuration options
    INFO: Extracting to: D:\oraclexe\apex
    INFO: Using classpath: file:/D:/oraclexe/apex/apex/____embedded/start.jar:file:/
    D:/oraclexe/apex/apex/WEB-INF/lib/apex.jar:file:/D:/oraclexe/apex/apex/WEB-INF/l
    ib/commons-fileupload-1.2.1.jar:file:/D:/oraclexe/apex/apex/WEB-INF/lib/je-4.0.1
    03.jar:file:/D:/oraclexe/apex/apex/WEB-INF/lib/ojdbc6.jar:file:/D:/oraclexe/apex
    /apex/WEB-INF/lib/ojmisc.jar:file:/D:/oraclexe/apex/apex/WEB-INF/lib/poi-3.6-200
    91214.jar:file:/D:/oraclexe/apex/apex/WEB-INF/lib/ucp.jar:file:/D:/oraclexe/apex
    /apex/WEB-INF/lib/xdb-11.2.0.jar:file:/D:/oraclexe/apex/apex/WEB-INF/lib/xmlpars
    erv2-11.2.0.jar:
    INFO: Starting Embedded Web Container in: D:\oraclexe\apex
    Jul 22, 2011 6:48:19 PM ____bootstrap.Deployer deploy
    INFO: Will deploy application path=D:\oraclexe\apex\apex\WEB-INF\web.xml
    Jul 22, 2011 6:48:19 PM ____bootstrap.Deployer deploy
    INFO: deployed application path=D:\oraclexe\apex\apex\WEB-INF\web.xml
    Using config file: D:\oraclexe\apex\apex-config.xml
    -- listing properties --
    PropertyCheckInterval=60
    ValidateConnection=true
    MinLimit=1
    MaxLimit=10
    InitialLimit=3
    AbandonedConnectionTimeout=900
    MaxStatementsLimit=10
    InactivityTimeout=1800
    MaxConnectionReuseCount=1000
    APEX Listener version : 1.1.2.131.15.23
    APEX Listener server info: Grizzly/1.9.18-o
    Jul 22, 2011 6:48:44 PM com.sun.grizzly.Controller logVersion
    INFO: Starting Grizzly Framework 1.9.18-o - Fri Jul 22 18:48:44 IST 2011
    INFO: http://localhost:8585/apex started.
    Using JDBC driver: Oracle JDBC driver version: 11.2.0.2.0
    Edited by: 874343 on Jul 22, 2011 6:42 AM
    Edited by: 874343 on Jul 22, 2011 6:51 AM

  • Security Problem when Access Other File types

    we have report files in pdf and excel that generated from java.
    we then call this file from browser through URL :http://java1.sdc-net/msp/excel/result/workbook.xls.
    this just work fine, but when we implement j2ee declarative security constraint (we use custom jdbc realms):
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>root</web-resource-name>
    <url-pattern>/index.htm</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>user</role-name>
    <role-name>master</role-name>
    </auth-constraint>
    </security-constraint>
    its didn't work anymore.
    the jsp's and servlet just work fine. but the others (pdf and excel) didn't work.
    am i missed something ?

    Hi ,
    What kind of errors are you getting ?.Do you able to login without any problem ?.Could you enable the log level in security to FINEST and set the Audit enabled to true and run the application. It will tell you what's going wrong.
    Let us know the result and please post the logs.
    --Sankar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Java.security.AccessControlException when accessing user documents

    Hello there,
    I'm a student programmer. I'm trying to write a desktop application which will read all of the user's documents folder and add it to a ZIP file. I am coding on Windows Vista but my code should be platform independent.
    The problem I have is that whenever I try to access the user documents, I get a java.security.AccessControlException. The code I'm using follows:
    //Find out the user's "My Documents" folder
    javax.swing.JFileChooser fr = new javax.swing.JFileChooser();
    javax.swing.filechooser.FileSystemView fw=fr.getFileSystemView();
    //Zip the contents of "My Documents" to the current working directory
    zip(fw.getDefaultDirectory().toString() + "\\", "JemsFrom.zip")
    //Checking for permissions for reading source       
    FilePermission perm = new FilePermission(source, "read");
    AccessController.checkPermission(perm);I Googled and apparently I need to add a policy file allowing my program access to the documents folder. I created the following policy file:
    grant {
          permission java.io.FilePermission "C:\\Users\\keith\\Documents", "read";
    };I saved this file as 'perms' and then added the following to Netbeans' Argument list for this project:
    -Djava.security.manager -Djava.security.policy=permsHowever, I am still getting this error and am totally stumped. I've also tried running this project outside Netbeans with those arguments but I get the same result.
    Would greatly appreciate any help.

    I have changed my permissions file as david_david suggested, but I am still having the same problem... AccessControlException
    Any other helpful suggestions would be welcome.

  • Security Exception while accessing a remote context

    Hi All,
    Am looking up a remote weblogic context from within another weblogic.
    "url" is t3://anothermachine:7001
    The moment i do a lookup( ) i get an authentication error.
    I guess am using the "guest" user by default to lookup the context on
    the remote machine.
    Why does the trace complain about user "system" ?
    Any idea as to what is going wrong here??
    <code>
    Properties p = new Properties();
    p.put( Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory" );
    p.put( Context.PROVIDER_URL, url );
    Context ctx = new InitialContext(p);
    ctx.lookup( "RemoteBean");
    </code>
    This is the trace:
    Authentication for user system denied in realm wl_realm Start server
    side stack trace: java.lang.SecurityException: Authentication for user
    system denied in realm wl_realm at
    java.lang.SecurityException+-----------------------------------+
    weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233) at
    weblogic.security.acl.internal.Security.authenticate(Security.java:135)
    at weblogic.security.acl.internal.Security.verify(Security.java:90) at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:242)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at
    weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) End server
    side stack trace at
    weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:85)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35) at
    $Proxy51.lookup(Unknown Source) at
    weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:341) at
    javax.naming.InitialContext.lookup(InitialContext.java:347) at
    thanks,
    karthik.

    Shailesh,
    try adding this to your fileRealm.propeties:
    acl.lookup.weblogic.jndi.path=system,everyone
    I assume that you are loggin in as guest, ie not supplying any user to obtain the
    context.
    and "guest" does belong to the group "everyone"
    This is obviosuly an entry that needs to be on the remote weblogic fileRealm.properties
    file.
    Let me know if that works.
    karthik.
    shailesh wrote:
    Iam also in the same problem right now. any ideas or solution would be highly be
    appreciated.
    thx, shailesh
    karthik <[email protected]> wrote:
    Hi All,
    Am looking up a remote weblogic context from within another weblogic.
    "url" is t3://anothermachine:7001
    The moment i do a lookup( ) i get an authentication error.
    I guess am using the "guest" user by default to lookup the context on
    the remote machine.
    Why does the trace complain about user "system" ?
    Any idea as to what is going wrong here??
    <code>
    Properties p = new Properties();
    p.put( Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory" );
    p.put( Context.PROVIDER_URL, url );
    Context ctx = new InitialContext(p);
    ctx.lookup( "RemoteBean");
    </code>
    This is the trace:
    Authentication for user system denied in realm wl_realm Start server
    side stack trace: java.lang.SecurityException: Authentication for user
    system denied in realm wl_realm at
    java.lang.SecurityException+-----------------------------------+
    weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233) at
    weblogic.security.acl.internal.Security.authenticate(Security.java:135)
    at weblogic.security.acl.internal.Security.verify(Security.java:90) at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:242)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at
    weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) End server
    side stack trace at
    weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:85)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35) at
    $Proxy51.lookup(Unknown Source) at
    weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:341) at
    javax.naming.InitialContext.lookup(InitialContext.java:347) at
    thanks,
    karthik.

  • Firefox 4 beta 2 does not allow typing of credit card security code when accessing Bank of America ShopSafe website.

    I reported this through Firefox's Feedback system. I also sent Feedback to Bank of America. I should note, I, so far, have had no other problems with Bank of America and Firefox 4, beta 2. I didn't have issues when I used the non-beta version 3 of Firefox prior to updating to Firefox 4. All I ask is that the issue be examined.
    Thank you!
    == URL of affected sites ==
    http://www.bankofamerica.com

    Firefox 4.0b2 isn't an "upgrade" or "update" right now. It is a pre-release version for testing the code that will become Firefox 4.0 - '''''5 or 6 months''''' from now. It's not ready for the general public, it is intended to be tested - only.
    http://www.mozilla.com/en-US/firefox/all-beta.html
    <blockquote>
    Important Information
    Please read before downloading
    * This is pre-release software: you may encounter compatibility problems with some websites and add-ons. </blockquote>

  • When accessing a windows program thru remote desktop will it have functionality

    When accessing a remote desktop on a mac to use a windows program is this functional and will it slow the mac down or create other vulnerabilities or will it run smoothly?

    It will be as smooth as your connection is fast, and it won't affect the Mac adversely

  • Using different namespaces in ALUI remote portlets

    I'm trying to incorporate AJAX technology into our ALUI remote portlets. I'm using Backbase tools to try to do this. However, these Backbase tools have their own namespace defined for their custom tags. When I try to access the remote portlet, I get 'unrecognized namespace prefix' errors in PTSpy. Is there something special I need to do to get ALUI to recognize different namespaces? I have the following line in my remote portlet:
    <pt:namespace pt:token="$PORTLET_ID$" xmlns:pt="http://www.plumtree.com/xmlschemas/ptui/" />
    Do I need to do something with this line to use different namespaces?

    I was able to get basic Backbase functionality running inside of ALUI. Since Backbase is booted from the onload method of the body tag, I had to create a Javascript method and call window.onLoad on that method to get Backbase to boot (it wouldn't recognize the onload method in my remote portlet).
    Also, since I'm using remote portlets, I had to gateway the calls to Backbase using the Remote Portlet's Web Service settings.
    In case anyone is interested, my remote portlet looks like this (where the server listening on port 7001 is the gateway server, and the server listening on port 7021 is the server running Backbase):
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <pt:namespace pt:token="$$PORTLET_ID$$" xmlns:pt="http://www.plumtree.com/xmlschemas/ptui/" />
    <style type="text/css"> #pt-portlet-$$PORTLET_ID$$ {border: solid 0px;}</style>
    <script type="text/javascript" src="http://localhost:7001/portal/server.pt/gateway/PTARGS_0_0_299_209_0_43/http%3B/localhost%3B7021/Backbase/3_1_6/bpc/boot.js"></script>
    <script language="javascript">
    function runBPC()
              bpc.boot("<pt:url pt:href='http://localhost:7021/Backbase/3_1_6' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>");
    window.onload=runBPC;
    </script>
    <div
    xmlns:b="http://www.backbase.com/b"
    xmlns:s="http://www.backbase.com/s"
    >
              <xmp b:backbase="true">
              <b:button>test</b:button>
              </xmp>
    </div>

  • Security issue to access remote ejbs, URGENT!!! please and thanks.

    Hi gurus:
    I have questions for you. I need to access remote ejbs. the ejb(beans) have been
    deployed on remote machine. I have helper class file to do JNDI lookup to point
    the machine and find it.
    I have local machine to have all of home interfaces, remote interfaces and stub
    classes and common classes. I have local jsp and config weblogic-web.xml to allow
    test user to access.
    Sometimes fine but got the following message and error from my local machine.
    I have no clue about that. Is any other issue that remote machine have security
    to limit clients to access beans. Because remote wl server startup as system/weblogic.
    If my local machine startup as system/weblogic too. It has no problem at all.
    This doesn't make sense for my local machine has to have same system's password
    as remote machine. Should have some issues to limit clients to access remote beans.
    Thank you for any helps and suggestions in advance.
    Steven.
    ####<Jun 7, 2001 10:34:25 AM CDT> <Error> <HTTP> <stevenzhu> <myserver> <ExecuteThread-14>
    <springbow> <> <101020> <[WebAppServletContext(8365803,public_html)] Servlet failed
    with Exception>
    java.lang.SecurityException: Authentication for user test denied in realm wl_realm
    at weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRequest.java:90)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:225)
    at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNode_WLStub.java:121)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
    at com.sprint.common.util.EJBHelper.getHomeInterface(EJBHelper.java:172)
    at com.sprint.common.util.EJBHelper.getOrganizationSLHome(EJBHelper.java:122)
    at com.sprint.common.organization.OrganizationBean.getOrganizationHome(OrganizationBean.java:290)
    at com.sprint.common.organization.OrganizationBean.getOrganizationRemote(OrganizationBean.java:315)
    at com.sprint.common.organization.OrganizationBean.findEmployee(OrganizationBean.java:107)
    at jsp_servlet._ehr._vieworganizationalhierarchy._jspService(_vieworganizationalhierarchy.java:173)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    well, if we post in other threads, they tell me that it is ARD and server technology. If you try to post back to my mac in the normal threads about Leopard, they point us to this thread.
    It seems that a lot of people are frantically looking for someone who can explain in plain english how to do the remote desktop - is remote desktop the same technology as back to my mac?
    Extremely frustrating for people like me who don't have unix or programming language experience... We choose for mac because we wanted user friendlyness... What a joke!

  • Is WSRP supported in Adobe CQ for accessing Remote Portlet?

    Hello, I wanted to know if WSRP is supported in Adobe CQ for accesssing remote portlet? or alternate ways to access remote portlets on Adobe CQ pages. Pointers in this direction would be helpful.
    Thanks

    AFAIK we don't have WSRP producer OR consumer. Using [1] might help to meet your need.
    [1] http://dev.day.com/docs/en/cq/current/administering/cq_as_portal.html#CQ%20Portal%20Direct or

  • ClassCastException when invoking remote portlets

    Hi.. I have a 10.3 producer and 8.1 consumer. I get ClassCastException on the JSP when clicked on the RemotePortlet
    I registered the WSDL and the remote portlets successfully in the portal admin console of consumer. But for some reason i get the following log on the remote portlet when invoked:
    Error invoking portlet "Custcorp Rule"
    The source of this error is:
    java.lang.ClassCastException
         at com.bea.wsrp.transport.soap.Message.readResponse(Message.java:207)
         at com.bea.wsrp.proxy.RemoteProxy.sendMessage(RemoteProxy.java:274)
         at com.bea.wsrp.proxy.RemoteProxy.sendData(RemoteProxy.java:146)
         at com.bea.wsrp.proxy.RemoteProxy.dispatch(RemoteProxy.java:84)
         at com.bea.wsrp.proxy.ProxyBase.invoke(ProxyBase.java:432)
         at $Proxy81.getMarkup(Unknown Source)
         at com.bea.wsrp.consumer.controls.ProxyPortletContent.invokeGetMarkup(ProxyPortletContent.java:557)
         at com.bea.wsrp.consumer.controls.ProxyPortletContent.beginRender(ProxyPortletContent.java:194)
         at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:495)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:356)
         at com.bea.netuix.nf.UIControl.render(UIControl.java:536)
         at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:405)
         at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123)
         at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58)
         at jsp_servlet._framework._skeletons._rms12.__gridlayout._jspService(gridlayout.jsp:33)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423)
         at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:194)
         at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:96)
         at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:491)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247)
         at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:204)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:146)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:333)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:196)
         at com.bea.netuix.servlets.manager.PortalServlet.doPost(PortalServlet.java:772)
         at com.bea.netuix.servlets.manager.PortalServlet.doGet(PortalServlet.java:671)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:147)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    The standalone producer app just works fine and can navigate thru screens properly.
    Pls help

    We got the issue resolved. In wsrp-producer-config.xml the <markup> tag has transport="attachment" accepts-mime="true".
    We changed it to default values like: transport="string" accepts-mime="false" .

  • How to access the Remote Appserver thru EJB

    hi friends...
    How to access the Remote appserver thru EJB from a Portlet.
    I've tried but its not working u have any idea Plz help me out...
    The scenario is I have my portal running in my machine & appserver(weblogic) running in remote and want to access that appserver
    thru Remote EJB from my portal. I have tried with the t3 protocol and iiop but it is not working
    The code i have use
    Properties props = new Properties();
    props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    props.put(javax.naming.Context.PROVIDER_URL, "t3://10.1.87.46:7031");
    it is giving me a nullpointer exception when i try to access the method in the ejb , it is not able to call that method...
    Plz help me out to resolve this situation
    Thnx in Advance.....

    SanjayBala, just so you know that it is possible to create a database link in Oracle to non-Oracle databases in some circumstances. Look up Generic Connectivity aslo know as Heterogenous Services. With 11g Oracle has basically renamed the feature and replaced it with somethinkg named ike DG4ODBC.
    I have not spent time studying the details for DB4ODBC but with HS Oracle provided the interface and you had to obtain the necessary ODBC driver on your own. I had Oracle on AIX reading and writing to SQL Server on Windows but the developers chose to write a java program and connect to both via it. On Windows and Linux platforms the necessary ODBC drivers might be available without the requirement to go out and purchase one.
    The Oracle Open Gateway product is an advanced version of the above features with drivers for specific non-Oracle databases included like DB2 or Informix.
    HTH -- Mark D Powell --

  • Getting a security exception when invoking EJB from a webservice

    Hi,
    I am getting the following exception when Invoke an EJB from a web service.
    The EJB fails when it tries to access a remote object(RMI).
    When I invoke the EJB directly I dont get this exception.
    Both the EJB and the WS are deployed as part of the same application on weblogic 9.2 .
    the WS was created by jwsc ant task.
    This is the exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
    java.lang.ClassNotFoundException: com.bea.xml.XmlCalendar (no security m
    anager: RMI class loader disabled)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
    60)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
    .java:701)
    at java.lang.Thread.run(Thread.java:534)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
    RemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
    223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
    at com.netcom.server.rmi.RequestHandlerImpl_
    Stub.copy(Unknown Source)
    Message was edited by:
    guyh

    Hi Jitu,
    I changed the wsdl. And so I don�t get the warning anymore. My Webservice also runs well, now. Thanks anyway for the reply.
    There is a nice tech article on the sun network, which solved my problem. The basic idea is to split the wsdl into 2 wsdl documents. one containing all the porttypes messages and so on. And the other wsdl contains the binding and service elements.
    If you are interested check out this link:
    http://java.sun.com/developer/technicalArticles/xml/jaxrpcpatterns/index2.html
    thanks,
    footman

  • Item level security not working when placed in a portlet page

    I have three page links linking to separate pages and have two of them with item level security turned on for specific groups with view privilges. I have the access for those groups with view privilges in the page level as well. I have published that as portlet and placed the portlet in another page which has view priviliges for the groups specified in item level as well.
    But I notice that when i place the portlet in a page, the item level security is not working.
    Item Level Security Not Working for Items Placed on a page and published as portlet and placed in another page. Is there some work around for this.
    Thanks
    Valli

    Would you please clarify for me? Is the problem that unauthorized people can see the portlet, or that unauthorized people can see the links?

Maybe you are looking for