Spring Packaging within an EAR

Can Spring be packaged within the ear?

boucha01 wrote:
Can Spring be packaged within the ear?Sure, why not?
Know how to create an EAR?
Which Java EE app server are you using?
%

Similar Messages

  • Loading applet for a jar within an ear

    Hi,
    Apologies if my question sounds ignorant, this is the first time i'm playing with applets.
    I'm trying to load an applet from a JAR (applet.jar) which contains all the files specific to the applet. The applet.jar resides within an ear (application.ear) which is deployed on JBoss.
    The applet related stuff is in the package com.dms.applet (which makes up the applet.jar)
    My index.html resides in a war file (webapp.war), which essentially contains a bunch of servlets. Index.html is a two frame page, which tries to load the applet in one frame and a servlet in another (servlets work fine).
    My <APPLET> tag for the frame in which the applet is displayed (is another html file - applet.html) looks something like this:
    <html><body>
    <APPLET
         code="com.dms.applet.NavigationApplet.class"
         codebase=./"
         archive="applet.jar, application.ear"
         width=200
         height=500
    >
    </APPLET></body></html>
    however, the applet always fails to load, i get the following exception when i open the java console:
    java.lang.ClassNotFoundException:
    com.dms.applet.NavigationApplet.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    load: class com.dms.applet.NavigationApplet.class not found.
    java.lang.ClassNotFoundException:
    com.dms.applet.NavigationApplet.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    It seems evident that the applet class loader can't find my applet.class and hence can't load it. I guess that its something wrong with my <APPLET> tag, but can't quite seem to get my finger on it. Do i need to explicitly tell the class loader to look for it in the applet.jar which is in the applicatin.ear?
    Any help would be very much appreciated.
    Thanks in advance
    EnterpriseJavaBones

    Hi,
    I managed to fix this problem. For those who mite come across the same issue in the future, this is how i did it.
    I put the applets code in the war file under an applet dir. That the the index.html is in the root (of the war dir) and the applets code is in a /applet dir.
    Hence the codebase simply reads, codebase="applet/"
    Cheers
    EnterpriseJavaBones

  • Invoking JAR within an EAR

    I am having trouble invoking my project which is packaged in a jar and the jar is then packaged in an ear file.
    I need to deploy this big ear file onto an AIX server. No single jar file can be deployed onto the server so I have no option but to include my batch project into the ear file, however, when I try to invoke my main within this jar (within the ear), the class can't be found! Can anyone help me with this? Thanks!

    oh also I forgot to mention that I am invoking my program via shell script.
    My script invokes the main function, so my first problem is not being able to 'see' that main function in my ear.I did, however, defined my ear file inside the classpath and used the classpath option when calling my programs. Thanks!

  • JAVA application packaged as an EAR

    we are upgrading our system to Oracle 12i and we have a custom java application that access the Oracle API. As part of this upgrade we have to deploy our JAVA application packaged as an EAR file to OC4J that comes with Oracle EBS. All we need is sequence of steps/ some document that will help us deploy our JAVA application(EAR file) to OC4J server.
    1. Can we create another instance of OC4j in Oracle 12i(12.1.3)?
    2. Will there be any integrity issue if we deploy ear file to Oacore/Forms/OAFM oc4j instance integrated with R12? or Do we need to create a new instance?
    3. I was told by the support engineer that there is no EM console for oc4j integrated with R12, so is there any script provided by oracle to do any ear deployment?

    1. Can we create another instance of OC4j in Oracle 12i(12.1.3)?
    2. Will there be any integrity issue if we deploy ear file to Oacore/Forms/OAFM oc4j instance integrated with R12? or Do we need to create a new instance?I do not think it is supported -- Please log a SR to confirm with Oracle support.
    3. I was told by the support engineer that there is no EM console for oc4j integrated with R12, so is there any script provided by oracle to do any ear deployment?Please see (Deploying a New Forms .ear File in Oracle Applications Release 12 [ID 397174.1]).
    Thanks,
    Hussein

  • Packaging & deploying an ear file

    I am trying to write a script to package and deploy our application from a source-code directory structure. The script is named build.cmd and I've tried to model it off of the build.cmd script that ships with the sample PetStore application. I've attached the build.cmd file.
    I can get the script to work, except for the part where it tries to pre-compile JSP's. However, when I try to login to the "Login" servlet, I get the following error:
    java.lang.NoClassDefFoundError: com/edeploy/util/EdeployConfig
    at com.edeploy.pers.Login.defaultAction(Login.java:67)
    at com.edeploy.pers.Login.doPost(Login.java:48)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:208)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:1127)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1529)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    This is even though the EdeployConfig.class file is packaged in the .ear. I think it has something to do with the web.xml file in the war file - but
    I can't get it to work.
    The web.xml file is as follows:
    <?xml version = "1.0" encoding = "UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
    <web-app>
    <display-name>WebTier</display-name>
    <description>no description</description>
    <servlet>
    <servlet-name>Login</servlet-name>
    <display-name>LoginServlet</display-name>
    <description>no description</description>
    <servlet-class>com.edeploy.pers.Login</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Login</servlet-name>
    <url-pattern>/pers/Login</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>EdeployConfig</servlet-name>
    <display-name>EdeployConfig</display-name>
    <description>no description</description>
    <servlet-class>com.edeploy.util.EdeployConfig</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>EdeployConfig</servlet-name>
    <url-pattern>com/edeploy/util/EdeployConfig</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>120</session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>/edeploy.html</welcome-file>
    </welcome-file-list>
    <error-page>
    <exception-type>java.lang.Exception</exception-type>
    <location>/util/ErrorHandler.jsp</location>
    </error-page>
    <resource-ref>
    <res-ref-name>jdbc/DBConn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <login-config>
    <auth-method>FORM</auth-method>
    <realm-name>default</realm-name>
    <form-login-config>
    <form-login-page>edeploy.html</form-login-page>
    <form-error-page>/pers/LoginFailed.jsp</form-error-page>
    </form-login-config>
    </login-config>
    <env-entry>
    <env-entry-name>serverType</env-entry-name>
    <env-entry-value>WebLogic Server 6.0</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    </web-app>
    [att1.html]
    [build.cmd]

    I am trying to write a script to package and deploy our application from a source-code directory structure. The script is named build.cmd and I've tried to model it off of the build.cmd script that ships with the sample PetStore application. I've attached the build.cmd file.
    I can get the script to work, except for the part where it tries to pre-compile JSP's. However, when I try to login to the "Login" servlet, I get the following error:
    java.lang.NoClassDefFoundError: com/edeploy/util/EdeployConfig
    at com.edeploy.pers.Login.defaultAction(Login.java:67)
    at com.edeploy.pers.Login.doPost(Login.java:48)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:208)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:1127)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1529)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    This is even though the EdeployConfig.class file is packaged in the .ear. I think it has something to do with the web.xml file in the war file - but
    I can't get it to work.
    The web.xml file is as follows:
    <?xml version = "1.0" encoding = "UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
    <web-app>
    <display-name>WebTier</display-name>
    <description>no description</description>
    <servlet>
    <servlet-name>Login</servlet-name>
    <display-name>LoginServlet</display-name>
    <description>no description</description>
    <servlet-class>com.edeploy.pers.Login</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Login</servlet-name>
    <url-pattern>/pers/Login</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>EdeployConfig</servlet-name>
    <display-name>EdeployConfig</display-name>
    <description>no description</description>
    <servlet-class>com.edeploy.util.EdeployConfig</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>EdeployConfig</servlet-name>
    <url-pattern>com/edeploy/util/EdeployConfig</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>120</session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>/edeploy.html</welcome-file>
    </welcome-file-list>
    <error-page>
    <exception-type>java.lang.Exception</exception-type>
    <location>/util/ErrorHandler.jsp</location>
    </error-page>
    <resource-ref>
    <res-ref-name>jdbc/DBConn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <login-config>
    <auth-method>FORM</auth-method>
    <realm-name>default</realm-name>
    <form-login-config>
    <form-login-page>edeploy.html</form-login-page>
    <form-error-page>/pers/LoginFailed.jsp</form-error-page>
    </form-login-config>
    </login-config>
    <env-entry>
    <env-entry-name>serverType</env-entry-name>
    <env-entry-value>WebLogic Server 6.0</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    </web-app>
    [att1.html]
    [build.cmd]

  • Can I upgrade my BT Broadband Package within 12 mo...

    Hello.
    I've just tried to upgrade my Broadband Package but the amount in the order appears to be £0.00p.
    I currently am on the ordinary Broadband package but I wanted to upgrade to Unlimited Broadband but that option for some reason wasn't listed in the options.
    I thought as Infinity is available in my area, I would go ahead and get the £15 a month as it's actually £1 less a month for the first 12 months.
    I've submitted my order but there was no amount in the order and the item I ordered wasn't listed in the order and I didn't have to enter my debit card details.
    So I don't know if I've ordered BT Infinity 1 or not.
    When submitting my order, it said this at the top right of the screen:
    Broadband and Evening & Weekend Calls
    Your contract started on 21/08/2013
    Your contract finishes on 20/08/2014
    So do I actually have to wait until after 20th August to upgrade my package?
    If so, I find that ridiculous!
    You would think BT would welcome any customers wanting to pay them more money for their current telephone, broadband or BT Vision/Youview packages!
    Please can anyone help and advise?
    Many Thanks.

    brymbo76 wrote:
    Surely there must be some BT people or other BT customers on this forum that understand my situation as to whether I can upgrade and change my current Broadband package within 12 months of my current package?
    Please can anyone else advise me?
    Thanks.
    You should be able to upgrade at any point within your contract, although doing so may start a new contract period.

  • Can we call an ODI package from another ODI package within same Project?

    hi All,
    Can we call an ODI package from another ODI package within same Project?

    What you can do is get all the interfaces on the old package that you want to be included in the new package. This way, the new package will have the exact code from the old package.Or generate a scenario out of your ("old") package and drag&drop the scenario in the "new" package.
    That seems easier to me, because you can re-use the scenario as often as you want.
    But you have to take care: If you change your original ("old") package, you have to regenerate the scenario, otherwise the changes do not affect the scenario.
    Edited by: h_elmu_t on 02.07.2009 08:50

  • Deploying multiple wars within an ear (including web services) - pls advise

    **Apologies - this post also appears in the standard Java forums, before I realised there was a separate Enterprise forum!**
    Hello all
    I am working on an application that receives XML messages from sending systems, processes them and forwards them to receiving systems. There is a set of rules concerning who can send what to who. The entry and exit points to the application are web services.
    I would be very grateful for some general advice on best practice for packaging this application. I have done a lot of browsing and read some articles, but I understand the whole picture has changed recently with the growing popularity of web services and that many of the articles I have read are probably out of date.
    The whole thing could be packaged into a single war, but it would be ideal to treat the different components separately as in the future they may be modified and deployed separately. I therefore envisaged having 3 wars in an ear as follows: -
    a. A set of incoming web services to receive messages from the sending system. This is like a hook into b (below). The sending systems will be clients to these web services.
    b. A web application that takes the messages from a and processes, authenticates and transforms them.
    c. A set of outgoing web services that sends the message on to the receiving system. These will be like facades to the receiving systems and b will be a client to them.
    The whole thing would then work in reverse to process the response.
    A few questions: -
    1. I know I haven't given much info here, but does this seem like a reasonable basic packaging strategy? Any other suggestions?
    2. Is it good practise to package multiple wars together into an ear? If anyone could send me an example ant script that does this, I would be so grateful.
    3. Wars a and c above will both need to have full visibility and access to b, which is the "brains" of the whole thing. How is this best achieved when packaging?
    4. If you could point me in the direction of a best practice guide, examples or tutorials, I would be very grateful.
    Many thanks for taking the time to read my post - and for any replies.
    Kind regards
    Jon

    That is a viable method to package your application, pending the architecture of your application supports this.
    Each WAR file will be packaged as a seperate web application and all web applications on that web server will be able to communicate with each other over sockets by having the URL of the web component that you wish to communicate with. This interface needs to be there mind you.
    EAR files are generally deployed to an application server so if you happen to have an application server like Weblogic or Websphere then this would be an ideal setting for hosting your application. Packaging in an EAR file and also hosting on an application server gives you the benefit of using J2EE constructs, like EJB's to provide an alternative means of communication between different web components.
    Packaging seperate wars into an ear file really wouldn't work out too well with just a standard servlet container like Tomcat.

  • Deployment of multiple webapp's within an ear

    I am trying to deploy an ear file with multiple webapps in OC4J, but without success.
    I have build an ear file containing all the webapps of the UIX 2.0 Demo bundle, which I want to deploy as UIX development documentation. The ear and wars are extracted successfull and there is no single message which indicates a problem of the deployed ear.
    When accessing the webapps I get an HTTP 500 Internal Server Error. I always get this error when the http-web-site.xml is configured wrong, so I assume it is not configured in the rightway. Because of the multiple webapps within the ear.
    Here is some code from those files:
    server.xml
    <application name="uixdemobundle" path="../applications/uix20demobundle.ear" auto-start="true"/>
    http-web-site.xml
    <web-app application="uixdemobundle" name="uixdemobundle" root="/uixdemobundle"/>
    Normally this is enough to configure single webapp. Do I have to add more lines to http-web-site.xml for each webapp ? Something like the following for instance or does the above line work recursively.
    <web-app application="uixdemobundlehome" name="uixdemobundlehome" root="/uixdemobundle/home"/>
    <web-app application="uixdemobundledocs" name="uixdemobundledocs" root="/uixdemobundle/docs"/>
    Can somebody help me out on this issue ?
    Regards Michel

    Hi,
    I managed to fix this problem. For those who mite come across the same issue in the future, this is how i did it.
    I put the applets code in the war file under an applet dir. That the the index.html is in the root (of the war dir) and the applets code is in a /applet dir.
    Hence the codebase simply reads, codebase="applet/"
    Cheers
    EnterpriseJavaBones

  • Running package within forms

    Does anybody know how to run a package within forms (in the background?)
    Example: I need to run a package to update some tables but I don't want the user to have to wait for that package to complete before making modifications to the form. It is less than a 10 second wait but it appears that the form is hung up.
    thank you.

    Before you start the process, your form could display a stacked canvas telling the user to wait, and then after the package returned control to the form, the form could hide the canvas.

  • Running custom packages within BPC 5.1

    Hi,
    Current Enviroment:
    BPC Ver: 5.1
    SQL Server: SQL 2005
    I have used earlier versions of BPC 5.1 which used SQL 2000 as a back end and was able to utlise functionailty within the EVMODIFYSCRIPT object to perform certian SQL based tasks such as creating a new bespoket table.
    In trying to re-perform the same process with BPC 5.1 and SQL 2005 I am unable to run a simialr bespoke package from DataManager.   To highligh the problem I have included below the syntax that I once used for SQL 2000 (- which worked in the earlier version of BPC 5.1) and which will now not not work with BPC 5.1 and I am not sure if it is because SQL 2005 requires a different aproach for the syntax it will accept or whether it is because the EVMODIFYSCRIPT object which has now become a MODIFYSCRIPT variable and as a result has lost some of its functionailty.
    The syntax (as an example) for SQL 2000 that I have used successfuly in the past would have been something like the following:
    PROMPT(TEXT,%CATGVALUE%,"Enter the category for the current year",,"actual,budget")
    TASK(EXCUTESQL,SQLSTATEMENT,%SQLSTRING%)
    BEGINFO (%SQLSTRING%)
    SELECT * INTO COPYTBLFACTWB WHERE CATEGORY IN (%CATGVALUE%)
    ENDINFO
    The above syntax runs fine in Visual Studio 2005 Integrated Services however it fails (with no indication of why) when run from BPC .. any thoughts on what I may be doing wrong ?
    Thanks

    I've never had any success directly updating a Package Variable from within the MODIFYSCRIPT value.   In DTS you could modify a GLOBAL Variable from the EvModifyScript task and the package could utilize that value.  However, in SSIS, the GLOBAL Variable no longer exists and Package Variables have "replaced" them.  But I do not believe the EvModifyScript Task replacement of the variable MODIFYSCRIPT has the ability to directly update a Package Variable.
    However, within the MODIFYSCRIPT value, you can update properties of the tasks and connections included in a package. 
    In your scenario, you could use a Prompt and dynamically build the sql statement with the variable holding the user provided value.  Then passed the sql statement to the property of the Execute SQL Task.
    ie:
    <<in the MODIFYSCRIPT  -- not exact code, just off the top of my head so I might have some syntax wrong>>
    PROMPT(TEXT,%USERINPUT%,"Enter value",)
    BEGININFO(%SQLQUERY%)
        Insert Into tblFac2Finance
        Select * from tblFactFinance
        Where Category=%USERINPUT%
    ENDINFO
    TASK(Execute SQL Task, SQLSTATEMENTSOURCE,%SQLQUERY%)
    But if you wish to provide the user with member selectors for the input, you could use the SELECTINPUT prompt with the appropriate dimensions.   The user selections are then recorded in a txt file within the PrivatePublications Temp directory for the user executing the package.  The location of this file is stored in the BPC MODIFYSCRIPT variable %SELECTIONFILE%.  I have created packages with a flat file connection that can be updated in the MODIFYSCRIPT with the selectionfile location.
    CONNECTION(UserSelectionFile,CONNECTIONSTRING,%SELECTIONFILE%)
    Then within the package, I add a Script task that performs file processing against the UserSelectionFile to parse the values into the appropriate package variables that can then be used throughout the package.
    I would be very interested in discovering a more direct way to update a package variable from within the MODIFYSCRIPT.
    Hope this helps,
    Sara Lee McLindon

  • (266436851) Q: WWSD-7 Can web service be in packages other than .ear files?

    Q:<WWSD-7> Could we deploy the SOAP package not using the ear, instead could we
    put all the related Java code to jar file and the rest of the code to the war
    files? The reason I asked is because we do not deploy our applciation in ear format.
    A:<WWSD-7> EAR files are general packaging structures that can contain war, EJB
    jar, rar and regular jar files. The wsgen task provided expects an output file
    to be an ear file. If you are going to utilize another format you will be resonpsible
    for building the appropriate web application components. It can be done but you
    will have to do more work and not use the provided wsgen task. As far as web services
    in general are concerned, the actual business processing can be done by any component
    just as long as there is a servlet that understands the SOAP requests and responses.
    It is BEA expectation that EJBs are supposed to be you core business components
    so these will be the operations most likely to be exposed as web srevices.

    Hello Erik,
    I was looking into the thread , it seems you have found out the solution .
    Could you look into this thread and provide some insight for the same ? I am currently facing the problem as mentioned in the link below.
    CAF-EJB
    Regards,
    Ronniee

  • Packaging libraries in EAR

    Hello,
    My J2EE app uses an external library, let's call it ExtLibrary. So, MyApp.ear contains MyEJBs.jar and ExtLibrary.jar.
    My EJB produces ClassNotFoundException because it doesn't find a class located in ExtLibrary.jar.
    Where should I place the ExtLibrary.jar in the EAR?
    What should I do to link MyEJBs.jar with ExtLibrary.jar?
    Thanks for your help,
    Gerald

    This packaging issue is covered in the J2EE platform spec (section 8.2 Optional Package Support), located here: http://java.sun.com/j2ee/1.4/download.html#platformspec
    The basic idea is to use the Class-Path attribute in the manifest file of your EJB archive to point at your library jar (all packaged in the same application archive - ear file). J2EE platforms must support this feature. There are some good examples in the platform spec that demonstrate this feature.

  • Moving message bundle (i18n) to another package within NetBeans...

    Hi,
    I'm using the NetBeans GUI builder (matisse) to create an internationalized (i18n) swing application.
    My bundle properties file (which contains all the internationalized labels and so on) is located in a package on the classpath. Now I want to move the bundle to another package - can this be done in an easy (automatic) fashion throughout the IDE because a lot of java classes (forms) use the bundle.
    BTW, find and replace within the editor does not work because all the gui building stuff is marked as protected and cannot be edited and editing each label separately with the internationalization wizard would take me hours...
    Any help would be greatly appreciated
    - Stephan

    Of course... but my java files would need some refactoring because there is a lot of code like that...
    setTitle(java.util.ResourceBundle.getBundle("
        com/foo/bar/bundle/Messages").getString("frame1.title"));.. which refers to a message bundle in the specified package - when I move the message bundle to another package all the references in the java files (like the example above) have to be updated.
    Unfortunately 'Find and Replace' in the editor doesn't work because it is generated gui code and marked as protected.
    So is there a possibility to automatically update all the references in the java files?
    Thanks a lot
    - Stephan

  • Static files within a ear file     - help me if you can I am feeling down

    I am using oc4j.
    I have some static files (templates and configuration files for the applications) in an ear file.
    These files are addressed via web.xml init param and I use relative path.
    This works in my "working directory".
    But when I deploy the ear file the servlet cannot access the file (io exception file test/templates/temp.txt not found).
    Has anybody an idea how I must address the files in the web.xml?
    How can I address the files from /test level?
    Or is somthing wrong with the structur of the directory?
    my "working dirctory"
    appname/
    META-INF/application.xml
    test/
    web-inf/web.xml
    /classes
    /lib
    templates/temp.txt
    init-param
    <param-value>appname/test/templates/temp.txt</param-value>
    init-param
    <param-value>/test/templates/temp.txt</param-value>
    thanks in advance
    peter

    If these files are only accessed from the web module, then put these files in a subdirectory of the "WEB-INF" directory of the war file.

Maybe you are looking for

  • New User Guide (common questions)

    Common Ipod Info For those who just go an ipod here is some basic info on the ipod and how to do a few things. Basic Info Disconnecting/Connecting Just plug in via USB and wait (can take a few minutes). Ipod will load up and the screen will show DO N

  • HT201364 I want to upgrade from OS 10.6.8 to Mavericks on my MacBook Pro.

    How do find I out how much "available space" I have on my MacBook Pro?  The system requirements state that I need at least 2GB of memory and 8GB of available space.  My MacBook Pro has 4GB of memory but "About this Mac" doesn't tell me how much "avai

  • Change logs for Exchange profile

    Hi All, Recently we had a problem with parameter "Bufferinstance" which needs to be False and it was changed to true due to which we had a problem with SLD. Now i have to find out who changed this parameter along with user and date/time details. Can

  • Adobe Flash Player 10.1 (latest) does not load video on some sites

    Since updating the Flash player to 10,1,82,76 many sites with flash video does not load content and usually stays black or showing a loading icon forever. Same result in all browsers (Safari, Chrome, Firefox). One example is revision3.com, where flas

  • Can't Delete to Trash with LR5.6 and iMac 10.9.5

    I have used LR since version 1.  My main catalog is still LR 4.4 but I have downloaded the 5.6 CC trial with a view to updating but have run into a problem.   If I try to delete a photo from within a LR 5.6 catalog by pressing the delete key and clic