Rather than filling up the comments I thought I would write this as an answer and update it as we go. Have a look at this question. I posted this a while ago when I had a similar issue. Maybe it will help. Also, here is another link about the weblogic maven plugin. It may be worth trying to use this. In my experience with JBoss I found it more reliable than trying to deploy using the admin console.
If nothing else it should give more helpful error messages if there is a problem. I get the feeling that the contextRoot attribute may be what you need to set. The EAR will then be deployed in such a way that it knows anything with that context root is to be forwarded to the WAR. Hope that helps, if not please post your pom. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 6 years, 1 month ago. Active 6 years, 1 month ago. Can we deploy jar file in WebSphere? How do you make an ear project in Eclipse? Click Finish. Where is the war file deployed in WebLogic? Can we deploy jar in WebLogic? To deploy the JAR file on WebLogic Server, you must extract the contents of the JAR file into a directory, add the required WebLogic-specific deployment descriptors and any generated container classes, and then create a new JAR file containing the old and new files.
What is war file in Java? What is WebLogic application server? WebLogic Server is an application server: a platform for developing and deploying multitier distributed enterprise applications. WebLogic Server centralizes application services such as Web server functionality, business components, and access to backend enterprise systems. What is Oracle WebLogic Server 11g? How do I exit Wlst? What is WebLogic deployment? The term application deployment refers to the process of making an application or module available for processing client requests in a WebLogic Server domain.
For an administrator, application deployment generally involves the following tasks: Preparing applications and modules for deployment. How do you deploy a project on a server? Click Java, then select Web Application and click Next. In the Project tool window, right-click src, point to New and click Servlet. Specify the name MyServlet and click OK. Can we deploy jar file in WebSphere? How do you make an ear project in Eclipse? Click Finish.
Where is the war file deployed in WebLogic? Can we deploy jar in WebLogic? Similar to any J2EE application, a portal application has a number of deployment descriptors that you may want to tune for your production environment.
If these values are different for your production environment than for your existing development settings, modify this file appropriately before building the portal application.
Note: If you are running your portal application on a managed server, you can improve the performance of the WebLogic Administration Portal by adding the following parameter to the web. This parameter takes advantage of an optimized call to an mbean that returns EAR content information. Without this parameter, the mbean call recursively searches for. To avoid the overhead of this recursive call, you can place all of your.
In the example above, all. If you use this parameter, you must place all of the. Without this setting, you will not have failover of a user's state information if a server in the cluster is stopped.
You may need to add the following block to weblogic. By default if PersistentStoreType is not set, it defaults to disabling persistent session storage.
The other commonly modified element in weblogic. For production, it is common to make these modifications:. WebLogic Workshop has a number of additional deployment descriptors that are important if you are developing web services.
You can find information on these descriptors in WebLogic Workshop Internals. Before packaging your application into an EAR file, use the WebLogic Administration Portal to create any content management repositories you want to use in your application.
This means creating only the root repositories, not the content nodes and content items. After you create repositories, they are registered in the application-config. When you create the application EAR, application-config.
For information on creating repositories, see Add a New Repository Connection. To deploy a portal application to a production environment, you must first build the application in WebLogic Workshop to compile necessary classes in the portal application. There are two options:. After you create an exploded EAR, rename the application directory so that it has a.
For example, if the application directory is called myPortalApp , rename the directory to myPortalApp. Adding the. You can build your portal application from the command line using the wlwBuild command. This can make it easier for you to automate the process of building your application. See wlwBuild Command for more information.
This section provides instructions for the initial deployment of your portal application. At this point you can deploy your portal application to the cluster. First, place the. To make it easier to redeploy changes to the application, place the file in a known location from which you will always deploy the application, such as the root directory of the administration domain.
0コメント