This must be a dumb question, but I don't see any obvious references. How can I get glassfish to start at boot on a windows box?
Install GlassFish as a service that starts automatically:
Check out How do I run GlassFish as a Windows service? in the GlassFish Wiki for GlassFish v2.
Use the Platform Services Support for GlassFish v3 (more on this in this thread just in case).
PS: It's often preferable to mention the version you are using...
Related
I have an OSGI application deployed in Karaf v2.3.4, it worked well, but I want to migrate it to WebSphere application server, I want to know the difference between these two servers, and the guidlines for doing that
thanks for your help
I've lead the development of OSGi applications on WebSphere, but am less familiar with Karaf. From what I can tell, we share the same Blueprint implementation. I believe that Karaf supports the OSGi application (.eba) packaging model - WebSphere Application Server insists upon it.
You can download free, developer-licensed WebSphere Application Server runtimes and Eclipse-based tooling from wasdev.net. The simplest approach would be to import your application source into the tooling, and deploy it onto a runtime from there.
The Karaf home page describes it as 'a small OSGi based runtime which provides a lightweight container onto which various components and applications can be deployed.' WebSphere Application Server is a Java EE-compliant application server. Until the advent of the Liberty Profile, it could not have been described as 'small'. Both runtimes are OSGi based.
We don't have a specific guide for migrating OSGi applications from Karaf to WebSphere, which is why I recommend that you try it and see what happens. Good luck - do let us know how you get on, either here or on the wasdev.net forums.
Regards,
Mark
Is there any tool or set of guidelines to migrate application using Spring, from Tomcat 6.0.35 to JBoss AS 7.1.1 ? Or is it better to just host app in JBoss and work backwards to fix issues one by one as suggested by some?
There is a migration center, but it says Tomcat is coming soon.
The biggest issues you would likely face are dependencies that you've included in your application that JBoss AS or WildFly already include. This is a little old, but might be helpful too.
Other than that it's tough to say what would need to be changed without knowing your environment and current configuration. The main idea behind Java EE is ideally it should work on any application server. That said, Spring isn't a Java EE standard and Tomcat is just a servlet container :) Not that there is anything wrong with either.
I have developed Restful Web service using Java EE 7, Netbeans 7.3.1 and MySQL database on GlassFish 4.0 webserver.
Now I am looking to host/deploy it on online server. I have searched for hosting provider for Java EE 7 with MySQL database on GlassFish 4.0 but could not able to find any. The one which I find here is openshift which support Java EE 6 only at the moment.
What are my options? Is there any Hosting provider available to meet above requirements?
I am not sure, if i can use Google app engine or Amazon to host my above web services?
OpenShift are good but expensive because they provide many services which you don't necessarily need (if you do - it's worth it!). You can use Rackspace - they support Java 7. Further, I know you can use Amazon too - but I haven't done it myself - do some Googling to find out how.
Cloudbees.com support java ee7. 5 free apps. Also they have an option to deploy on glass fish 4 through their click start option
I am completely new in application server configuration and deployment. I am using Ubuntu 12.04 LTS and have JRuby on rails application (war file) that I want do deploy and to be visible from external networks.
I firstly started to read about Tomcat as it is mention in official Jruby git hub documentation but looking around and searching the torque box was offered as solution too.
Unfortunately, I've not been able to find a article where Tomcat and Torque box are compared. The only thing I know about Torque box is that it is based on Tomcat server and it is not good for development due to delays.
What will be the better choice to use for not commercial application and beginner?
Really you should be comparing Tomcat and JBoss, JBoss is what Torquebox wraps.
Tomcat is just a web application server, JBoss is much more.
This might help: JBoss vs Tomcat again
Torquebox (aka JBoss) for example includes a message queue and distributed caching.
I would really like to use SpringSource dm Server, but our customer requires us to run our apps on their application server (Websphere). Is there a way to integrate SpringSource dm Server with other application servers? At least dm Server is build on OSGi, and many other application servers (including Websphere) are based on OSGi as well. Is it possible to run a SpringSource dm Server as a websphere component?
SpringSource dm Server is based on the Eclipse Equinox OSGi framework (and should not be confused with the Spring DM technology, included in dm Server, which can run on Equinox, Apache Felix, and Knopflerfish).
However, embedding dm Server in another application server, such as WebSphere Application Server, based on Equinox would be a non-trivial piece of work. It would be necessary to get both products to use the same version of Equinox, which they currently do not, then modify dm Server to support embedding in the server (e.g. to integrate with the host server's application invocation mechanism, thread pools, and class loading scheme).
If you think this support is important, please raise a requirement (which requires a simple registration) against dm Server.
Spring DM is deployed on a Knoplerfish OSGi implementation.
Websphere is deployed on an Equinox OSGi implmentation.
So the question becomes - are the two interchangeable? They both support R4, so I would say, yes, they are.
The next question would be to check dependencies, particularly with respect to things like HttpServices.
I would say this would be ok, but I think the final proof would be try deploying it. Easiest would be to drop the bundles into a Websphere deployment. You'll need your bundles and whatever spring bundles you're using.
I'm also interested in this topic. Another way of looking at this problem is that you want an application depoyable in both Spring dm server and a traditional app server (Websphere, weblogic, JBoss, ...).
The OSGi containers are embeddable inside non-OSGi applications, so it is theoretically possible to deploy an app to both Spring dm server and the same app + OSGi container to a traditional app server.
Now, as usual, the devil's in the details, including such topics of web development and bridging servlets between the outer app server and the OSGi container.
I do not think that this is really the case ...
see the following link for this: http://apsblog.burtongroup.com/2008/11/websphere-7-osgi.html
But it seems on the other side, that the trend is clear ... there will be a time when OSGI based application can be deployed on Java EE application servers