How to deploy OHW Demo ear file in Jboss application Server.
Hi All,
I am quite new to the Oracle Help. I need to integrate Oracle Help in my j2ee application . I am using Jboss/tomcat aplication server for my development environment .
Can any body guide me How I can go ahead ??
and also pls tell me what is the difference between Java Help and Oracle Help
I do not have any experience with Help or JBoss, but see if the links here can help - http://www.oracle.com/technetwork/topics/index-083946.html
HTH
Srini
Similar Messages
-
How to run ear file in java application server
i want how to run .ear file in java application server
1. i m created ear file
2. i m created jar file (bean,home,remote)
3.i m created war file(in the form of jsp)
but till now i couldnt run ear file
how to run
please hel meYou must create :
1.Jar file
2.War file
And then put them into an ear file
Exemple : myapp.ear contains
myappEJB.jar
myappWEB.war
META-INF/application.xml
and application.xml looks like this :
<application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
<display-name>myapp</display-name>
<description>Demo application</description>
<module>
<ejb>myappEJB.jar</ejb>
</module>
<module>
<web>
<web-uri>myappWAR.war</web-uri>
<context-root>/myapp</context-root>
</web>
</module>
</application>Good luck -
Urgent :- Unable to deploy EAR file in Oracle application server
Hello folks,
I am trying to deploy an application containing jsps and servlets
packaged into EAR using ant. However when am trying to do so by using
the Deploy EAR option in the Enterprise manager, it throws the
following error -
"Invalid J2EE application file specified - Jar file:
/var/tmp/jar47241.tmp is missing its standard xml descriptor located at
META-INF/ejb-jar.xml"
I suspect that something could be wrong with regards to the way the ear
file has been created.
Please if someone could pin point the problem and help me understand
the the above error message , it will be of great help to me and I d
really appreciate this.
Many Thanks,
Ramn.Hello,
I try to deploy an ear file (contains jar and war files) in Oracle Application server in linux, but the time is so long. The same file I deploy in a OAS in windows and the deploy time was 2 minutes, but in linux I leave the hole night and the session close and the deploy in unable.
I don't know if I need configure an especial option in the OAS in Linux, how I can load my ear file.
The OAS in windows was installed with oc4j options only, but the OAS in linux was full installation
Please help me....
Thanks. -
How to deploy on different OC4J than "home" on Application Server
Hi
I've a JSP/Struts Application which runs well in JDeveloper and runs well if deployed to the "home" instance of Oracle Application Server 10g Release 3. However, we want to deploy this Application to a separated OC4J (keeping different Applications separated). So I'm trying to create a second OC4J instance in Application Server in order to deploy my application. This seems to be quite complicated !
Can anyone point me to some information on how to create a new OC4J Instance in Oracle AS 10g with all necessary BC4J- and ADF-Libraries in order to deploy an application?
Thankspls use the em website to create the new oc4j stance,you can access em by http://yourashost:1810
then ,you may deploy the project to a ear file and deploy it on new oc4j stance in em website.
maybe i do not make me understood,::) -
How to pull all the txt files from an application server to oracle server
hi
i got some 30 txt files on java application server. i have two questions
1) can java guys will be able to move those files to some oracle directory that will be used by create external table command.
2) can oracle do that using a stored procedure ..but then for it i think i have to create ftppkg and ftpbdy and call and connect each time...
which one is better and why?
regards
rajHi,
You can create procedure to move file from application server to oracle server.
Code for list all files in directory
ops$tkyte@8i> GRANT JAVAUSERPRIV to ops$tkyte
2 /
Grant succeeded.
That grant must be given to the owner of the procedure.. Allows them to read
directories.
ops$tkyte@8i> create global temporary table DIR_LIST
2 ( filename varchar2(255) )
3 on commit delete rows
4 /
Table created.
ops$tkyte@8i> create or replace
2 and compile java source named "DirList"
3 as
4 import java.io.*;
5 import java.sql.*;
6
7 public class DirList
8 {
9 public static void getList(String directory)
10 throws SQLException
11 {
12 File path = new File( directory );
13 String[] list = path.list();
14 String element;
15
16 for(int i = 0; i < list.length; i++)
17 {
18 element = list;
19 #sql { INSERT INTO DIR_LIST (FILENAME)
20 VALUES (:element) };
21 }
22 }
23
24 }
25 /
Java created.
ops$tkyte@8i>
ops$tkyte@8i> create or replace
2 procedure get_dir_list( p_directory in varchar2 )
3 as language java
4 name 'DirList.getList( java.lang.String )';
5 /
Procedure created.
ops$tkyte@8i>
ops$tkyte@8i> exec get_dir_list( '/tmp' );
PL/SQL procedure successfully completed.
ops$tkyte@8i> select * from dir_list where rownum < 5;
FILENAME
data.dat
.rpc_door
.pcmcia
ps_data
http://asktom.oracle.com/pls/asktom/f?p=100:11:3597961203953876::::P11_QUESTION_ID:439619916584 -
Geting error when deploy ear file on Oracle Application Server
Hi,
i m trying to deploy EAR on Oracle Application Server but i m getting ther Error
Operation failed with error: Missing class: oracle.adf.controller.v2.lifecycle.PagePhaseListener Dependent class:
any body know that what is this error
plz help me
HarishWhat version of JDeveloper are you using? And what version is your app server?
-
How can I upload a pdf file into the application server?
Hi,
I have the otf data, which i have converted into pdf using the funcation module "Convert_otf". Is it possible to upload the pdf file in application server?Dear Srishti,
Use OPEN DATASET in BINARY MODE.
following link will help you.
http://scn.sap.com/thread/1480434
thanks,
vidyasagar -
How to split path and filename (file is on application server)
Searching this forum I found a couple of FM's that apparently only worked for PC files. Is there a parser function for files w/ the Unix naming convention?
You could parse it yourself...
DATA: filepath TYPE char255 VALUE '/usr/<sys_id>/sap/tmp/filename.txt'.
DATA: path TYPE char255.
DATA: file TYPE char255.
DEFINE macro_reverse_string.
call function 'STRING_REVERSE'
exporting
string = &1
lang = sy-langu
importing
rstring = &1.
END-OF-DEFINITION.
macro_reverse_string filepath.
SPLIT filepath AT '/' INTO file path.
macro_reverse_string filepath.
macro_reverse_string file.
shift path right by 1 places. path(1) = '/'.
macro_reverse_string path.
WRITE:/ filepath.
WRITE:/ path.
WRITE:/ file.
Regards,
Rich Heilman -
How to deploy OHW onto Oralce Application Server?
I down load the demo-bundle.
It is set in c:\ohw\. I startup the OC4J from c:\ohw\bin. And the help system can be launched from URL http://localhost:8888/.
Also I modify the Oracle Application (in Jdeveloper 10g1.3.2.0) to make it work with the helpset in demo-bundle.
I follow the instructions in "Deploying OHW Using the Unconfigured Bundle" to create a ear file which contrains a WAR file (it has helpsets directory, (and files), ohwconfig.xml file, the cabo directory, and the WEB-INF directory.
Then I caret a zip file which has application.xml file and META-INF file and the WAR file. Then rename it a ear file.
After all, I intend to deploy the ear file to Oracle Application Server.
It fails with message:
Failed in uploading archive. Invalid archive file: Unsupported archive type. unknown
1. Where is the right location in Oralce Application Server for servlet container ?
2. What is the right way to deploy a helpset onto Oralce Application Server?
ThanksSame as you would deploy any .NET application. There are two ways to do this:
1 - Simple copy files to win2003 server and create virtual directory (if you copy to default location just create IIS application using inetmgr)
2 - create deployment project that will generate setup for you. execute setup on win2003 server and follow the steps.
Regards,
Vojin
[email protected] -
Ohw-demo-ear-2.0.0-beta3.ear
Hi, when I try to deploy ohw-demo-ear-2.0.0-beta3.ear on my application server (9.0.2) I have this error:
Deployment failed: Nested exception Root Cause: Error loading web-app 'ohw-demo' at D:\Oracle\Midtier\j2ee\OC4J_HELP_OHW\applications\ohwdemo\ohw-demo: Unknown deployment tag in D:\Oracle\Midtier\j2ee\OC4J_HELP_OHW\application-deployments\ohwdemo\ohw-demo/orion-web.xml: <web-app-class-loader>; nested exception is: java.lang.InstantiationException: Error loading web-app 'ohw-demo' at D:\Oracle\Midtier\j2ee\OC4J_HELP_OHW\applications\ohwdemo\ohw-demo: Unknown deployment tag in D:\Oracle\Midtier\j2ee\OC4J_HELP_OHW\application-deployments\ohwdemo\ohw-demo/orion-web.xml: <web-app-class-loader>. Error loading web-app 'ohw-demo' at D:\Oracle\Midtier\j2ee\OC4J_HELP_OHW\applications\ohwdemo\ohw-demo: Unknown deployment tag in D:\Oracle\Midtier\j2ee\OC4J_HELP_OHW\application-deployments\ohwdemo\ohw-demo/orion-web.xml: <web-app-class-loader>; nested exception is: java.lang.InstantiationException: Error loading web-app 'ohw-demo' at D:\Oracle\Midtier\j2ee\OC4J_HELP_OHW\applications\ohwdemo\ohw-demo: Unknown deployment tag in D:\Oracle\Midtier\j2ee\OC4J_HELP_OHW\application-deployments\ohwdemo\ohw-demo/orion-web.xml: <web-app-class-loader>
[Edited by: rpollock on May 10, 2004 9:43 AM]Can you please try again with the OHW 2.0 production
demo bundle? Please let us know if the problem
reoccurs.OHW 2.0 production also cannot be deployed to AS 9.0.2 because of the same error. But it works well with 10g. -
How to create a .ear file from my application ?
Hi,
I am using JDeveloper 10g.I made an application called Myapp .Kindly guide me how I will make a .ear file of the application for deployment purpose.User,
Right-click your project, choose "New" then deployment profile. You should see "EAR" as a choice. Then, just follow the wizards. When you want to create the EAR, just right-click your newly-created deployment profile and select the EAR option.
John -
Deploying war OR ear file in 10.1.3 standalone OC4J
I've read the several threads on how to deploy a war file and/or ear file for OC4J but haven't seen anyone having the same issue I'm having.
I've tried deploying manually, from the command line using admin.jar, as well as the enterprise manager. It appears that when OC4J is looking for a jar file containing EJB's. But my app has none and there is no jar file that it finds.
Here is what the console reports when I try to deploy using admin.jar ->
http://www.gordongridley.us/2007/02/oc4j-console-when-trying-to-deploy.html
OK - so I try to deploy using the Enterprise Manager instead to see if the UI has some options that I can change for not forcing an EJB jar file lookup. Here is a video of what I did ->
http://www.gordongridley.us/2007/02/attempting-to-deploy-war-using-oc4j.html
Do I really need to have a jar file with EJB's to deploy a WAR/EAR file?Hi Gordon,
The source of your ills is this entry in the application.xml descriptor:
<module>
<ejb>TomaxCMAdmin.jar</ejb>
</module>
Remove that, and you should be good to go (assuming you aren't referencing any other non-existent JARs).
Thanks
Dan Hynes -
How to build ear files for ADF application using Ant task
How to build ear files for ADF applications using Ant. The ojdeploy ant task can not find application-level deployment profiles. I am trying to automated build and release for ADF application.
Any help is highly appreciated.
Thanks
ShivaHi Timo
Thanks for your reply.
I have successfully created ear file using ojdeploy on jenkins. however when am trying to auto deploy using WLDeploy ant task am getting the following
error :
weblogic.application.ModuleException: :oracle.mds.config.MDSConfigurationException:MDS-01335: namespace "/oracle/webcenter/quicklinks/scopedMD" mapped to metadata-store-usage "WebCenterFileMetadataStore" but its definition was not found in MDS configuration
Please advise how to handle this.
As am a newbie to ADF, could you please advise if it is possible for the ADF application deployments can be automated for different environments using jenkins due to this MDS dependencies.
Appreciate your help.
Thanks
Shiva -
Deploy war or ear file to Websphere Server
Anyone knows how to deploy .war file to Websphere Application Server after building the completed JSF web application from Creator tool? Or how to deploy the application developed in Creator to other servers such IBM Websphere, JBoss ...etc.
By theory, to put on server, any web ear files can be dropped into web contents directory of each server. In my case, I put war file on IBM Websphere 5.1, but it did not work.
Thanks in advance.
VTT_Did you use the export war facility on your project in the project navigator? this should work fine.
Note you will need to create your datasources etc using hte admin tools for the server of your choice.
There may also be some library requirements for JSF that your server doesn't have - I know this is true for tomcat, for example... see
http://swforum.sun.com/jive/thread.jspa?threadID=46057&tstart=0
hth,
Val -
Problem while deploying the ear file in sap itc server
error loading archive
manifest attributes are missing while deploying ear file in sap itc server
attribute key location is missing
attribute key vendor is missingerror loading archive
manifest attributes are missing while deploying ear file in sap itc server
attribute key location is missing
attribute key vendor is missing
Maybe you are looking for
-
How do you get your foot in the door?
Hello! So I feel that I've done everything right so far. I've been using Java for over a year now. I got the SCJA cert and have an active secret clearance. I live in Jacksonville FL and the market is a little bit tough right now but seems like senior
-
Unable to add allowed VLANs to TenGig trunk port
Hi, I've got a ten gig interface on a 6509 running 12.2(33) configured as a trunk, but I've not been able to add any allowed VLANs as I've done before on other ten gig ports on different 6509 chassis. Am I missing something obvious? I'm assuming that
-
Where do I find photoshop on my Mac that I just downloaded? it's not on my desk top.
please help
-
Compiling javah in eclipse(jni)
hi all, i m writing a java code to access c++ dll files. I have written the java class and save it with hello.java. i dont know how to compile it with the javah and -jni. I am using eclipse. i have also downloaded cdt tool. also if there is an easy w
-
When I click right botton I see a little copy of browser page. This problem only on new version of mozilla. On 15th version of mozilla this problem isn't shown.