Problem Creating Portles Using JAVABEANS

I have an application that uses JSP and JavaBeans that works perfectly outside of a portlet. When implementing it as a portlet it is unable to find the JavaBeans.
I have stored the JavaBeans in the default /WEB-INF/classes directory. The JSP files are in their own directory.
Request URI:/jnetjsp/adminusersearch/AdminUserSearch.jsp
Exception:
oracle.jsp.parse.JspParseException: Line # 28, Error: Unable to find class for bean: UserResults defined by tag with class: adminusersearch.UserSearchResults
9iAS 1.0.2.2.0

You need to make sure that your JavaBean classes are on the classpath. Not sure why you mention the WEB-INF directory, it doesn't exist under JServ.
As far as I remember you need to edit the wrapper.classpath entry in the jserv.properties file. For example, if you have your beans in a the mybeans.jar file, you'd need to create an entry like this:
wrapper.classpath=D:\jpdk\lib\mybeans.jarand copy mybeans.jar to the D:\jpdk\lib folder.
Hope this helps.

Similar Messages

  • Problem creating TO using Function Module L_TO_CREATE_DN

    Hi Gurus,
    I am trying to create TO using the Function Module L_TO_CREATE_DN. Its creating TO for deliveries for materials which are not batch split, however when I am taking delivery consisting of Batch Split material, its not creating and throwing a error with sy-subrc = 15. The error which I am experiencing is Item not handled in batches and batch split item cannot be edited. How to overcome this issue and create the TO.
    Regards,
    Avik
    Edited by: avik2005uitbu on Dec 15, 2011 8:10 PM

    Hi,
    Please check the WM config for the Warehouse / Movement type(Tx. OMLX) . There we have option to give as immediate confirmation. This may be the reason for TO getting confirmed when created.
    U can this by creating a transfer order for the same movement type manually in TX. LT03. After you save if the To is confirmed then its a config setup @ Warehouse / Movement type.
    Regards,
    Bhargava

  • Problem creating jar using JDeveloper

    I'm creating jar using JDeveloper..I need to keep two dll files in the jar. But if I create the jar in JDeveloper, it can't include the dll files. If the jar is created from command prompt, it can include the dll files. Can anyone tell me how can I include these dlls in my jar?

    Putting DLLs in your classes directory is dangerous (eg. Run->Clean Project.jpr will remove it). I use a different way to achieve that:
    When you double click on the deployment profile you'll see a dialog window containing a list of items. The one of interest is the one called File Groups. Select this item, click on the New button and add a new file group just for your DLLs.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • The deployment problem in JSP using JavaBean

    Hi there,
    I followed the descriptions in Writing Enterprise Applications with
    Java 2 SDK, Enterprise Edition tutorial to build a set of programs to run JSP with JavaBean, and I also followed the steps in creating new WAR file, but some how it wouldn't work after I deployed them. I run the JSP in IE and got a message like this:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 20 in the jsp file: /1bonus.jsp
    Generated servlet error:
    c:\j2sdkee1.3.1\repository\orbit\web\JSPRoot\$1bonus$jsp.java:63: Class org.apache.jsp.JBonusBean not found.
    JBonusBean jbonus = null;
    ^
    I used the deploytool to create the WAR file, and after I added the 1bonus.jsp, I also added JBonusBean into the WAR file. I found 1bonus.jsp was added into the WAR file, but there's no JBonusBean appeared under the WAR file.
    Could you please tell me is there anything wrong?
    Thanks for your time.
    Regards,
    Eric

    I think you have not imported 'BonusBean' in your jsp. Code this line in your jsp at the top.
    <%@page import="BonusBean" %>
    Sudha

  • Problem creating dataset using db2 stored procedure in Eclipse BIRT

    Hi,
    I am using DB2 9.7 Express Edition in Eclipse BIRT(version 2.5.1) for generating reports. I have used Type4 driver for jdbc connection.
    For that, I have established jdbc connection using db2jcc.jar and db2jcc_license_cu.jar files.
    I have successfully created data source, say DB2BIRT having following requisites-
    Driver Class - com.ibm.db2.jcc.DB2Driver ( v3.50)
    Driver URL - jdbc:db2://localhost:50000/database_name
    User name - user_name
    Password - Password
    I have written some stored procedures and trying to use resultsets from those stored procedures into my report..
    The stored procedures having involvement of only single resultset are working absolutely fine for new dataset using above DB2BIRT.
    But, I am unable to create new dataset using stored procedures those having involvement of multiple resultsets.
    I am getting following error as -
    org.eclipse.birt.data.engine.odaconsumer.PreparedStatement$SequentialResultSetHandler getMoreResults
    SEVERE: Cannot get more result sets from the statement.
    Cannot get the result set.
    SQL error #1: [jcc][10120][10943][3.50.152] Invalid operation: statement is closed. ERRORCODE=-4470, SQLSTATE=null
    org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot get the result set.
    SQL error #1: [jcc][10120][10943][3.50.152] Invalid operation: statement is closed. ERRORCODE=-4470, SQLSTATE=null
    com.ibm.db2.jcc.b.SqlException: [jcc][10120][10943][3.50.152] Invalid operation: statement is closed. ERRORCODE=-4470, SQLSTATE=null
    at org.eclipse.birt.report.data.oda.jdbc.CallStatement.getMoreResults(CallStatement.java:1760)
    at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaAdvancedQuery.getMoreResults(OdaAdvancedQuery.java:214)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement$SequentialResultSetHandler.getMoreResults(PreparedStatement.java:5183)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getMoreResults(PreparedStatement.java:792)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.flushResultSets(PreparedStatement.java:1009)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.close(PreparedStatement.java:980)
    at org.eclipse.birt.data.engine.executor.DataSource$DataSourceReleaser.run(DataSource.java:374)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: com.ibm.db2.jcc.b.SqlException: [jcc][10120][10943][3.50.152] Invalid operation: statement is closed. ERRORCODE=-4470, SQLSTATE=null
    at com.ibm.db2.jcc.b.wc.a(wc.java:55)
    at com.ibm.db2.jcc.b.wc.a(wc.java:102)
    at com.ibm.db2.jcc.b.tk.db(tk.java:3118)
    at com.ibm.db2.jcc.b.tk.a(tk.java:1063)
    at com.ibm.db2.jcc.b.tk.getMoreResults(tk.java:908)
    at org.eclipse.birt.report.data.oda.jdbc.CallStatement.getMoreResults(CallStatement.java:1756)
    ... 7 more
    Moreover, I tried to resolve above issue by changing Driver Class from com.ibm.db2.jcc.DB2Driver ( v3.50) to com.ibm.db2.jcc.uw.DB2StoredProcDriver ( v3.50)
    So again while *"Test Connection"* for new Data source using this new driver class for stored procedure, there is an error reflection as -
    org.eclipse.birt.report.data.oda.jdbc.JDBCException: The selected driver cannot parse the given url.
    at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.testConnection(JDBCDriverManager.java:627)
    at org.eclipse.birt.report.data.oda.jdbc.ui.util.DriverLoader.testConnection(DriverLoader.java:120)
    at org.eclipse.birt.report.data.oda.jdbc.ui.util.DriverLoader.testConnection(DriverLoader.java:133)
    at org.eclipse.birt.report.data.oda.jdbc.ui.profile.JDBCSelectionPageHelper.testConnection(JDBCSelectionPageHelper.java:653)
    at org.eclipse.birt.report.data.oda.jdbc.ui.profile.JDBCSelectionPageHelper.access$7(JDBCSelectionPageHelper.java:627)
    at org.eclipse.birt.report.data.oda.jdbc.ui.profile.JDBCSelectionPageHelper$7.widgetSelected(JDBCSelectionPageHelper.java:549)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.birt.report.designer.ui.dialogs.BaseDialog.open(BaseDialog.java:110)
    at org.eclipse.birt.report.designer.data.ui.actions.EditDataSourceAction.doAction(EditDataSourceAction.java:68)
    at org.eclipse.birt.report.designer.internal.ui.views.actions.AbstractElementAction.run(AbstractElementAction.java:70)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Can anybody address my this issue for successful implementation of stored procedure(with involvement of multiple resultsets) for creating Data set in Eclipse BIRT ?
    I will be really thankful.
    Thanks in advance,
    Manasi

    Well, in my stored procedure I have used 2 to3 cursors(as per my business logic) and all cursors except one are holding result sets. That exceptional cursor is intended for holding as well as returning result set after call to the procedure. And its perfectly running on db2 and returning the desired output. The problem is with Eclipse. The same procedure is not working in Eclipse BIRT.

  • Problem creating CalculationView using Eclipse on MacOSX

    Hi guys,
       I'm trying to follow the steps of tutorial Using HANA Modeler in SAP HANA Cloud Platform, but it's giving a error when creating the Join of SO_CV view when running on MacOS Leopard. When I link the tables SNWD_BPA and SNWD_SO the link is erased and when I try using the Join wizard I cannot click on finish or Add a column as output.
      But when I do the same steps on Windows it's works without problem. I've done the procedure several times in both systems, and only get error on MacOS.
      Anyone else having this issue ?
    Regards,
    Cleber Santz

    Hi Vladimir,
       I already have a updated Eclipse (Kepler) install:
        UI5: 1.20.7
        HANA Tools: 1.0.7400
        HANA Cloud Tools: 1.27.0
        NEO J2EE 6 SDK: 2.34.6.1
       When the problem occurs, it cause a graphic issues as well on View Diagram. See image attached.
    Regards,
    Cleber Santz

  • Create HTTPConnection using javabean?

    Hi All,
    I hav few questions about jsp...
    1. If there are 2 files jsp. A & B. A send params to B. Is that the response of B (such as HTTP200, etc) r sent to A automatically after B received the params?
    2. What if A send params to B. & The params r processed through 3 steps in B. There r validation, count, & saving. Can B send a response to A after the 2nd process?
    3. Can A wait for a response?How can i do that?
    4. if A use a javabean, can the javabean add function of creating HTTPConnection?
    Hope there will be gud advices from u guys...
    Thx b4 in advance...

    Ok...ill try to make it clearly...
    I have four questions about jsp...
    1. If there are two files jsp.they are A & B. A send
    params to B. Is that the response of B (such as
    HTTP200, etc) are sent to A automatically after B
    received the params?Are you talking about forwarding between JSP pages?
    2. What if A send params to B. & That params are
    processed through 3 steps in B. There r validation,
    count, & saving. Can B send a response to A after the
    2nd process?Are you talking about JSP forwarding?
    3. Can A wait for a response?How can i do that?Are you talking about JSP forwarding?
    4. if A use a javabean, can that javabean add
    function of creating HTTPConnection?A bean can do whatever it likes.

  • Problem creating documents using BAPI_DOCUMENT_CREATE2

    Dear all,
    I am using
    BAPI_DOCUMENT_CREATE2
    to create a quality document attachment ( PDF file)  for one of our dynpro screen..
    then  I retrive the document information using  'BAPI_DOCUMENT_CHECKOUTVIEW2
    and show the document using function module
    CV120_START_APPLICATION
    1) it works fine only for the person who is creating the document as the bapi is creating a reference to his directory path.
    2) it  doesnt work if the user is moving the file into another directory on his local computer as the directory reference path is gone..
    3) if a different user is trying to acess file it doesnt even show up as   he will never have the direcory path created by some body else.
    how to over come this situation.
    I have done lot of investigation and I found that 'BAPI_DOCUMENT_CHECKOUTVIEW2 has some paraneters
    pf_http_dest = 'SAPHTTPA'
    pf_ftp_dest = 'SAPFTPA'
    but could not able to understand it properly. Please kindly help..
    Thank you very much in Advance.
    Regards
    syam.
    Edited by: syambabu g on Oct 22, 2008 1:39 PM
    Edited by: syambabu g on Oct 22, 2008 1:47 PM
    Edited by: syambabu g on Oct 22, 2008 1:50 PM

    Please refer to this thread, it tells why you need a data carrier you can also configure the same in DC20.
    Data Carriers for Storage the Originals of DMS

  • E-Recruit - Problem creating candidates using RCF_CREATE_USER

    When I try to create candidates for e-recruitment in se38 using the program RCF_CREATE_USER I get an error message that says "Enter at least one number for the business partner".
    But if I try to run the program again for the same user then it says that "A candidate already exists for the user". However if I check in su01, no reference user has been addded to the user roles.
    Can anyone suggest why this isn't working.

    Hello,
    We never had any issue while using this program 'RCF_CREATE_USER' though our recruit is still not working because of some other issues. We do get this error '"A candidate already exists for the user" whenever we try to repeat a username. If you use a username in this program which you never have used it before, you wont get this message. Try creating a new user in SU01 and then use in this program. You wont get this message. Normally we assume that a user is created even if you get some error after running the program. This is just my assumption. It seems E-recruiting  model is very very complex!!
    Let me know if you need any docs on Customizing the IMG for E-recruiting.
    Regards,
    Ahmad
    Message was edited by: Ahmad Quraishi

  • Problem creating a 'used sources' list based on EXIF data in InDesign CS5

    Hello everyone,
    I recently started to use InDesign CS5 to work on school projects. These projects regularly require us to have a list of sources, not only for citations and referenced work, but also for images. As I sometimes make quite long documents, keeping track of what image is where, and where I got it from, gets tedious.
    I had the idea of generating a caption based on EXIF data, which I'd move to the pasteboard, and group it with the image. The text in the caption has a seperate, numbered paragraph style. On one of the last pages, I generate a table of contents, which the numbered paragraph style selected. I chose to display it using another paragraph style, without page numbers.
    What I want to have as the end result is:
    Table of contents
    1. <Title>. <Author> (<Creation Date>). Retrieved <Date Placed> through <Description>
    The captions display correctly, as shown above in the body of the table of contents. The table of contents itself however, shows only the numbering in front of it, and not the variables.
    I already tried converting the live captions to static captions, but that doesn't work. Does anyone have an idea how to solve this?

    Hello everyone,
    I recently started to use InDesign CS5 to work on school projects. These projects regularly require us to have a list of sources, not only for citations and referenced work, but also for images. As I sometimes make quite long documents, keeping track of what image is where, and where I got it from, gets tedious.
    I had the idea of generating a caption based on EXIF data, which I'd move to the pasteboard, and group it with the image. The text in the caption has a seperate, numbered paragraph style. On one of the last pages, I generate a table of contents, which the numbered paragraph style selected. I chose to display it using another paragraph style, without page numbers.
    What I want to have as the end result is:
    Table of contents
    1. <Title>. <Author> (<Creation Date>). Retrieved <Date Placed> through <Description>
    The captions display correctly, as shown above in the body of the table of contents. The table of contents itself however, shows only the numbering in front of it, and not the variables.
    I already tried converting the live captions to static captions, but that doesn't work. Does anyone have an idea how to solve this?

  • I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to iCloud, following your instructions and now I can not use my mobileme e-mail address. How can I contact directly with Apple, not just an automatic reply phone number

    I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to icloud following all your instructions and now I can not use my mobile me e-mail address. I can not activate icloud because when I put my e-mail address it answers that somebody is already using my address. I have my old e-mails, but I can not receive any e-mail or send them.
    I have contacted Apple Technical Support in Spain and I was sent an e-mail saying that I have to call a phone number and when I call it is always an answering machine who answers that says that I have to pay 50€ for a consultation or wait for 10 minutes. When I have made the consultation it was never mentioned that I have to pay 50€ for a phone consultation. If I don't want to wait I have to pay for the Apple Tecnical Support which cost 250 €, this was not mentioned in the technical support page.
    Can somebody let me know how can I contact Apple in another way in order to talk with a human being or chat directly? I was very happy just using my mobileme e-mails, I didn't need any clouds and I was force by Apple to registered if I want to continue using my mobileme e-mail address.

    Sandra,
    See this Apple support document for information on reporting an issue with your iTunes purchase.
    http://support.apple.com/kb/HT1933
    B-rock

  • Using iDVD, I've no problem creating a slideshow, but I want to add three seperate sound files, in this case speeches I've got in iTunes. I want to create three individual buttons/sub menu to access them individually from the photos. Can anyone help

    Using iDVD I've no problem creating a slideshow, but am having problems trying to add three seperate sound files in this case three speeches that I hold in iTunes. I want to be able to access them individually and seperately from the photo slideshow. Can anyone advise if this can be done and if it can, how I go about creating the seperate menu and buttons.

    If you'd like to integrate the speeches with the slideshow, I'd do that in iMovie where you'll have more control over the timing.  Use chapter markers at the beginning of each speech so the viewer can jump to a particular speech (note that chapter markers advance the viewer to a particular spot -- the viewer keeps watching the rest of the video until the end of everything or until they use the remote's menu button).
    If you're just wanting the speeches to be on the DVD so people can listen to the speeches after seeing your slideshow, you could:
    - use iDVD or iMovie to make a "slideshow" with just 1 image matching the length of a speech.
    - create three submenus and use the speeches as menu music.  Here's a (random) video on creating submenus:
    http://www.youtube.com/watch?v=DlhQSb_D5kc
    John

  • Problem creating basic views while creating materials using idocs?

    hello,
    I am facing an issue while creating materials using idocs. The problem is that the basic view does not get created whereas other views are present. The function module used is idoc_input_matma01 and the basic idoc type is MATMAS03.
    Looking for help. Thank you

    Hi Madhu,
    Actually i recieve an idoc from PI containing data required for cretion of the material via an idoc. This idoc is then processed to create the required material.
    The material gets created with appropiate data in various tables(mara, makt) but when we view material in mm03 we cant see the basic data views.

  • Problem while creating PO using BAPI_PO_CREATE1

    HAI TO ALL
    I AM TRYING TO CREATE PO USING BAPI
    ORDER IS SUCCESFULLY GENERATED, BUT THE CONDITIONS WHATEVER I PASS IS ARE REPEATING ,
    EVEN WE CONFIGURED DEFAULT VALUES MAINTAINED IN TRANSCTION 'OMFI" AND MAINTAINED Default Values for Purchasing FOR PARAMETER IN PARAMETER TAB IN USER PROFILE,
    HELP ME...
    REGARDS,
    SN

    Hi Sid.
    I'm having this same problems on creating PO Service. Did you solve it? How did you do that?
    I'm using a PR and the Category is 'Y', and I cant find where is the problem.
    The tables that I'm passing to the BAPI_PO_CREATE1 are:
    POITEM/ POITEMX
    POACCOUNT/ POACCOUNTX
    POSERVICES
    POSRVACCESSVALUES
    Please, if you have any idea, let me know!
    Tks a lot!
    Renata

  • Problems in creating dir using applet

    hi
    i'm getting various exceptions while creating a new directory
    i know that an applet can not create dir directly because of some
    security . But what if i want to create it using the applets only??
    how to do it??
    Thanx in advance
    Ashish

    To answer your question I would need to know what stack trace comes back with.
    I also need to know the set up.. Is the applet running on you personal machine and what operating system are you using.
    Lee

Maybe you are looking for