Re: Ajax Servlet Deployment

2015-05-20 Thread John Huss
If you are aren't on a recent version of Wonder, you need to be for this to work - Ajax in servlet. Probably fixed about a year ago. On Tue, May 19, 2015 at 4:14 PM Kevin Hinkson k...@coralstone.co wrote: Hi, I am attempting to deploy a web page where the page uses an AjaxFlexibleFileUpload

Re: Ajax Servlet Deployment

2015-05-20 Thread Kevin Hinkson
Hi John, Thanks for the tip. I tried that and it wasn’t the issue per say. I also tried re-ordering the frameworks. I did finally figure it out. The local development environment used an https connection and the ElasticBeanstalk one did not. Combined with the secure cookie property being on

Ajax Servlet Deployment

2015-05-19 Thread Kevin Hinkson
Hi, I am attempting to deploy a web page where the page uses an AjaxFlexibleFileUpload component. This works in the development setup. However, once the page with the AjaxFlexibleFileUpload loads on the server the two XHRs that run come back with 200 responses but they are completely empty of

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-25 Thread Matthias Jakob
At the End, don’t leave dbConnectURLGLOBAL blank ;-) thats all ;-( Matthias Am 25.04.2014 um 01:47 schrieb Matthias Jakob ja...@ementals.de: Hi David, hi Andrew, hi there, after a remote debugging session I’ve found the problem (Remember I will use a JNDI JDBC Datasource!): In

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
. It has been a long time since I tried to start from scratch, so it is entirely possible that I’m completely wrong. :-) (shocking, I know) Sir Socks On Apr 22, 2014, at 6:22 PM, Matthias Jakob ja...@ementals.de wrote: Hi there! I’ve got a problem with my web.xml JNDI JDBC entry in Servlet

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Theodore Petrosky
. :-) (shocking, I know) Sir Socks On Apr 22, 2014, at 6:22 PM, Matthias Jakob ja...@ementals.de wrote: Hi there! I’ve got a problem with my web.xml JNDI JDBC entry in Servlet Deployment and migrations. Using the web.xml entry resource-ref descriptionMS SQL Server/description res

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
a long time since I tried to start from scratch, so it is entirely possible that I’m completely wrong. :-) (shocking, I know) Sir Socks On Apr 22, 2014, at 6:22 PM, Matthias Jakob ja...@ementals.de wrote: Hi there! I’ve got a problem with my web.xml JNDI JDBC entry in Servlet

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread David Avendasora
...@ementals.de wrote: Hi there! I’ve got a problem with my web.xml JNDI JDBC entry in Servlet Deployment and migrations. Using the web.xml entry resource-ref descriptionMS SQL Server/description res-ref-namejdbc/TEST/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread David Avendasora
On Apr 24, 2014, at 9:16 AM, David Avendasora webobje...@avendasora.com wrote: Override the migrationsWillRun method and stick a breakpoint on it. Let’s make sure that it is getting that far. Umm… in your subclass of ERXApplication, in case that wasn’t clear… It probably was to you, but

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Clear ;-) Sir! ;-) Am 24.04.2014 um 15:18 schrieb David Avendasora webobje...@avendasora.com: On Apr 24, 2014, at 9:16 AM, David Avendasora webobje...@avendasora.com wrote: Override the migrationsWillRun method and stick a breakpoint on it. Let’s make sure that it is getting that far.

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread John Huss
wrong. :-) (shocking, I know) Sir Socks On Apr 22, 2014, at 6:22 PM, Matthias Jakob ja...@ementals.de wrote: Hi there! I’ve got a problem with my web.xml JNDI JDBC entry in Servlet Deployment and migrations. Using the web.xml entry resource-ref descriptionMS SQL Server

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Theodore Petrosky
Socks On Apr 22, 2014, at 6:22 PM, Matthias Jakob ja...@ementals.de wrote: Hi there! I’ve got a problem with my web.xml JNDI JDBC entry in Servlet Deployment and migrations. Using the web.xml entry resource-ref descriptionMS SQL Server/description res-ref-namejdbc/TEST

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Hi David, protected void migrationsWillRun(ERXMigrator migrator) { // TODO Auto-generated method stub super.migrationsWillRun(migrator); System.out.println(--migrationsWillRun--); } Is never called, local or in the Appserver ?? If

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Hi David, hi Andrew, hi there, after a remote debugging session I’ve found the problem (Remember I will use a JNDI JDBC Datasource!): In ERXMigrator protected boolean canMigrateModel(EOModel model) { String adaptorName = model.adaptorName(); if

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-23 Thread David Avendasora
possible that I’m completely wrong. :-) (shocking, I know) Sir Socks On Apr 22, 2014, at 6:22 PM, Matthias Jakob ja...@ementals.de wrote: Hi there! I’ve got a problem with my web.xml JNDI JDBC entry in Servlet Deployment and migrations. Using the web.xml entry resource-ref descriptionMS

JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-22 Thread Matthias Jakob
Hi there! I’ve got a problem with my web.xml JNDI JDBC entry in Servlet Deployment and migrations. Using the web.xml entry resource-ref descriptionMS SQL Server/description res-ref-namejdbc/TEST/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth res-sharing

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-22 Thread John Huss
yourself. On Tue, Apr 22, 2014 at 5:22 PM, Matthias Jakob ja...@ementals.de wrote: Hi there! I’ve got a problem with my web.xml JNDI JDBC entry in Servlet Deployment and migrations. Using the web.xml entry resource-ref descriptionMS SQL Server/description res-ref-namejdbc/TEST/res-ref-name

Servlet Deployment

2012-10-26 Thread Ron X
hello everybody when i deploy an app i stucked with error: [2012-10-26 13:25:51 FET] localhost-startStop-1 The bundle MailApp has malformed version number: NSProperties.NestedProperties.load(): /Users/esuser/WebObjects.properties java.lang.reflect.InvocationTargetException at

Re: Servlet Deployment

2012-10-26 Thread Dov Rosenberg
Look toward the bottom. There is a class not found exception. Check your jar files to make sure they are in the WEB-INF/ lib folder Dov Sent from my iPhone On Oct 26, 2012, at 3:58 AM, Ron X ron.x.by...@gmail.com wrote: hello everybody when i deploy an app i stucked with error:

response.setContentStream fails servlet deployment

2012-08-22 Thread René Bock
Hi every one, In order not to store my download data in memory, I'm saving the data into a temp file. To download the data I stream the data directly from file: public void appendToResponse(WOResponse response, WOContext context) { response.setHeader(application/octet-stream,

Re: response.setContentStream fails servlet deployment

2012-08-22 Thread Q
This is a known bug in 5.4.3 when deploying as a servlet. My notes on this indicate that the offending code should be in _WOApplicationWrapper.servletDispatchRequest() if you feel like getting your hands dirty. On 22/08/2012, at 11:30 PM, René Bock b...@salient.de wrote: Hi every one, In

Re: response.setContentStream fails servlet deployment

2012-08-22 Thread René Bock
So I will stick with stuffing data into memory... Am 22.08.2012 um 16:41 schrieb Q: This is a known bug in 5.4.3 when deploying as a servlet. My notes on this indicate that the offending code should be in _WOApplicationWrapper.servletDispatchRequest() if you feel like getting your hands

restoring session in servlet deployment context

2012-04-18 Thread Jérémy DE ROYER [INGENCYS]
Hello, We have APIs that use HTTP/GET or POST direct actions according to this scheme : - authenticate direct action - returning a sessionID - asking for a direct action with a sessionID - if authenticated, returning the response Problem is that it doesn't work with servlet deployment except

Re: restoring session in servlet deployment context

2012-04-18 Thread Jérémy DE ROYER [INGENCYS]
a sessionID - asking for a direct action with a sessionID - if authenticated, returning the response Problem is that it doesn't work with servlet deployment except if using ie, firefox or safari because of the lack of httpSession, used by servlet context to restore the (wo)session

Re: restoring session in servlet deployment context

2012-04-18 Thread Ruenagel, Frank
...@lists.apple.com [mailto:webobjects-dev-bounces+webobjects=symposion...@lists.apple.com] Im Auftrag von Jérémy DE ROYER [INGENCYS] Bereitgestellt: Mittwoch, 18. April 2012 13:25 Bereitgestellt in: WebObjects Unterhaltung: restoring session in servlet deployment context Betreff: Re: restoring session

Re: restoring session in servlet deployment context

2012-04-18 Thread Jérémy DE ROYER [INGENCYS]
+webobjects=symposion...@lists.apple.com] Im Auftrag von Jérémy DE ROYER [INGENCYS] Bereitgestellt: Mittwoch, 18. April 2012 13:25 Bereitgestellt in: WebObjects Unterhaltung: restoring session in servlet deployment context Betreff: Re: restoring session in servlet deployment context For those who

