Access Content Space docs from JSP!

Hi,
How do I access PDF docs in contentSpace from JSP page?
Regards,
Srujan

Detail error code is
ALC-CSV-30101-000: 
com.adobe.livecycle.contentservices.client.exceptions.CSInvalidParameterException: ALC-CSV-030-101-Invalid or No Store specified while invoking [retrieveContent].at com.adobe.livecycle.contentservices.dsc.impl.DocumentManagementServiceImpl.retrieveConten t( 
DocumentManagementServiceImpl.java:444)at sun.reflect.GeneratedMethodAccessor2455.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke( 
DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke( 
Method.java:597)at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke( 
DefaultPOJOInvokerImpl.java:118)at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept( 
InvocationInterceptor.java:140)at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed( 
RequestInterceptorChainImpl.java:60)at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept( 
DocumentPassivationInterceptor.java:53)at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed( 
RequestInterceptorChainImpl.java:60)at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction( 
TransactionInterceptor.java:74)at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute( 
EjbTransactionCMTAdapterBean.java:357)at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports( 
EjbTransactionCMTAdapterBean.java:227)at sun.reflect.GeneratedMethodAccessor777.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke( 
DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke( 
Method.java:597)at org.jboss.invocation.Invocation.performCall( 
Invocation.java:359)at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke( 
StatelessSessionContainer.java:237)at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke( 
CachedConnectionInterceptor.java:158)at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke( 
StatelessSessionInstanceInterceptor.java:169)at org.jboss.ejb.plugins.CallValidationInterceptor.invoke( 
CallValidationInterceptor.java:63)at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext( 
AbstractTxInterceptor.java:121)at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions( 
TxInterceptorCMT.java:378)at org.jboss.ejb.plugins.TxInterceptorCMT.invoke( 
TxInterceptorCMT.java:181)at org.jboss.ejb.plugins.SecurityInterceptor.invoke( 
SecurityInterceptor.java:168)at org.jboss.ejb.plugins.LogInterceptor.invoke( 
LogInterceptor.java:205)at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke( 
ProxyFactoryFinderInterceptor.java:138)at org.jboss.ejb.SessionContainer.internalInvoke( 
SessionContainer.java:648)at org.jboss.ejb.Container.invoke( 
Container.java:960)at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke( 
BaseLocalProxyFactory.java:430)at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke( 
StatelessSessionProxy.java:103)at $Proxy401.doSupports(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute( 
EjbTransactionProvider.java:104)at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept( 
TransactionInterceptor.java:72)at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed( 
RequestInterceptorChainImpl.java:60)at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept( 
InvocationStrategyInterceptor.java:55)at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed( 
RequestInterceptorChainImpl.java:60)at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept( 
InvalidStateInterceptor.java:37)at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed( 
RequestInterceptorChainImpl.java:60)at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept( 
AuthorizationInterceptor.java:188)at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed( 
RequestInterceptorChainImpl.java:60)at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept( 
JMXInterceptor.java:48)at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed( 
RequestInterceptorChainImpl.java:60)at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke( 
ServiceEngineImpl.java:121)at com.adobe.idp.dsc.routing.Router.routeRequest( 
Router.java:129)at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke( 
AbstractMessageReceiver.java:329)at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall( 
SoapSdkEndpoint.java:139)at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke( 
SoapSdkEndpoint.java:81)at sun.reflect.GeneratedMethodAccessor791.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke( 
DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke( 
Method.java:597)at org.apache.axis.providers.java.RPCProvider.invokeMethod( 
RPCProvider.java:397)at org.apache.axis.providers.java.RPCProvider.processMessage( 
RPCProvider.java:186)at org.apache.axis.providers.java.JavaProvider.invoke( 
JavaProvider.java:323)at org.apache.axis.strategies.InvocationStrategy.visit( 
InvocationStrategy.java:32)at org.apache.axis.SimpleChain.doVisiting( 
SimpleChain.java:118)at org.apache.axis.SimpleChain.invoke( 
SimpleChain.java:83)at org.apache.axis.handlers.soap.SOAPService.invoke( 
SOAPService.java:454)at org.apache.axis.server.AxisServer.invoke( 
AxisServer.java:281)at org.apache.axis.transport.http.AxisServlet.doPost( 
AxisServlet.java:699)at javax.servlet.http.HttpServlet.service( 
HttpServlet.java:710)at org.apache.axis.transport.http.AxisServletBase.service( 
AxisServletBase.java:327)at javax.servlet.http.HttpServlet.service( 
HttpServlet.java:803)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( 
ApplicationFilterChain.java:290)at org.apache.catalina.core.ApplicationFilterChain.doFilter( 
ApplicationFilterChain.java:206)at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter( 
InvocationFilter.java:43)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( 
ApplicationFilterChain.java:235)

Similar Messages

  • The syntax for accessing MS SQL db from JSP

    Can anybody help me with the syntax for accessing MS SQL db from JSP???
    This is what I do when I use MySQL:
    Class.forName( "org.gjt.mm.mysql.Driver" );
    Connection conn = DriverManager.getConnection(
         "jdbc:mysql:://um" ,
    What do I write when it is MS SQL and where do I install the driver
    BR Soren

    Can anybody help me with the syntax for accessing MS
    SQL db from JSP???
    This is what I do when I use MySQL:
    Class.forName( "org.gjt.mm.mysql.Driver" );
    Connection conn = DriverManager.getConnection(
    "jdbc:mysql:://um" ,
    What do I write when it is MS SQL and where do I
    install the driver
    BR Soren
    One way of doing this is to use ODBC. Here's an example:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn = DriverManager.getConnection("jdbc:odbc:<odbc name>", "<login>", "<password>");

  • Accessing static content (javscript, css) from JSPs in portal component

    Hello,
    I have a portal component with some jsp files in the folder dist/PORTAL-INF/jsp . Within the jsps I want to access some css and javascript files which I've put in the folders dist/css and dist/scripts. Can anybody tell me how I can access them from the jsp?
    Thanks and best regards
    Dominik

    Hello,
    I finally solved it. To whom it may concern:
    The integration in the JSP should look like the following:
    <%
    IPortalComponentResponse componentResponse = (IPortalComponentResponse)pageContext.getAttribute(javax.servlet.jsp.PageContext.RESPONSE);
    IResource css = componentRequest.getResource(IResource.CSS, "css/style.css");
    IResource js = componentRequest.getResource(IResource.SCRIPT, "scripts/script.js");
    componentResponse.include(componentRequest, css);
    componentResponse.include(componentRequest, js);
    %>
    And make sure that the css file does NOT start with the tag
    <style type="text/css">
    Best regards,
    Dominik

  • Can't access non ejb classes from JSP - NoClassDefFound error

              Hi,
              I have one session ejb which has a method returning a collection of non ejb class objects (say of Class 'Foo').
              The method signature is like :
              "Collection getFinacialData() throws RemoteException"
              It is working fine with normal java clients. Now when I run this from a JSP it gives a "NoClassDefFoundError". I kept class 'Foo' and the remote interface of the session bean in the same package and also in the same ejb jar file. Also I am running JSP and ejb in same WL server(ver 5.1, SP8 on solaris). What I have done is only deployed the bean jar file. Do I need to do anything more?
              thanks in advance.
              

    I ran into a similar problem. I solved it by putting the client classes for
              accessing my EJB in the WebLogic POST_CLASSPATH in the startWebLogic script
              file:
              set POST_CLASSPATH=d:\weblogic\myserver\myClient.jar
              For more information on class visibility between the JSP and EJB class
              loaders, check out
              http://www.weblogic.com/docs51/classdocs/API_ejb/EJB_deployover.html#1056256
              Rick
              "niroja" <[email protected]> wrote in message
              news:3a6ed903$[email protected]..
              >
              > Hi,
              >
              > I have one session ejb which has a method returning a collection of non
              ejb class objects (say of Class 'Foo').
              > The method signature is like :
              > "Collection getFinacialData() throws RemoteException"
              > It is working fine with normal java clients. Now when I run this from a
              JSP it gives a "NoClassDefFoundError". I kept class 'Foo' and the remote
              interface of the session bean in the same package and also in the same ejb
              jar file. Also I am running JSP and ejb in same WL server(ver 5.1, SP8 on
              solaris). What I have done is only deployed the bean jar file. Do I need to
              do anything more?
              >
              > thanks in advance.
              >
              

  • Access function module string from JSP file

    Hello,
    I an a Java person with very little knowledge of ABAP. I have a Function Module, which returns the String - Y_text with value "X" or "Y". Now, I want to use this "X" or "Y" in my JSP page. And based on the value do some things. Eg:
    If (Y_text == "X")
        "Value is X"
    How do I pick up the valus of Y_text from the function module?
    I know how to get the values from Extention Data like below, but this does not seem to be working in case of the String from function module.
    String Y_text = (String) userSessionData.getAttribute("Y_text");
    Kindly suggest.

    Hi Shaun,
    Check the below link, it discusses about calling function module from ISA. Its a nice beginner's tutorial
    by Sateesh. You can copy the code given in ZAction.java in your jsp and get the values from FM.
    http://sites.google.com/site/sateeshchandrach2/isa2
    Hope this helps you!
    Regards,
    Arshi

  • Accessing View Object Information from JSP

    Hi!
    I know that my question it's a basic one, but I'm having some problems. Let me start by describing my problem.
    I need to implement an navigation select box to one table (this table will be a result of a query). I'm "building" the select box with a <c:forEach> iterator. Well, the problem starts where:
    <%-- Makes a kind of Math.ceil(double) --%>
    <c:set var="resultInDouble" value="${(binding.estimatedRowCount-1)/binding.rangeSize +1}" />
    <c:set var="resultInDoubleZero" value="${resultInDouble - resultInDouble % 1}"/>
    <fmt:formatNumber value="${resultInDoubleZero}" var="resultInt" pattern="0"/>
    <select name="select" >
    <c:forEach var="SelectBoxItems" begin="1" end="${resultInt}">
    </c:forEach>
    </select>
    As you can see, first I need to calculate the number of "<option> ... </option" I need to put on the select box, and I do that by making an ceil method emulation (for those that doesn't know ceil, it rounds up a division, like 7/3 = 3). To do this ceil I need to call the estimatedRowCount. And that's the problem: when I call estimatedRowCount, the query that I previous made is repeated to calculate the numberOfRows returned. As you can imagine, I don't want to re-execute the query, but only get the number of all rows.
    One solution that I thought, was in the Java Controller File for this page, use the method associated with the ViewObject getRowCount(), that doesn't re-execute the query. With this idea, I would construct the select box with java code, something like this:
    <select name="select" >
    <%
    int ceilResult = Math.ceil(viewObject.getRowCount(),viewObject.getRangeSize());
    for (i = 0;i<ceilResult;i++) {
    %>
    <option> ... </option>
    <% } %>
    </select>
    But with this idea, I hanged with a problem: "How do I in JSP, can "see" the view object?".
    Basically i only need a small example source, that in Java Controller File can get the iterator to make the return of the ViewObject getRowCount method.
    Does anyone have any idea how to solve this problem, or maybe a new approach ?
    Tiago Soares
    P.S. I've already tried some others (attempts of) solutions, but they didn't worked. I didn't posted their description, because I was afraid that anyone would read this post, because of the size of it. :)

    First of all, please stop reposting this question. Post it once and someone will probably reply to it.
    Secondly, you can expose methods of a view object through it's dialog (I think) or you will have to do it in the Application Module.. But it may suit your need better to create a transient column on you VO (one that exists only in memory) and store your value in that.

  • Way to access FCP7 local docs from Safari or Firefox

    Paste this url into your browser:
    file:///Applications/Final%20Cut%20Pro.app/Contents/Resources/English.lproj/fina lcutpro_help/index.html

    And the online one is:
    http://documentation.apple.com/en/finalcutpro/usermanual/
    thanks

  • Calling pdf/docs from jsp application

    Can this be done with jdeveloper 903?

    The Http multypart must be used, then you must get the out stream of the response. Then open you file and write it to out stream previewsly open.
    Not sure if the multipart is really necessary for that. Simple to know it, test it first ;)
    Daniel Campelo

  • Accessing secured content area view from JPDK

    Is it possible to access the secured content are views from JPDK?
    For example if I am logged on as user USER1 in Portal, is it then possible to access WWSBR_ALL_ITEMS as USER1?

    hi,
    You can access Content Area APIs from any user using JDBC calls. But, you may have to grant 'EXECUTE' privileges on those procedures (& SELECT privilege if its a DB object like Table, VIEW).
    If you are using PL/SQL procedures in your application, you can directly access them through PL/SQL calls, otherwise you have to use JDBC.
    --Sriram                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to get top downloaded or accessed content from ucm in webcenter

    Hi,
    How to get the top ucm accessed contents or downloads from ucm using ridc?
    Is it possible to retrieve content tracker details using ridc?
    Thanks,
    Chandrasekar M

    Like anything else Content Tracker functionality is provided in a form of services, but it might require a bit search to find which services are to be called and how.
    However, Content Tracker stores data in the database tables - (also to be available for External Report Generator), so why not to take data directly from the database? Alternatively, you could configure the system to send reports for you and take it from there.
    What exactly is your use case?

  • Access netui pageflow data from javascript in a response.jsp

    How do I access a pageflow variable from a javascript in a response.jsp page? I understand that the follow line can be used in a response.jsp:
    <netui:label value="{pageFlow.m_applicant.createdDate}"/>, but it can not be used in a javascript of that rensponse.jsp.

    Jack,
    You can't directly bind to a pageFlow variable but you can store the
    variable in the page using the getData tag and access it via javascript as I
    have done in this example.
    <netui-data:getData resultId="myId" value="{pageFlow.theString}" />
    <script language="javascript">
    function showAlert()
    var myJpfProperty = "<%=pageContext.getAttribute(
    "myId" )%>";
    alert( "Here is the Jpf property value: " + myJpfProperty );
    </script>
    Here is some related documentation, though it doesn't show a javascript
    example
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/howdoi/howAccessDataBindingContextsScriptletJavaScript.html
    - john
    "jackz" <[email protected]> wrote in message
    news:4074251a$[email protected]..
    How do I access a pageflow variable from a javascript in a response.jsppage? I understand that the follow line can be used in a response.jsp:
    <netui:label value="{pageFlow.m_applicant.createdDate}"/>, but it can notbe used in a javascript of that rensponse.jsp.

  • I need to erase all Contents and Settings from my i phone 5 but I forgot the restrictions passcode. How can I get it. ( Idon't have access to i tunes). Thanks.

    I need to erase all Contents and Settings from my i phone 5 but I forgot the restrictions passcode. How can I get it. ( Idon't have access to i tunes). Thanks.

    Not possible.  You need access to iTunes.
    The passcode will be required to make changes to these settings or to disable Restrictions. Note: If you lose or forget a restriction passcode, you will need to perform a factory restore to remove it.
    The above comes from here:
    http://support.apple.com/kb/HT4213

  • Accessing custom classes from JSP

    Hi Guys,
    I am having some problems accessing my custom classes from my JSP.
    1) I've created a very simple class, SimpleCountingBean that just has accessors for an int. The class is in the package "SimpleCountingBean". I compiled this class locally on my laptop and uploaded the *.class file to my ISP.
    2) I've checked my classpath and yes, the file "SimpleCountingBean/SimpleCountingBean.class" is located off of one of the directories listed in the classpath.
    3) When I attempt to use this class in my JSP, via the following import statement:
    import "SimpleCountingBean.*"
    I get the following compile error
    java.lang.NoClassDefFoundError: SimpleCountingBean/SimpleCountingBean
    I'm pretty sure that my classpath is properly setup because when I purposely garble the import statement, I get the "package not found" compile error.
    Do I need to upload some other files in addition to the class file? Any suggestions would of course be appreciated.
    Sonny.

    Trying to get some clearer view.. so don't mind..
    So you uploaded all your .jsp files into your account which is:
    home/sonny
    and it compiles and work. But custom classes doesn't seems to be working, where did you place your classes?
    From my knowledge of tomcat, classes are normally placed in, in this case:
    home/sonny/web-inf/classes
    Maybe it differs from windows enviroment to *nix enviroment.. well, I'm just saying out so if its not the case.. don't mind me.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • UNABLE TO ACCESS SECURED EJB USING IIOP FROM JSP

    Following codes does not work with IIOP when called from jsp returns an
    com.sap.engine.services.iiop.CORBA.CORBAObject:com.sap.engine.services.iiop.server.portable.Delegate_1_1@8312b1 step2 RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: com.sap.engine.services.ejb.exceptions.BaseRemoteException: User Guest does not have access to method create(). at
    Following codes does not work with IIOP when called from a fat client returns an
    org.omg.CORBA.UNKNOWN:   vmcid: 0x0  minor code: 0 completed: Maybe
            at com.sun.corba.se.internal.core.UEInfoServiceContext.<init>(UEInfoServ
    iceContext.java:33)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
            at com.sun.corba.se.internal.core.ServiceContextData.makeServiceContext(
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.cosnaming.CNCtxFactory");
    p.put(Context.PROVIDER_URL, "iiop://hostname:50007");
    p.put(Context.SECURITY_PRINCIPAL, "User");
    p.put(Context.SECURITY_CREDENTIALS, "pass");
    I have add java option to add IIOP filer
    -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.iiop.csiv2.interceptors.SecurityInitializer
    Solution Required: Could you please detail me what steps in need to perform in order for me to access secure ejb using iiop protocol.
    FYI -- How ever ejb security works with P4 protocol, If required i can send you the test case ear.
    Thanks
    Vijay
    Following are the server side logs
    java.rmi.RemoteException: com.sap.engine.services.ejb.exceptions.BaseRemoteException: User Guest does not have access to method create().
         at test.TestEJBHomeImpl0.create(TestEJBHomeImpl0.java:91)
         at test._TestEJBHome_Stub.create(_TestEJBHome_Stub.java:214)
         at jsp_testIIOP1199698887113._jspService(jsp_testIIOP1199698887113.java:33)
         at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Caller not authorized.
         at com.sap.engine.services.security.resource.ResourceHandleImpl.checkPermission(ResourceHandleImpl.java:608)
         at com.sap.engine.services.security.resource.ResourceHandleImpl.checkPermission(ResourceHandleImpl.java:505)
         at com.sap.engine.services.security.resource.ResourceContextImpl.checkPermission(ResourceContextImpl.java:45)
         at test.TestEJBHomeImpl0.create(TestEJBHomeImpl0.java:89)
         ... 20 more
    ; nested exception is:
         java.lang.SecurityException: com.sap.engine.services.security.exceptions.BaseSecurityException: Caller not authorized.
         at com.sap.engine.services.security.resource.ResourceHandleImpl.checkPermission(ResourceHandleImpl.java:608)
         at com.sap.engine.services.security.resource.ResourceHandleImpl.checkPermission(ResourceHandleImpl.java:505)
         at com.sap.engine.services.security.resource.ResourceContextImpl.checkPermission(ResourceContextImpl.java:45)
         at test.TestEJBHomeImpl0.create(TestEJBHomeImpl0.java:89)
         at test._TestEJBHome_Stub.create(_TestEJBHome_Stub.java:214)
         at jsp_testIIOP1199698887113._jspService(jsp_testIIOP1199698887113.java:33)
         at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    That's the code that you need to execute but you should
    probably encapsulate that code in Custom Action.
    Orion has a EJB Tag Library that is free to distribute that
    does all that stuff you just set some attributes.
    Go to their site and look at their Tag Libraries.
    Also look for other Tag Libraries Freely Available for EJB Access.

  • Urgent-how to access custom tag from jsp tag

    I have a problem accessing a custom tag from a jsp expression.
    Details: I have a custom tag that returns a string variable. I need to access that variable from jsp expression <%%>.
    Can any body help me?

    Tags don't "return" values as in the normal sense.
    They can only support TEI (Tag Extra Information) that just stuffs a declared variable into the page's state.
    For example, if the tag class had a public method called getValue(), you could do the following:
    <xmp:mytag id="foo"/>
    <%
    out.println("value is " + foo.getValue());
    %>

Maybe you are looking for

  • ERR  = -50

    I have a ton of .avi movies and recently I cannot access them animore with QT. I have the Divx doctor and I get the error= -50 message everytime I try to open a movie. Does anybody know what this means?

  • Replacing iphone4 tomorrow help!

    Hi i am about to exchange my iphone4 on Thursday. My warrenty is about to expire in a few weeks so i wanted to see if i can get a new one. My question is that if they replace my phone will it be a brand new one or just a refurbished model. Is there a

  • Suggestion on Intra and inter company process

    Hi  I have a requirement where we are configuring both intra and inter company billing thorugh one sales doucment type. Intra :Process: ORder ---> PR/PO ---> MIGO--> MIRO ---> Delivery. ( Between same company codes) Inter Process Order ---> PR/PO ---

  • Does my MacBook Pro have an inernal convertor for European use?

    Does my MacBook Pro have an internal convertor for use in Europe with a standard adaptor or do I have to get a separate convertor?

  • Update firmware now TC has steady amber light + not seen in airport utility

    Earlier this evening my imac flashed up the firmware update for my time capsule (500GB) which i just did without thinking twice. Firmware downloaded and TC restarted but now only has steady amber light. I launched airport utility but my tc is not rec