CLASSPATH problem, deploying JSP app without right to modify classpath...

I want to deploy a JSP web app to apache server with JRun for running JSP, but I don't have the permission to copy the required library files to the classpath, nor modify the classpath to append my application's path. Is there any way to workaround? Thank you

Well, thanks for the tip. The answer is yes and no. Yes, the jar is in my classpath, but no the lib directory containing the jar is not included in the dist directory when I clean and build the project. This only happens when I include either the JavaHelp jars or just the jh.jar (which should be all I need) in the classpath. When I read the manifest file, it's clearly looking for /lib/jh.jar, but the directory does not get created on build (whereas, the lib directory is there if the JH jars are not included).
Makes no sense to me. Any idea as to what's happening here? The help system works great in the IDE.
Thanks for your help.

Similar Messages

  • Possible classpath problems with JSP

    I'm trying to run a simple jsp under ocj4 and I'm running into problems. Other jsp's run fine so I'm pretty sure everything's installed right. However, when I try and use the ConnCacheBean I get a "bean type ConnCacheBean not found error". Now the class is there under (on my system) d:\oracle\jsp\lib in osjputil.jsp. I tryed adding this manually to the -cp option of java when I run orion.jar but to no help.
    Where can I set this classpath variable (if this what's going wrong, if not what is) as I can't find anything addressing this in the documentation.
    thanks
    Jonny Wray
    null

    I've had success putting my non-JSP stuff into a simple jar file and placing it in
    j2ee/home/default-web-app/WEB-INF/lib. It seems that the engine picks up anything in that directory.
    Possibly, you will have to create this lib directory yourself.
    See if this helps.
    Cheers,
    Malte Christensen
    null

  • Problem deploying adf app to weblogic

    I've successfully migrated a 10.1.3.4 adf application to 11.1.1.2.0 and can run it on the integrated wls. However, I can't deploy/install to my standalone wls (10.3.2) without getting the following error during deployment/installation of the .ear:
    An error occurred during activation of changes, please see log for details - (Class not found) javax.faces.webapp.ConverterELTag
    or at times i'll see a similar error message:
    An error occurred during activation of changes, please see log for details - (Class not found) javax.faces.component.UIComponent
    I've built the .ear file via jdev and I've installed the adf runtime libraries in the wls domain that I'm trying to deploy to. Also, from what I can gather, this has something to do with the jsf-api.jar, since those classes referenced above belong to that jar. I can see that library (jsf(1.2,1.2.9.0)) is installed on the wls domain/target that I'm deploying to. Any ideas what the problem might be? Thanks.

    I'm still unsuccessful at creating the app server connection, even after choosing weblogic 9.xx as you suggested. On one of the screens of the wizard, it asks for a Target Node value. I've only set up the AdminServer 'target' in this wls domain, so that's the value I used as the Target Node value. When I use the Test Connection button, I see nothing that tells me the connection was successful or not. If you have any more ideas or have tried this yourself and got it to work I'd like to hear about it. But, since you said this combination was not supported, I'm not sure I'm going to go that route anyhow at this point. Thanks for the help.

  • Deploying client apps without deploying Weblogic.jar ?

    I am trying to deploy my client application on a standalone windows machine
    and do not wish to deploy weblogic.jar with the client deployment. Is there
    any way of allowing my clients to use Weblogic JNDI without having to deploy
    weblogic.jndi.WLInitialContextFactory.class (and its associated classes.
    I find it hard to believe that everyone who is developing on weblogic
    distributes this JAR file to their customers with their client
    applications....?
    Can you use something other than weblogic.jndi.WLInitialContextFactory such
    as the sun jndi provider instead....?
    If anyone can shed some light on this deployment problem it would be much
    appreciated.....even if its simply 'thats just the way you have to do it
    !......will save me time trying to get other solutions to work...!
    TIA

    Hi,
    Weblogic provides you a way to create client jar files so that the complete weblogic.jar
    doesn't need to be downloaded to the client. The tool is called verboseToZip.
    See
    http://e-docs.bea.com/wls/docs70/adminguide/utils.html#1117405
    hope this helps, pat
    "BEA" <[email protected]> wrote:
    I am trying to deploy my client application on a standalone windows machine
    and do not wish to deploy weblogic.jar with the client deployment. Is
    there
    any way of allowing my clients to use Weblogic JNDI without having to
    deploy
    weblogic.jndi.WLInitialContextFactory.class (and its associated classes.
    I find it hard to believe that everyone who is developing on weblogic
    distributes this JAR file to their customers with their client
    applications....?
    Can you use something other than weblogic.jndi.WLInitialContextFactory
    such
    as the sun jndi provider instead....?
    If anyone can shed some light on this deployment problem it would be
    much
    appreciated.....even if its simply 'thats just the way you have to do
    it
    !......will save me time trying to get other solutions to work...!
    TIA

  • Needed Instruction to deploy JSP app. to Oracle 8i?

    I need the instruction to deploy a JSP BC4J application
    developed by JDev9i to Oracle 8i. Web server is Oracle Http
    server powered by Apache.

    Hi,
    The detailed steps are provided in Publishing Reports:
    http://download-uk.oracle.com/docs/html/B14048_01/pbr_run.htm#sthref1410
    But since you have already gone through the manual, here are the steps in brief:
    Option 1: Suppose yo alerady have a J2EE EAR or WAR file that contains the rest of your JSPs, servlets, Java classes, EJBs, etc. In this case you need to add the reports JSP to your EAR / WAR. You can do this using any Java IDE like Oracle JDeveloper or Sun Studio. Once you have added the JSP to the EAR / WAR, you need to deploy it the EAR / WAR on the application server on the OC4J_BI_Forms instance. You can do this using Oracle enterprise manager browser-based console.
    Option 2: Suppose do not have an application deployed. In other words, you simply want to deploy the reports JSP. There are 2 sub-options here:
    Sub-option A: Create a new EAR / WAR file containing the reports JSP. You can again do this using any Java IDE like JDeveloper. The steps for creating a new JSP application are given in Publishing Reports 10.1.2:
    Section 13.3.3.1 Creating a New J2EE Application
    Sub-option B: You do not want to create a new EAR / WAR. This method is not recommended for production deployment, and is usually used only for testing. If you want to follow this method, simply copy the JSP file in the following directory:
    OracleAS_Home\j2ee\OC34J_BI_Forms\applications\<appname>\<web-module>
    This assumes that you have OC4J_BI_Forms instance on your OracleAS (it comes by default), and that you have deployed at least one application on this instance. This deployed application's name is <appname> above.
    Let me know if you have more Qs.
    Navneet.

  • Java classes classpath problem in jsp

              Hi
              when i compile jsp .its giving compile errors that it can not resolve name.the
              name is the class name of java which i am calling in jsp.Can any body tell what
              might be the problem
              

              What is the URL you are using?
              What is the name of the JSP file?
              What directory is it in?
              What is your JSP working directory?
              You should be using the relative directory plus the name of the JSP file, not
              the name of the java class.
              i.e. http://localhost/myjsps/test.jsp
              NOT
              http://localhost/_jsp_dir/_myjsps/_test.java
              Mike Reiche
              "Damodar kovi" <[email protected]> wrote:
              >
              >Hi
              >
              >when i compile jsp .its giving compile errors that it can not resolve
              >name.the
              >name is the class name of java which i am calling in jsp.Can any body
              >tell what
              >might be the problem
              

  • Problem deploying Coldfusion apps

    Not sure of the appropriate newsgroup for this but here goes. We have an app developed in Coldfusion that we are deploying as J2EE EAR/WAR. Works fine on Websphere, Tomcat so far. On Weblogic\windows it fails because it uses CF functions to parse directory paths, and these are blown away by the leading "\" that is returned by Weblogic. (This is also apparent in environment variables like CGI.PATH_TRANSLATED). Is this done for a reason? Any way of preventing it?
              TIA
              Richard Tugwell

    It might be easier just to create the WAR/EAR in JDeveloper and then use the Web EM interface to OAS to pick up the EAR/WAR and deploy it to the server.

  • Do i required to put  any thing in classpath before deploying  portalet app

    like any jars
              because iam getting JDI pROXY ATTACHED MESSAGE ON SERVER CONSOLE

    Hi sapani.
    I made a copy then chose the edit feature to change the MyFrame to tempconverter. I must still be missing something.? I even copied the java2exe file to where the actual class file is.
    before: ..\java2exe /v /w /main:MyFrame *.class *.gif
    pause
    after: ..\java2exe /v /w /main:tempconverter *.class
    pause
    If my mind serves me correct the beginning "..\" I'm thinking would be invalid since I'm working within the same directory when trying to convert?
    errors are as followed when I changed things over:
    bad command or file name when double clicking on the .bat file. DOS will stay opened then says press any button to continue, then DOS terminates.
    I noticed that when I add brackets in the code I made a .file that had the ']" as the filename to it? come to find out it was a written version of the what the DOS screen had mentioned earlier to me:
    Cannot find file in the package exe is empty.
    I'm lost about the package part. All I know is that I'm in the same directory but I guess I'm still clueless.
    In the manual the method is as follows for converting:
    Usage + [options] + file
    but then right below that it specifies:
    /main:<class>
    I take it that it would then go like this:
    java2exe [ /v /w target:<java> /minver:<1.2> /main:<tempconverter.class> /out:<tempconverter.exe>]
    hmmm. lol. I see two ways, a number of possibilities from the two, so I mixed them around to see the results would be. On one of the tries I had changed the file that had that "]" extension and renamed it an exe to see what would happen, illegal op, whooops. not a win32 application.
    Also in the manual it mentioned about dll's for jni? The only thing I have under a simular jni is a .h file - I believe this is a header file for the c or c++ language.
    I know only very little about c++
    I'll keep working at this though. Always like a challenge.
    If there's something that can be changed or an alternative that would be great. Thanks for your time.
    Thanks for responding sapani.
    RJ

  • Problems deploying an app using a loader

    I have been
    trying to use the loader method described in several posts to run an
    application.  Our development directory structure
    consists of many subdirectories (eg. common, utility, dll) and this app. has many
    vi’s interspersed within all these directories. 
    This app has about 80 sub-vi’s and a couple of vendor dll’s that it
    runs.  I save the app as an “Application
    Distribution”.  In the loader I pass the
    complete path to the main VI within the llb.  When I create the loader executable I also
    define the main VI as the top level vi from within the llb.  The loader executable that is created runs
    fine from within the original directory but once I move it to the root
    directory it does not work.  It comes
    back with a “Error 7 Occurred at Open File+.vi: Open File”.  At this point it was trying to open an INI
    file.  My questions: 1) Should I pass the
    path of the llb to the loader instead of the main vi? 2) What can I do to
    either the loader or vi to be able to run the loader from any directory other
    than where my main vi resides? 3) Where should I place my INI file so that I do
    not get the Error 7?  Any help would be
    appreciated.  Thank you.

    The answer to your question really depends on how you are opening this INI file. Are you giving LabVIEW an absolute file path to the INI file or a relative file path with respect to a VI? If you are using a relative file path, then recall that building a VI into an executable adds an additional branch to the file path -- instead of ...\myapp.vi, the file path to the VI becomes ...\myapp.exe\myapp.vi. If you are using an absolute file path, then this will obviously only work when the file is located in that exact location.
    Kind Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • Deploying and testing an app without physical connect

    Hello,
    under https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistrib utionGuide/TestingYouriOSApp/TestingYouriOSApp.html
    there is a chapter:
    Installing Your App on Test Devices
    Before you distribute your app to testers, follow the steps that testers use to install and run the app on their devices. Use iTunes to install the app on a nondevelopment device. iOS extracts the embedded ad hoc provisioning profile in your app and installs it on the device for you. Then test your app on the device.
    Follow these steps to install the app on a testing device.
    Finally, send the iOS App Store Package file to testers......
    Is it possible testing and deploying an app without physical connection to a computer (security risk etc.)?
    An example: Upload the app-file to a developer-environment in the app-store and then download to the iPhone.
    Thanks and greets
    Oliver

    Ok I figured this one out with help form Kapil (thanks Kapil).
    Here are a few lines of code that is needed:
    <s:HTTPService id="myPersonalInfo" fault="faultHandler(event) resultFormat="e4x" result"personalInfo(event)"/>
    Then create a function e.g.
    private function requestPersonalInfo():void{
    domainUrl="your url.com";
    personalInfoRequest="";
    personalInfoRequest=domainUrl+api_xml_string;
    personalInfoRequest+="common-info";
    myPersonalInfo.url=personalInfoRequest;
    myPersonalInfo.send();
    private funtion personalInfo(event:ResultEvent):void{
    personalName=event.result.common.user.name;
    Username.text="Welcome" + personalName;
    Thats it.

  • I got this error: SC_INTERNAL_SERVER_ERROR: jsp/APPS/ appName. contextroot .index not found.

    I have deployed the app without any errors and conflicts. I get this error when I execute the app in the for http://<ip:port>/appName/contextRoot/index.jsp.

    Hi,
    Not a problem. This is a common error, I think it's best to look into the General Trouble Shooting guide before you can check the code further and I'm sure you will succeed.
    Regards
    Raj

  • EA1 - Error deploying ApEx app

    Hello,
    I just had a problem deploying an app into production. There are a few apps but only this one has a problem. When I right click the app, and left click on deploy, I get the following error:
    An error was encountered performing the requested operation:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "SYS.HTP", line 1536
    ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 228
    ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 305
    ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 2381
    ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 6482
    ORA-06512: at "FLOWS_030000.HTMLDB_UTIL", line 1106
    ORA-06512: at line 1
    06502. 00000 - "PL/SQL: numeric or value error%s"
    Just an FYI. I deployed the app the old way via export/import no problem.
    Regards,
    Dan

    One thing you might look at is to do a textual DIFF between the file exported by APEX and the file exported by SQL Developer.
    I've been working on an APEX application installer (installShield like) tool and was using similar code to the Java Command line export utility. What I found was that the file exported with APEX set and used a different security group ID than the one exported with My app. When trying to import the file from My App, I ran across the same problem.
    I'm just wondering if the same is true here. The text diff should help you find out what is different.
    Then the question is why, and why does it matter.

  • Getting Error while deploying the autohosted event receiver in office 365 ( ErrorDetail: There was a problem registering the app principal.):

    Hi,
    I was successfully able to deploy my auto hosted event receiver in office 365 and it was working. I did some changes on code and try to deploy it again but now it through same error always wheneven i deploy it.
     CorrelationId: 2ef8a311-f1cf-4ee7-be1a-1125c5231e1c
    2>        ErrorDetail: There was a problem registering the app principal.
    2>        ErrorType: Configuration
    2>        ErrorTypeName: Configuration
    2>        ExceptionMessage: An error occurred while attempting to execute a principal management operation.  Please contact your administrator.
    2>        Source: RemoteWebSite
    2>        SourceName: Remote Web Site Deployment
    2>Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.
    Please help me on this. Not sure what this error is indicating.
    Regards:
    Sanjay Joshi

    Hi All,
    I have tried same thing in different different environment.  Different environment mean different azure account and office 365 account. But still the issue persists.
    i feel some issue in my office network or in servers. Because couple of days back same thing was working in my private virtual machine in my private network instead of office.
    For me i observe a basic problem in this network.
    The pop up to provide trust to the app (that come with title "Grant permission to app") comes while i deploy the solution and gets close automatically without clicking trust.
    Might be this could be the reason for me ?. because closing of pop up is not providing authentication to my app.
    This happens in every server in my office network.
    Any suggestions on that. Thanks in advance.
    Regards:
    Sanjay Joshi

  • I am receiving a new ipad (3 i guess) from my mom who is in the U.S but i am currently in the philippines. I ofcourse, want to have apps,games,movies etc. can i use an itunes giftcard (also from the U.S) to buy my apps without any problems?

    i am receiving a new ipad (3 i guess) from my mom who is in the U.S but i am currently in the philippines. I ofcourse, want to have apps,games,movies etc. on it. can i use an itunes giftcard (also from the U.S) to buy my apps without any problems?

    No.
    iTunes terms of service:
    The iTunes Service is available to you only in the United States, its territories, and possessions. You agree not to use or attempt to use the iTunes Service from outside these locations. Apple may use technologies to verify your compliance.

  • Classpath problems when generating deployment xml

    Hi,
    I am new to using Toplink (9.0.4), but not new to CMP. I'm using the Toplink Mapping Workbench and have created my CMP Entity. I right-click on my project and export the Java Source. Everything (homes, local, remote) generates successfully. I then try to export the project deployment XML. However, I get a classpath error stating that it can't find my bean classes. My classpath is set to the area where the Java/Class files are. Do I have to compile my generated classes before creating the deployment XML? It appears as if I do because it works when I compile first, then generate the deployment XML. Is this the correct way to use the tool (generate Java, compile, generate XML)?
    Also, Is there a way this can all be generated via Ant (i.e. something similar to EJBGen)?
    Thanks,
    Mike

    Generating Java using the Mapping Workbench is good only for the initial Java Objects.
    After the initial Java Objects has been generated TopLink recommend to generate / modify Java Objects using IDE -&gt; compile -&gt; And in the Mapping Workbench 'Add or Refresh classes' -&gt; Map -&gt; generate XML is the right way of using TopLink.

Maybe you are looking for