WO 5.4 breaks servlet deployment

2010-08-02 Thread Andrew Mottaz
I was reading through a recent thread between Jon Nolan and Ken Anderson where the issue of ApplicationDidFinishInitializationNotification not being posted when deploying to Tomcat was discussed. (Basically, notification does not get posted, our didFinishLaunching code does not get

Re: Does switching to servlet deployment serve a purpose?

2010-02-01 Thread Dov Rosenberg
The biggest things you lose is the built in load balancing and the javamonitor. You will need to spawn your own instances and load balance them externally. Deployment turns into a single war file that is easy to do. It is much easier to deploy a war versus setting up a wo deployment. The

Re: Does switching to servlet deployment serve a purpose?

2010-02-01 Thread Hugi Thordarson
Thanks for the reply Dov. Apparently Glassfish has a very nice GUI, so I understand it will replace JavaMonitor nicely. However, I have no idea if mod_servlet allows for load balancing. Why is a war file easier to deploy than a woa? And we don't gain anything platform-wise, WO runs fine on

Re: Does switching to servlet deployment serve a purpose?

2010-02-01 Thread Chuck Hill
/ From what I have seen, the only real reasons to use servlet deployment are: - access to things like jsp tagging - deployment on hosting services that don't support WO (which would be most of them...) - deployment in a mixed environment where servlet deployment has been mandated as the standard

Re: Does switching to servlet deployment serve a purpose?

2010-02-01 Thread Hugi Thordarson
://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/ From what I have seen, the only real reasons to use servlet deployment are: - access to things like jsp tagging - deployment on hosting services that don't support WO (which would be most of them...) - deployment in a mixed environment where

Re: Does switching to servlet deployment serve a purpose?

2010-02-01 Thread Dov Rosenberg
several pre-built versions: http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/ From what I have seen, the only real reasons to use servlet deployment are: - access to things like jsp tagging - deployment on hosting services that don't support WO (which would be most of them

Re: terminate() not being called with servlet deployment

2009-09-04 Thread Bill Gallop
Ken, We had this exact same problem with the 5.3.3 servlet adaptor (thankfully, it was fixed in 5.4). If I recall correctly, what we ended up having to do was actually subclass WOServletAdaptor and implement the destroy() method described at

Re: terminate() not being called with servlet deployment

2009-09-03 Thread Ken Anderson
Doesn't anyone have any experience terminating properly under a servlet? On Aug 27, 2009, at 2:06 PM, Ken Anderson wrote: I'm using 5.3.3, and I just realized that terminate() never gets called. Doing a search, I find that this is a bug fixed in 5.4. The question is, can I find out the

Re: terminate() not being called with servlet deployment

2009-09-03 Thread Andrew Lindesay
Hi Ken; I can't remember the specifics, but some top-level WO events from wotaskd may not happen in the servlet environs. Perhaps you could implement a ServletContextListener and add this to your deployment descriptor? Let us know if this works out for you. cheers. Doesn't anyone have

terminate() not being called with servlet deployment

2009-08-27 Thread Ken Anderson
I'm using 5.3.3, and I just realized that terminate() never gets called. Doing a search, I find that this is a bug fixed in 5.4. The question is, can I find out the container is terminating without moving to 5.4 ? ___ Do not post admin requests

Load Order for Frameworks in a Servlet Deployment

2008-09-09 Thread David Avendasora
Hi all, Does the web.xml file control the load order for frameworks in a servlet deployment? I'm having a problem with getting a customized version of ERExtensions to load before the regular Wonder version. Thanks, Dave ___ Do not post admin

Re: Load Order for Frameworks in a Servlet Deployment

2008-09-09 Thread David Avendasora
welcome. Dave On Sep 9, 2008, at 7:52 AM, David Avendasora wrote: Hi all, Does the web.xml file control the load order for frameworks in a servlet deployment? I'm having a problem with getting a customized version of ERExtensions to load before the regular Wonder version. Thanks, Dave

Servlet Deployment

2008-08-31 Thread Jérémy DE ROYER
Hello, We have just finished our migration from XCode to WOLips but I don't succeed using shared frameworks for the deployment (I mean the ones located in '/System/Library/Frameworks' and '/Library/Frameworks/'. So I have to copy all the frameworks in the war that : 1) increase the weight

WebServerReources on Servlet deployment

2008-08-20 Thread Miguel Angel Torres Avila
machine ). Is there a better approach that you gays know that would facilitate the use of the framework in a Servlet deployment environment? I have made some tests and the framework is copied inside the application.war file so if I change the way I generate the URL's to a more WebObjects way I

