Tag Info

Hot answers tagged

6

In Eclipse, go to Help -> Install new software. The Eclipse update site URL to use with the update manager is: http://download.eclipse.org/webtools/updates/ Enter the above link and test the connection. It will update Eclipse.


3

This is really pretty basic. You know what your current server can handle before it falls over (and you presumably have profiled the system to determine what the limiting factor is - RAM, CPU, etc...). Take either 2/3 or 3/4 of the limiting factor's value when your server falls over and declare it "the unit load", or U. Estimate what you think your future ...


3

Well, let's look at some bigger picture issues before getting into JRun configuration details. If you're getting java.lang.OutOfMemoryError exceptions in the JRun error log, well, you're out of memory. No upvote for that, please ;-). You didn't say whether you were running 32- or 64-bit Windows, but you did say that you have 8 GB of RAM, so that will have ...


2

You'll probably find the 'getting started guides' here helpful. You probably will need to download the plug-in. The easiest way to do this would be to: go to Help -> Install new software. Pick the Galileo repository All the way at the bottom there are install options for 'Web, XML, and JaveEE Development ... also this is better suited for SO


2

I'm not all that familiar with Solaris, but I'd venture to guess that these are 32 bit machines? I believe that would be the only thing limiting the JVM to a 2GB heap size. If you upgraded these to a 64-bit OS, then you wouldn't have this limitation. Alternatively, (and I'm not sure this is even possible with Weblogic) you could run multiple instances of it ...


2

There are a lot of metrics you could monitor. Some general metrics are: Heap Usage + Perm Gen Usage CPU Usage per Process Number of Full GCs for a given time Ratio between JVM uptime and GC times These metrics give you a good hint about how the application works and how memory efficient it is. These metrics only make sense for your customers when each ...


2

Fixed by applying WAS 7 fixpack 15. Apparently this was a bug in Websphere.


2

This can be very confusing. J2SE is usually referred to as the "JDK". You can also install the J2EE libraries on top of the JDK so that you can develop J2EE apps. Also, you can install a J2EE server (like JBoss) to run J2EE apps. Either way, you probably have enough Java libraries installed on your machine to do practically anything you would want with ...


1

You should either set the -Xdebug -Xrunjdwp... switches in the JAVA_OPTS environment variable, or pass the jpda arguments to catalina.sh, but not both. If you do both, it will try to load the agent twice and give you an error. Edit: Personally I prefer to use the JAVA_OPTS switches because they give more control (e.g. to set the port number). Once you have ...


1

Copy them to your tomcat 6 webapps directory. Restart tomcat to deploy them unless you've got auto deployment set up. (I don't remember which is the default(


1

Personally I use a maven plugin and a tool similar to jenkins to do my deploys to production but you can always do it by hand like this: Open the admin console (by default it's bound to port 4848) Choose "Applications" on the menu Next to the application you want to redeploy there should be a link labeled "Redeploy", click it. Choose new war (and options ...


1

With the lack of details, any suggestion we might have for how you could accomplish this yourself would just be a shot in the dark. What you should do is ask the developer/vendor of the e-commerce application.


1

You are mixing up appBase with docBase. If you put all the Railo instances in d:\dev\tomcat6\webapps\, you can configure virtual host in Tomcat as belows: <Host name="railoapplication1" appBase="webapps" unpackWARS="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="" docBase="railoapplication1" /> ...


1

https://issues.apache.org/bugzilla/show_bug.cgi?id=50957 Was probably the problem with 7.0.2 version only. Fixed after upgrading to current version.


1

I'll admit I'm biased towards Weblogic (working with it since 2001) BUT I'm not the one footing the bill, so I'll keep the substantial license costs out of the equation. Weblogic licenses are per-processor (when I last checked). In the earlier days of heavy EJBs (circa 2004) Weblogic was the most stable app server and easiest to configure and monitor for ...


1

How about this. Create a script that does the following: Start a second instance of jetty on port 8081. Reload alternate apache configuration to send you traffic to 8081. I think this step should be fast. I use nginx which is instantaneous. Kill 8080 jetty Copy updated war into 8080 jetty webapps folder Restart jetty on port 8080 Point apache back to 8080 ...


1

The default port for admin console is normally 4848. Check the domain.xml file under the config dir in your Glassfish Domain. ${glassfish_domain_dir}/config/domain.xml And for overriding password, refer to http://docs.oracle.com/cd/E19776-01/820-6823/abgdh/index.html.


1

netstat -l will give you all the listening ports, so you can start from there.


1

In the long term EC2 is rarely more cost effective than dedicated servers of your own. It's main advantage is in rapid scalability. If you have a relatively slow changing userbase then it is probably not worth it. But the great thing is that it is easy to set something up and try it out for just a handful of $, without having to lay out a lot on hardware ...


1

Go to Help > Install New Software... expand "Work with" input and select "Indigo - http://download.eclipse.org/releases/indigo" or write the same text but changing "indigo" for your version of Eclipse. Then select "Web, XML, Java EE and OSGi Enterprise Development" (or something like that) and press "Next". That's it.


1

From what I remember, you have to disable the journaling feature to run with database persistence, which cripples performance. I think you're going to have to stick with a master/slave system, but it doesn't need to have a shared filesystem is that causes a problem for you - the pure master/slave system supported by ActiveMQ is a shared-nothing approach, ...



Only top voted, non community-wiki answers of a minimum length are eligible