I want to migrate an application from webLogic 9.2 server to webLogic 12 c. I'm newer for this process. Can someone help me for making this, please?
I don't know very much weblogic server.
Thks,
Awa
First of install the binaries and create a new weblogic domain or upgrade the older domain.
if you are using third party jars with your application, you need to tell weblogic to use your application jars instead of its own jars.
This is done in weblogic.xml file. In older versions of weblogic. this tag is used
<prefer-web-inf-classes> true </prefer-web-inf-classes>
in weblogic 12c this is not the recommended way. You need to user
<prefer-application-packages> tag and specify the list of application packages that you want to be loaded from your application as opposed to weblogic12c own jars
more on this http://docs.oracle.com/cd/E13222_01/wls/docs103/programming/classloading.html
its not a very straight-forward thing to do, so good luck!
Related
Do fatwire has its own app server?
Or it use any standard app servers like Apache tomcat
(I dont mean jump start kit)
In theory, it can run on any Java EE compliant application server, but I always found it easiest to run on Tomcat since it's easier to setup and administer; and it's FoC.
From memory, the JSK used to use JBoss but was switched to use Tomcat in a later incarnation
WebLogic, WebSphere, Tomcat, JBoss are all supported.
For a list of officially supported software for Oracle Web Center Sites(formerly FatWire Content Server), refer to this certification matrix : http://www.oracle.com/technetwork/middleware/webcenter/sites/owcs-11gr1certmatrix-1609746.xls
Prior to acquisition by Oracle, the JSK was bundled with JBoss and Tomcat server instances and it was possible to select one or the other as the deployment platform.
Now it only ships with Tomcat 6.
Fatwire hasn't its own app server but it can be deployed on Apache Tomcat, JBoss, IBM WAS, WebLogic, Sun Java Enterprise System or Oracle Application Server.
I have downloaded the Liferay 6.1 with jboss 7.1.1 Bundle and Liferay IDE(Eclipsce Juno).All I have to do is to develop Liferay Project and running it on Jboss server.
I can able to run and open liferay portal in localhost:8080/
I am having issues in developing Liferay portal project.As default server adapter for Liferay in IDE is Tomcat 7.0 and I couldn't able to find Jboss server adapter.I tried by running and deploy it on Tomcat and running the Jboss server by running standalone.bat file.
Please advise and help in develop and running Liferay project on Jboss
There's guide in Liferay Wiki about developing with non-Tomcat Liferay bundles. There you can read about the disadvantages of that kind of development and how to do it if you still want.
But I agree, developing with Tomcat is definetely the better idea.
Liferay IDE is meant for development with Tomcat only since tomcat's start-up time, its simple structure and comparatively easy configuration makes it ideal for a development environment.
If you are development plugin projects like themes, portlets, hook, layouts etc then if it works on tomcat it would work on any other server running with Liferay, so during development you can use tomcat and then when you have completed your development iteration (i.e. when your project is ready to be deployed for testing or for stage environments) you can deploy the WAR to Jboss for testing and can do some testing to see if it works fine.
Since the plugins are made in such a way as to be independent of the underlying Server, there should not be any issues developing them on Tomcat and then running them on Jboss.
Hope this helps.
I achieved it through a work around, steps mentioned # https://www.liferay.com/community/forums/-/message_boards/message/17864836
Benefits of Liferay IDE plugin+ JBoss as runtime configured in IDE.
Only issue is you'll need to use any other eclipse based IDE which supports JBoss AS 7.1.1 as normal server/runtime (like JBoss Developer Studio).
The User Library download from Properties/Project Facets/Java Server Faces only lists Apache and Mojarra 2.0.X options. And setting up a user library manually, if I add javax.faces-2.1.11.jar, it doesn't error, puts the jar in the entry, then says \jarfiles\jaf (missing). So I see no way to use Mojarra 2.1.X.
I am unable to understand completely that what are you saying? But as much as I can I understood that "you want you use Mojarra 2.1.X" in your project. Now here is the thing You should mention the server that you are using.
If you are using glassfish 3.1.x then you have to replace your javax.faces.jar present in /glassfish/modules folder with javax.faces-2.1.11.jar as the glassfish built in jar javax.faces.jar enforce glassfish to use Mojarra 2.1.6.Now if it is Tomcat then it is up to you that you have to add all jsf compulsory jars in your lib folder :) One last thing that if you are using anyother server which has built in support for JSF and you are unable to find How to replace your jar from that server or you have issue with admin access over that server then you can also upgrade JSF by placing the newer javax.faces.jar file in webapp's own /WEB-INF/lib folder and editing the /WEB-INF/glassfish-web.xml file to add the following two new entries: <class-loader delegate="false" /><property name="useBundledJsf" value="true" />.Keep in mind that you are only enforce Web servers to use your desired jars not the application servers because many applications servers are giving built in support for JSF. So Configuring Mojarra 2.1.X on Eclipse Indigo is somehow wrong to ask.You have to ask that how should I use Mojarra 2.1.x with my XXX server because eclipse is only IDE and these things are SOMEHOW managed by IDE but only in case of Webservers.Thanks :)
I am trying to clarify the relationship between JBoss Application Server
and Seam:
Is the Seam distribution, or any part of it, included in standard JBoss AS download zip files?
If only a part of the Seam distribution is included, which part?
If not, is the Seam distribution intended to be downloaded
separately from http://www.jboss.org/projects and added into the AS?
Thanks
Seam is not distributed alonside JBoss AS. It is a framework intended to support development of web applications (much like Spring or Struts) and is not tied to JBoss AS in any way (you could use Seam equally well in Glassfish or any other application server, and JBoss AS does not require Seam at all).
Usually, the Seam libraries are part of your own project, among the EAR or WAR libraries. It is to be downloaded separately from www.seamframework.org or JBoss projects sites and is usually distributed in "runtime" form (you get the seam libraries alongside all dependencies and utility programs, such as seam-gen for project generation).
I would like to use a custom version of the HSQL DB in an application that I am deploying in JBoss. However, JBoss already contains an HSQLDB.jar. The JBoss jar is being resolved by my application instead of the custom jar in my ear.
How can I use a different version of HSQL in my web application from the one that JBoss uses internally?
Can I remove the HSQLDB.jar included with JBoss without negatively impacting the Application Server?
The custom version it's just a newer version? If it's that the case than you can simply replace the jar in the Jboss lib folder. Jboss uses HSQLDB as far as I know for queue persistence.