Servlet Deployment Problem on Tomcat

2008-05-14 Thread Juergen Lorenz Simon
Hi, I'm trying to deploy a moderately complex WO app to a Tomcat. After successfully building a valid war file and tweaking the web.xml for project wonder, I still have one problem left. Don't suppose anyone seen this before: Exception occurred: java.lang.NullPointerException (to be caught

Inline Bindings and Servlet Deployment

2008-04-24 Thread David Avendasora
I'm having problems getting Inline Bindings to work with a Servlet deployment (to Tomcat). I've double- and triple-checked the classpaths and .jars and everything is where and as it is supposed to be, but the inline bindings just don't work once deployed to a Servlet. They work fine when

Re: Inline Bindings and Servlet Deployment

2008-04-24 Thread Tom Pelaia
, switched to using inline bindings, built with Ant and the WAR file deploys to JBoss fine. The example is very simple, but it does use an inline binding. tom I'm having problems getting Inline Bindings to work with a Servlet deployment (to Tomcat). I've double- and triple-checked the classpaths

Re: Inline Bindings and Servlet Deployment

2008-04-24 Thread David Avendasora
use an inline binding. tom I'm having problems getting Inline Bindings to work with a Servlet deployment (to Tomcat). I've double- and triple-checked the classpaths and .jars and everything is where and as it is supposed to be, but the inline bindings just don't work once deployed

Re: Inline Bindings and Servlet Deployment

2008-04-24 Thread Tom Pelaia
in the first place. Is it possible that this is another example of a piece of Wonder not getting properly initialized during the Servlet startup? Has _anyone_ out there gotten inline bindings to work with a servlet deployment? Just a quick yes will tell me I've got more digging to do. If no one

Re: Inline Bindings and Servlet Deployment

2008-04-24 Thread David Avendasora
inline bindings, built with Ant and the WAR file deploys to JBoss fine. The example is very simple, but it does use an inline binding. tom I'm having problems getting Inline Bindings to work with a Servlet deployment (to Tomcat). I've double- and triple-checked the classpaths and .jars

component without template and servlet-deployment

2007-07-06 Thread Ruenagel, Frank
Hi, I tried to use some components without template. Their template-method is overwritten and returns null, appendToResponse does not call super(). Their .wo-Folder does not exist. With direct-connect deployment this runs well. Testing with tomcat I get an Unable to find framework named tb

[workaround] component without template and servlet-deployment

2007-07-06 Thread Ruenagel, Frank
children are not shown... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] pple.com]O n Behalf Of Ruenagel, Frank Sent: Friday, July 06, 2007 12:59 PM To: webobjects-dev@lists.apple.com Subject: component without template and servlet-deployment Hi, I tried