Re: Virtual Hosting
Virtual hosting is a great content at all! Just a quick note to tell you that I have a passion for the topic at hand. Was seeking forward to know about this type of information. Thanks the head up and...
View ArticleMBeans definition and registering using annotations only
Hello Everybody,Is it possible to define and register a MBean using annotations only?I think that the @MBean, @ManagedOperation, etc. used to be in the JDK 7 but for some reason - they're not...
View ArticleJava Web Start glassfish 3.1.2.2
Hi, all I have an application. I can start it by means of .cmd file @echo off Rem --------------------------------------------------------------------------- Rem ProDD start shell Rem...
View ArticleRe: Service calls from/to OSGI WAB Hybrid applications have wron
Then the layer that makes the spring bean available as osgi service has to be responsible for making sure the service is called in correct context. You can use blueprint or something else for spring...
View ArticleHTTP listeners stop responding
Hi,we are using Glassfish Enterprise Server v2.1 for our SOAP web services. Every once in a while some or all of the HTTP listeners stop responding (the admin listener on port 4848 never seems to cause...
View Articlenightly rolling restart of instances
Hi,I would like to schedule nightly restart tasks for our instances. We have 5 appserver with several instances in each one. I looked around to see if Glassfish has something like this but could not...
View ArticleClient ProgramaticLogin and Subject
Hi, I have a remote secure ejb deployed on GF 3.1.2, protected declarativly on a custom realm. A ProgramaticLogin is made from a stand alone java client , the look up and invoking is working fine.Is...
View ArticleError while starting the Domain : :1:1: Premature end of file.
hi, im using Glassfish v2.1 on Sles 11 SP2 x64 jvm jdk1.7.0_07from past few weeks im continuously getting error when im starting the glassfish domain. I have around 5 different domain running on same...
View ArticleProblem undeploying
Hello, fellow programmers. I'm new to this forum and my English isn't brilliant, but I expect that won't be any problem with it :) I had a hard time deploying, but I cannot do the reverse...I will...
View ArticleGet application context root through JNDI
Hi,Is there a way to get the context-root of the currently running application at runtime? The name of the application is no problem:String appName =...
View ArticleGlassfish offline updates
Hello,I need install updates to Glassfish server (Open Source Eition v 3.1.2), which doesn't have internet connection. I found this tutorial...
View ArticleDeadlock in Transaction Recovery in Glassfish 3.1.2.2
Hi, we just discovered a deadlock between several Glassfish threads when starting the server. We have a simple @Singleton @Startup EJB with a @PostConstruct method. The code inside this @PostConstruct...
View ArticleJava EE Application Manager
Hello,I would like to design an application manager which should controll (initialize/start and then send various commands to) multiple instance of another application. These multiple instances of the...
View ArticleDeploying applications from DAS results in too many open files
Hi,We are currently facing an issue on our administration glassfish server.Configuration:Glassfish version: 3.1.2.2 (autodeploy-enabled and dynamic-reload-enabled set on false for each cluster...
View Article3.1.2.2: Rest Service using Basic Auth - no authentication on subsequent paths
I have run into a problem, which has been bothering me for quite some time now. We are using the Jersey Servlet to create a RESTful webservice. We have configured basic auth in the web.xml and are...
View Articlemultiple configuration
Hi,I am using Glassfish2.1 for my application. I am trying to include multiple login-config with basic authentication method in web.xml. Looks like, it doesn't support it.Is there a way to achieve...
View ArticleHow to obtain ExtHttpService from OSGI registry
HiI'm developing a WAB application where I want to register Servlet Filters in BundleActivator.start() method. I'm getting null references when I try to locate ExtHttpService:ServiceReference sRef =...
View ArticleWindows8 Store App to play Video files
Hi,Need to obtain required details for playing videos hosted using glassfish that already run for Android.The change in scenario requires them to play on Windows8 Store AppWhat happens currently is as...
View ArticleJBoss 4.2.2 -> Glassfish 3.1.2: remote ejb client ip
Hi, i'm migrating a application from JBoss 4.2.2 to Glassfish 3.1.2. With JBoss i use the following code to obtain the remote ejb client's ip:String threadName = Thread.currentThread().getName(); ......
View ArticleOSGI CDI Integration
Hi, I'm interested to know what is the degree of advancement on CDI-OSGi Integration. I was researching the next project:https://github.com/tangyong/gf-cdi-osgi-integration The question is: It's...
View Article