Basic application deployment specific questions

I have some questions related to application deployment. Following this tutorial, I am able to create an executable 'jar' file and deploy it to another computer. So the basics work for me, however ...
1.
In order to make the application running on different computer, I manually need to copy ~8 specific files (firebird database dll's) in directories like:
c:\Program Files\Java\jre6\bin
c:\Windows\system32
If i do so, everything works fine. I did not test this yet, but I believe, IzPack software will be able to help me with this. The problem is, how do I set the destination path for those files on destination computer? This path can vary on different computers, so this path can't be hardcoded. Besides, is it normal to place application specific files into those directories?
2.
My application uses relative references to files, e.g.:
static String DATABASE_FILE_NAME = "software.fdb";
static Database _firebirdDB = new Database(DATABASE_FILE_NAME);If i execute application like this:
c:\myApplication\java -jar "NameOfJar.jar", I get a bunch of exceptions, because my database file 'software.fdb' can't be located.
If I however execute application like this:
c:\Program Files\Java\jre6\bin\java.exe -jar "NameOfJar.jar", then everything works all-right.
Obviously, my application depends on current working directory, when it's executed. How can I avoid this?
Thanks for help in advance,
Juraj

durino13 wrote:
1.
This may be silly question, but where can I find more information about 'installing complex applications with native libraries'? I even don't know, what to search google for ..
For instance, i have JAVA installed on my PC, but I don't have env. variable %JAVA_HOME% set. So I can't rely on this .. Really, the problem is that Java is designed to be platform-independent, but you're trying to use dlls which are native to each platform. To get the platform independence, Java generally doesn't know about any native libraries. If you have an application which depends on them, it's your responsibility to [get them to a place where Java can find them|http://www.inonit.com/cygwin/jni/helloWorld/load.html].
When you have a standard installer for an application, it's making sure the libraries are in the right place. If they aren't, it has to find a way to put them there. Sometimes the app will just keep a copy in its own directory, so that it doesn't have to install it into an OS directory. The setup.exe program is specially designed to handle this kind of thing on Windows.
Java, on the other hand, doesn't know you're on Windows. It could care less. All it knows is that it has Java code, and it's running in a JVM. If you explicitly tell it to load a system library, it does it and you can access it with JNI. But it still couldn't care less that you're on Windows.
Like I said, I've worked with packages that are mostly Java but have some native code. Usually, what it comes down to is the installation instructions saying, "Put this DLL in the Java path." Sometimes they have a nice little installer that does it for you, or can try to use JAVA_HOME and asks you where to put it if it can't find it. But you are absolutely right -- you can't rely on it because Java doesn't care you're on Windows. You should have JAVA_HOME from the Java installer, but it really doesn't care. It's your responsibility to package it in such a way that it works.
3.
It is a bit strange, anyway. Normally, when I see application packages, I see something like 'setup.exe' bundled with dozens of 'dll's' .. Is it correct to put everything under 'jar'?Setup.exe is a Windows executable to install Windows programs. Java doesn't care that you're on Windows, so it offers JAR, an executable package format. There are some tools to make it easier for delivery on a particular platform, but I've never used them.

Similar Messages

  • Application specific questions

    Hello.
    In what transaction can I process application-specific questions of Support Message?

    Hi
    You can give the reply using the action
    SLFN0001_ADVANCED_COMP_QUEST Answers to appl-spec. questions
    within the same ticket or support message  from the action button in the change mode
    are you referring to same.
    Regards
    Prakhar

  • Newbie questions - application deployment not working

    Hi
    I'm running SCCM 2012 r2 (no CU's yet but I'm just downloading #4). Everything appears normal for a new setup and there are no errors reporting in any of the status lists. Discovery, boundaries, AD schema has been extended and the System Manager AD container
    (and permissions) set up. 
    All domain PCs and users are listed in Assets. I have created a device collection to roll out test applications based on membership of an AD security group which has picked up the correct membership for that group (a single computer).
    I have created an msi to test application deployment (all it does is drop a test file into the windows folder) and tested that manually installing it with msiexec /i /q options on a test PC.  I have created the application, deployment type and deployment
    for the test msi and confirmed that the application has been deployed to the distribution point.
    And then... nothing happens.  I've checked the Monitoring\Deployments view and nothing is reported for the application (i.e. after selecting the application I have a grey pie chart with zero for all entries).  I've checked the report "Client
    push installation status details" and it reports an error (Last error = 5), 4 retries and  status of "retry" but no details of what's going on (and I can't find any log files which might tell me).
    Any assistance would be massively appreciated - despair is setting in!
    Thanks in advance
    Martin

    Definitely check to make sure the client is installed successfully on your test device.  No client, no app deployment :-).  Look for the ccmsetup.log in c:\windows\ccmsetup\logs
    Also, if you are using client push to install the client, make sure you ahve a client push account configured and that it has local administrator rights on the devices.  Ensure the Windows Firewall allows WMI and File/Print Sharing also.
    Jeff

  • Web application deployment problem. FacesServlet exception.

    Hello.
    I used Jdeveloper 10.1.3.4 and deployed my web-app on OAS 10.1.3 (Windows) succesfully. But when I'm trying to access my application, I get in application.log following errors:
    11/02/08 14:29:18.213 test: Error initializing servlet
    java.lang.ClassCastException: oracle.jsp.runtimev2.JspServlet cannot be cast to com.evermind.server.http.JspInterface
         at com.evermind.server.http.JspServletInstanceInfo.initializeJsp(JspServletInstanceInfo.java:127)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2505)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5006)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.214 test: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5033)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.285 test: Error initializing servlet
    java.lang.NullPointerException
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2528)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5006)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.286 test: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5033)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.286 test: 10.1.3.5.0 Started
    11/02/08 14:32:29.511 test: Servlet error
    java.lang.NullPointerException
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.JspServletInstanceInfo.isJspPageExists(JspServletInstanceInfo.java:164)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2771)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:775)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:37:27.173 test: Servlet error
    java.lang.NullPointerException
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.JspServletInstanceInfo.isJspPageExists(JspServletInstanceInfo.java:164)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2771)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:775)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:40:07.383 test: Servlet error
    java.lang.NullPointerException
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.JspServletInstanceInfo.isJspPageExists(JspServletInstanceInfo.java:164)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2771)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:775)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    I've found solution for this error: it is necessary to add to web.xml following:
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    I've added this, and now get a deployment error:
    [Feb 8, 2011 6:04:33 PM] Exception: NoClassDefFoundError: oracle/adf/view/faces/event/industrial/VirtualFunctionKeyActionEvent
    [Feb 8, 2011 6:04:34 PM] Operation failed with error: oracle/adf/view/faces/event/industrial/VirtualFunctionKeyActionEvent
    Need help to solve the problem!

    OK. You can call me stupid. I forgot to set the default web application for the
    specific server. Another Stupid User Eror Problem. Doh! Later...
    - Wayne
    "Wayne Lau" <[email protected]> wrote:
    >
    I'm having an issue where with an exploded directory web application
    deployment
    on a UNIX server. It doesn't seem that weblogic is finding the JSP.
    I'm getting
    Error 404.
    - porting from wls 5.1 to wls 6.1
    - got it ported on Windows 2000
    - iPlanet as the web server
    - wls 6.1 as the application server
    - all JSPs under
    /data/current/weblogic_files/applications/prodssl
    - for the WebApplication, I have the following settings:
    - Name = webap_prodssl
    - URI = prodssl
    - Path = /data/current/weblogic_files/applications
    - in the prod_access.log, I do see that weblogic gets the request
    Any ideas? I have not made any security changes. Basically, I installed
    wls
    6.1, created the servers, created the Web Apps and targeted the Web Apps.
    Thanks for any help. Later...
    - Wayne

  • Web Application Deployment Problem...

    I'm having an issue where with an exploded directory web application deployment
    on a UNIX server. It doesn't seem that weblogic is finding the JSP. I'm getting
    Error 404.
    - porting from wls 5.1 to wls 6.1
    - got it ported on Windows 2000
    - iPlanet as the web server
    - wls 6.1 as the application server
    - all JSPs under
    /data/current/weblogic_files/applications/prodssl
    - for the WebApplication, I have the following settings:
    - Name = webap_prodssl
    - URI = prodssl
    - Path = /data/current/weblogic_files/applications
    - in the prod_access.log, I do see that weblogic gets the request
    Any ideas? I have not made any security changes. Basically, I installed wls
    6.1, created the servers, created the Web Apps and targeted the Web Apps.
    Thanks for any help. Later...
    - Wayne

    OK. You can call me stupid. I forgot to set the default web application for the
    specific server. Another Stupid User Eror Problem. Doh! Later...
    - Wayne
    "Wayne Lau" <[email protected]> wrote:
    >
    I'm having an issue where with an exploded directory web application
    deployment
    on a UNIX server. It doesn't seem that weblogic is finding the JSP.
    I'm getting
    Error 404.
    - porting from wls 5.1 to wls 6.1
    - got it ported on Windows 2000
    - iPlanet as the web server
    - wls 6.1 as the application server
    - all JSPs under
    /data/current/weblogic_files/applications/prodssl
    - for the WebApplication, I have the following settings:
    - Name = webap_prodssl
    - URI = prodssl
    - Path = /data/current/weblogic_files/applications
    - in the prod_access.log, I do see that weblogic gets the request
    Any ideas? I have not made any security changes. Basically, I installed
    wls
    6.1, created the servers, created the Web Apps and targeted the Web Apps.
    Thanks for any help. Later...
    - Wayne

  • Stagger application deployment to device collection

    Hi,
    I've created a device collection using a query that has list of machines with a specific application installed.
    I have an updated version of that application that I'd like to deploy to that collection.
    I'd like to stagger the deployment so that the update takes place on few computers each day or so. For example, every night update the application on 10 machines.
    Can this be done? I'm using SCCM 2012 SP1.
    Pman
    http://www.pmansLab.com/

    There's no direct way to do this.
    One way to accomplish this though is to create a set of sub-collections that are limited to your main collection. You would then create new deployments with different deadlines for each of these "sub-"collections. The membership of these sub-collections
    could then be done using a query based rule that looks at something like the last digit/character of the system's GUID. For example, you could create seven sub-collections and the query rule for the first would only include systems where the GUID's last character
    was 1-3, the second collection would look for 4-6, the 3rd would be 7-9, ...
    If, your application deployment re-evaluation is set to everyday, then you could also do something similar using requirement rules and a little basic math.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • EJB Deploy tool question

    Hi everybody,
    I have successfully build and deployed a simple Application using Sun's deploy tool and j2ee server. Now, I just simply want to use Weblogic6.1 to do the same thing for my Application.
    I uploaded the .ear Application file to Weblogic6.1 and try to deploy it, but failed many times. Am I doing something wrong here ? My question is, the .ear file I generated by using Sun's tool, can it simply just uploaded to Weblogic and deploy ?
    I know Weblogic has a different kind of process to build an application. But, an ear is an ear file. It should be the same for either app server such as Weblogic or Sun's j2ee, right? Correct me if I am wrong.
    Thanks in advance.
    Philip

    You should deploy your EJBs to the particular application server using the deployment tool that is particularly suited for that application server. Why? Although application servers have some things in common like the structure of the ejb-jar.xml file (which is part of the J2EE specification), some are application server specific implementation which varies from different application servers.
    You used the J2EE RI application server. That does not mean that the ear file you have generated from the deploytool is also the same ear file that WebLogic can fully understand.
    Try to deploy your EJB's using the deploy tool bundled with WebLogic.
    Hope this helps

  • Application Deployment Evaluation Cycle Query

    Does anyone have a sql query to determine when machines in a collection last ran their Application Deployment Evaluation Cycle?
    Thanks for any suggestions!

    Thanks Garth and Jason.  About the only place that seems to provide the information is the client side appdiscovery.log file.  I have a couple sql queries that return things like last software scan date, etc, and I was hoping there might be something
    similar for the application deployment evaluation cycle.
    To your question, Jason, we have a vdi solution that is closely scrutinized by the powers that be.  Every utilization spike on the storage array triggers a flurry of "why did that happen?" emails from management (a behavior born out of a couple
    previous array crashes).  It's been useful to correlate some the SCCM actions time stamps to the time frames of some of these spikes.  In this particular case, a spike was monitored when somebody used right click tools to run the application deployment
    evaluation cycle on a large collection of vdi machines.  Bet you're sorry you asked now!  
    Anyway, thanks again.  I'll script out another solution.

  • Closing Server Session of a BSP application deployed on the Portal

    I have a BSP application deployed on the Portal v. NW07.  This BSP application is a tab sitting besides other applications such as My Staff of MSS.
    The BSP sets a lock like "CALL FUNCTION 'ENQUEUE' " and the backend system is SAP R/3 4.7. 
    QUESTION: How can I get the server session to terminate when the user navigates from the tab corresponding to my BSP application to the other tabs. 
    Currently, the session doesn't even close when I logoff completely from the Portal.  This BSP used to be deployed to users alone within the
    IE browser and I was able to handle session management using JavaScript code similar to what's in page 'session_single_frame.htm' of BSP 'SYSTEM'.   However, when deployed to the Portal, that piece
    of code doesn't seem to do anything.
    "Supports Portal Integration" is checked and the BSP application is stateful.
    Thanks in advance for your help.
    Achille

    for managing the backend session, all you have to do at the BSP app level is to set the supports portal integration flag, so that it generates the domain relaxation scripts.
    it (ending backendsession) is the job of portal's DSM terminator. More on this can be read from http://help.sap.com/saphelp_nw04/helpdata/en/ca/a9a7408f031414e10000000a1550b0/frameset.htm

  • Application Deployment  for  JSPs

    Hi
    I have a web application using only JSP's
    The organization of the application is :
    MyApp
    |____ contains all JSP's and HTML
    |_WEB_INF
    | |______ Classes
    | | |__________ MyBeans - contains all classes and code.
    | |______Lib --- contains the jar files..
    |___images --- contains all the image files.
    There are no servlets in my application.
    My questions are
    1) Is this a good directory structure for an application containing JSP's
    2) Do I need a WEB.XML file for this application to deploy it ?
    3) What should be in the web.xml file.
    thanx
    deepak

    Thanx for the reply
    I have a couple of more questions.
    When I setup tomcat on my local computer,
    I removed the default context.....
    <Context path="" docBase="ROOT" debug="0"/>
    and created a context for my application .......
    <Context path="" docBase="myApp" debug="0" reloadable="true" />
    and I also changed the DocumentROOT of Apache server to point to MyApp Directory.
    This works well for my application on my local machine.
    The company I am trying to host my applicationwith , has provided my with my own tomcat instance and created a directory structure
    HTML
    |_____WEB_INF
    the problem is that if i use MyApp.war to deploy the app. IT creates
    HTML
    |____ MYAPP
    |_____WEB-INF
    |___Classes....
    and then it does not work if i do
    www.myapp.com/index.jsp coz index.jsp is now in MYApp folder.
    How can i solve this problem.
    my initial thought was to create a war file such that it does not create a directory myApp...... but i dunno if that is possible /
    any thoughts on this ?
    thanx a lot
    deepak

  • Application Deployment Centralized In Depth Logs

    I am sure this has been asked already, but when we used Programs we were able to go into the Status Query messages and see centralized/collective logs for all of the computers under our collection.
    When using Applications, we have the Status Messages but they don't really provide much details, especially when there are multiple steps. Is there a centralized report/detail log for all of the computers for a specific application deployment?

    Application work more like software updates, so they provide compliance information instead of the deployment information that you're used to with packages. For example the
    Application compliance report provides the required information about and application for all the devices in a collection.
    Also, what do you mean with multiple steps? An application only runs the first deployment type of which the requirements are met.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Application deployment - hide all system contrainer

    HI All
    wondering if you could help me, I am on a client site and we are sorting some security roles for their helpdesk staff
    I have already managed to create an "import computer" roll to hide the all systems collection which is fine.
    However no matter what combination of settings I use I can't seem to do the same for System collections for application deployment
    Requirements are quite simple, allow a specific group of users the ability to deploy applications to these collections only.
    I just can't seem hide the default containers
    Any ideas, any help welcome
    Regards
    Chris

    What do you means by "I just can't seem hide the default containers". The default collections
    You will need to use RBAC and scope it to your deployment collection.
    If you still sees the "All Systems" collection, it's probably because of your limiting collections. If your deployments collections are limited to "All
    Systems" you will see "All Systems".
    Here's a blog post that describe it : (although it's for OSD, the concept apply in your case)
    http://blogs.technet.com/b/chandanbharti/archive/2013/10/16/restricting-user-to-import-computer-information-and-deploy-os-to-a-collection.aspx
    Benoit Lecours | Blog: System Center Dudes

  • Application deployment evaluation powershell script

    Hi,
    Is there a way that I can run a powershell script or vbs script that will allow me to run the Client actions on the local client. kind of like a shortcut that will go into the configuration manager client control panel icon and run the client action required.
    Specifically for the Application Deployment Evaluation
    Any help would be appreciated
    Regards
    Mike

    Hi,
    Check out this old thread on the topic,
    http://social.technet.microsoft.com/Forums/en-US/9ec7318f-4ab7-4db3-bfa5-958ab1c39f4f/application-deployment-evaluation-cycle-not-willing-to-start-by-script?forum=configmanagersdk
    An example is included in there as well.
    You can also use the Right-click tools extensions in the console which include this action as well.
    http://myitforum.com/myitforumwp/2012/09/21/sccm-rctools/
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Application deployment status

    What's the best way to get a listing of computers showing the status (pending, successful, unsuccessful) for a particular application deployment ?
    Thanks

    Hi,
    We have approx 10K machines and need some imp software’s to be deployed. We have made 15 collections and started deploying these applications. Is there a query to extract detailed status report of a specific application. Instead of the selecting “View Current
    Data” on each collection and selecting the type ” Success/Already Compliant” and so on….
    Thanks,
    Mikey..

  • Application Deployment Process

    Hi,
    I am looking for a definition of a standard application deployment process for J2EE servers. Maybe I missed this information in the specifications, if so, please point me to the right chapter.
    To become a bit more concrete, I am searching for information on if there is a specification on what happens on deployment/startup, i.e., where the entry points are that objectes of an application are created, hence, if the application can be made aware of being "started" by the application server.
    If there is no such general process, maybe someone could help out with specific information on either sun's server or Tomcat.
    Thanks.
    Stefan

    Well, maybe it's in the JSR 88. Unfortunately not accessible at the moment. Thanks for all the other links, they are quite interesting, too.
    My general problem is, that I mostly find the typical information on how to use servlets etc. Just, I do not want to start my application after the invokation of a servlet but on deployment time (i.e., when my application gets deployed to and started by the Java Application Server) and wondered, if there is a standard process besides simply loading the applications classes and making the server aware of new URLs.

