Using: Glassfish v3. Httparty 0.6.1 & 0.5.2.
I'm starting glassfish using "mvn glassfish:run" (maven-glassfish-plugin) Everything works in the application.
This url works in RESTClient, cURL, and in the browser, but when I try with httpparty at the command line, I get this:
$> httparty -v "http://localhost:8080/parakeet/tickets/111"...
I am using UrlRewriteFilter to redirect to SSL. I am running Glassfishv2.
My rule looks something like this now. It's in my urlrewrite.xml in WEB-INF of my war folder. Is there any other glassfish setting that needs to be set?
<rule>
<condition name="host" operator="notequal">https://abc.def.com</condition>
<conditio...
If you want to host multiple, fairly independent applications on a Glassfish server, do you need separate domains? In particular:
Can applications in the same domain interfere with each other in some way?
Can different apps in the same domain listen on different IP addresses/ports?
If so, when/why would you actually use a separate do...
This is the structure of my project (exactly these five files):
/p1
pom.xml
/src
/main
/java
/webapp
a.html
b.xhtml
/WEB-INF
faces-config.xml
web.xml
I'm deploying this WAR to GlassFish and I can successfully access this URL: http://localhost:8080/p1/a.html. When I'm trying to ...
On the server side of my GWT app I use classes from the org.apache.commons.httpclient package. These classes are conveniently packaged in gwt-dev.jar distributed with GWT. I include this jar (along the gwt-servlet.jar) in the WEB-INF/lib of the war.
When deploying the produced war file on glassfish and calling the page I get the followin...
Hello,
A simple web search didn't really turn up any examples... so I'm wondering if anyone could point me to any information on configuring Spring on Glassfish? Everything I've been finding is horribly outdated.
Thanks!
...
We have Glassfish v2 server and some modules there: EJBs, web-apps, etc...
We need logging from different modules goes to different log files, the same way like Tomcat or other app server allowed to do.
Glassfish forced us to use its own logging system with all logs in single server.log and viewed with admin console.
It may be a good...
Hi,
We have a EAR with 3 EJB modules. I am trying to deploy to glassfish but am hitting an error I can't explain or work out how best to identify.
[#|2010-08-03T14:39:15.570+0100|INFO|glassfish3.0.1|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=28;_ThreadName=Thread-1;|[AutoDeploy] Selecting file /e...
Hi,
I have an app deployed in Glassfishv2 that was working fine all along. When I redeployed it with the latest code, it is giving me a 503 error. With the log saying error congifuring app listener, skipped installing app listeners due to previous errors, startup of context /app_name failed due to prev errors.
There can't be problem wi...
Does anyone know how glassfish uses ManagedObjectManagers? I get the following exception:
Exception in thread "Thread-14" java.lang.NoClassDefFoundError: org/glassfish/gmbal/ManagedObjectManager
at com.sun.xml.ws.client.Stub.<init>(Stub.java:196)
at com.sun.xml.ws.client.Stub.<init>(Stub.java:174)
at com.sun.xml.ws.client.sei.SEIStub.<i...
New to OSGi and Glassfish. I have an OSGi bundle written that creates a non-serializable manager object that I would like to expose via JNDI so that my web applications can utilize it. (Previously with JBoss I utilized org.jboss.naming.NonSerializableFactory to do this, but I can't seem to find any analogous approach with Glassfish.)
...
Hi,
When deploying our portlet in liferay with glassfish set up with comet support enabled we get malformed http responses - seems like requests are not corelated with responses. For exemple - for an http request for a css we may get a image back that was requested by other http request.
Our portlet is a jsf enabled portlet using JQuer...
I want to use Glassfish and hibernate. I use the Glassfish update tool to add the hibernate libraries.
So I have all needed libraries.
But when I ran my JUnit test I have this exception :
java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/hibernate/proxy/HibernateProxy
Any idea ?
Thanks a lot
...
I've been trying to set my application up so that I can unit test it's EJBs all day but I can't seem to get past what seems like a really simple problem.
I have a standard Maven web application set up in NetBeans 6.9. I've automatically generated a unit test for one of the EJBs but whenever I go to run it I get the error message:
Testc...
Hello,
I am trying to configure a jdbcRealm in GlassFishV3 using existing tables that have a naming convention other than "users" and "groups"; the realm does not appear to work unless the tables are named this way. My question is, why the limitation? Is there a work around other than renaming my existing tables?
Thanks,
RG
...
I'm working on a timer EJB that fetches CSV data from a URL every 5 minutes and processes it into a database using OpenCSV. The relevant code is:
@Stateless
@TransactionManagement(TransactionManagementType.BEAN)
public class Importer {
@Schedule(minute="*/5", hour="*", info="Importer")
private void scheduledTimeout(final Timer t...
In EJB 3.1 JNDI Lookups can be made with different Lookup-Names:
java:global[/<app-name>]/<module-name>/<bean-name>!<fully-qualifiedbean interface-name>
java:global[/<app-name>]/<module-name>/<bean-name>
java:app/<module-name>/<bean-name>!<fully-qualified-bean-interface-name>
java:app/<module-name>/<bean-name>
java:module...
Hey guys,
I'm trying to set a timer for a Stateless EJB in Glassfish 2.1:
@Stateless(mappedName = "ServiceEJB")
public class ServiceEJB implements ServiceEJBRemote {
// other methods ...
// defining the timer
@Schedule(second="*/15", minute="*", hour="*")
public void test(){
System.out.println("++++++++ timer!!! ++++++++...
Hi,
env: eclipse Helios, glassfish 3.1, windows XP
I have en EAR project wich contains an EJB module end 2 projects referenced in the workspace. The first publish (after an add/remove project on the server) on glassfish works fine.
If I modify one code line or propertie file on any referenced project, WTP deletes the directories of al...
I use jdbcRealm for security in my glassfish v3.0.1 b22. It is set up so that it use the USER table inside my database for authentication by following this blog: http://blogs.sun.com/foo/entry/mort_learns_jdbc_realm_authentication. I got it working fine, if I leave the digest algorithm as plain text. However when i try to use SHA-256 for...