Maybe you are looking for

  • I already installed 64 bit WIndows 7 on my iMac 8,1. is this "right?"

    i installed W7 on my imac from 08. and, i read this from the website: These Macs can use 64-bit editions of Windows Vista and Windows 7: MacBook Pro (13-inch, Mid 2009) MacBook Pro (15-inch, Early 2008) and later MacBook Pro (17-inch, Early 2008) and

  • Crystal Reports Server - Scheduling Report Exports

    Dear Experts, We are using Crystal Reports Server XI Edition and we would like to schedule report exports. Crystal Reports Server configuration console allows us to automate report exports but apparently we could not find a way to pass report paramet

  • Show image when cursor hovers over image

    I would like to have the "i" image used to flip to the information screen be hidden or invisible unless the user hovers over the image, where I want the image to be visible and active after a second or two delay. This will allow a click or touch in t

  • Best sequence setting for Sony HXR-NX5U (1920x1080)? Also, why use Sony Content Browser?

    Hello, I'm using Premiere CS 5.0 and I am hoping to find a sequence setting that doesn't require me to render footage from my new camera, a Sony HXR-NX5U.  Can anyone help me out?  Also, does anyone use Sony's Content Browser?  If so, why?  It seems

  • Lenovo U410 - Dual Boot XP

    Hi, I just bought a Lenovo U410 and had in mind of partitioning the 500gb hard drive in order to be able to install Windows XP.  Is it a possible configuration for the Lenovo U410?  Has anybody ever done this? Did you encounter any problems?