Re: How do I separate static files?

2008-12-03 Thread thitoh

Oh... I think I know...
I cannot acess 415BF141E40105072EF69CA84394941F.rpc on
http://apl/415BF141E40105072EF69CA84394941F.rpc
Something wrong with IIS...
I belive it is the problem.
Thanks!

On 3 dez, 15:48, thitoh <[EMAIL PROTECTED]> wrote:
> Now hosted mode is working, but web mode not...
>  Look...
>  IIS is onhttp://apl/
>  Jboss is onhttp://apl/Apl/
>  So, my RPC module (Ctrl) is onhttp://apl/Apl/Ctrl/and my index.html
> is onhttp://apl/index.html
>  index.html redirects to View.html, that is the module that uses RPC,
> Ctrl, etc;http://apl/View.html
>
>  Changes I did:
>
>  before: GWT.getModuleBaseURL()+"Ctrl"
>  now: GWT.getModuleBaseURL()+"Apl/Ctrl"
>
>  on View.gwt.xml
>  before: 
>  now: 
>
>
>  but look... on web.xml, I keep this:
> 
> Ctrl
> /Ctrl
> 
> because if I change /Ctrl to /Apl/Ctrl, it doesn't work.
>
> Now, rpc is working, but only on hosted mode. When I copy www folder
> to IIS, and deploy WAR file on JBoss, RPC doen't work... If my
> procedure returns a java native class (ex: String[]), it works, but
> with this message on JBoss's log:
> 2008-12-03 15:37:28,320 INFO  [org.apache.catalina.core.ContainerBase.
> [jboss.web].[localhost].[/Apl]]  [] ERROR: The module path
> requested, /, is not in the same web application as this servlet, /
> Apl.  Your module may not be properly configured or your client and
> server code maybe out of date.
> 2008-12-03 15:37:28,320 INFO  [org.apache.catalina.core.ContainerBase.
> [jboss.web].[localhost].[/Apl]]  [] WARNING: Failed to get the
> SerializationPolicy '415BF141E40105072EF69CA84394941F' for module
> 'http://apl/';a legacy, 1.3.3 compatible, serialization policy will
> be used.  You may experience SerializationExceptions as a result.
> 2008-12-03 14:55:09,727 ERROR [org.apache.catalina.core.ContainerBase.
> [jboss.web].[localhost].[/Apl]]  [] Exception while dispatching
> incoming RPC call
>
> If procedure returns a serialized object created by my serialized
> class (not java native), I get
> "com.google.gwt.user.client.rpc.StatusCodeExceptionmensagem: The call
> failed on the server; see server log for details".
> My serialized class is right, otherwise hosted mode wouldn't work.
> What am I doing wrong?
>
> On 3 dez, 13:47, Jason Essington <[EMAIL PROTECTED]> wrote:
>
> > On Dec 2, 2008, at 12:10 PM, thitoh wrote:
>
> > > Hi, Essington.
> > > but rpc isn't working...
>
> > right ...
>
> > > I'm having an exception:
> > > com.google.gwt.user.client.rpc.StatusCodeException
>
> > Have you set your Service enpoint URL to the correct path?
>
> > What is the actual response from the server? here is where firebug (or
> > Web Inspector) could help you out ...
>
> > -jason
>
> > > On 1 dez, 15:55, Jason Essington <[EMAIL PROTECTED]> wrote:
> > >> The simplest thing to do would be to put your module files in your
> > >> war, that way the module and your service implementation are in the
> > >> same context, and you can do
>
> > >>   GWT.getModuleBaseURL()+"Ctrl";
>
> > >> to build your url.
>
> > >> by placing your gwt files in IIS (using the paths you supplied) you'd
> > >> have to do
>
> > >>GWT.getModuleBaseURL()+"Apl/Ctrl";
>
> > >> -jason
>
> > >> On Dec 1, 2008, at 11:43 AM, thitoh wrote:
>
> > >>> But gregor.. The problem is with my GWT configuration...
> > >>> Look...
> > >>> I've already configurated IIS and JBoss. They are working together.
> > >>> So.. I've splited the Applicatoin in static and dinamic.
> > >>> The static is on IIS (www folder), and can be acessed onhttp://apl/
> > >>> The dinamic is a war file on JBoss and can be acessed onhttp://apl/
> > >>> Apl
> > >>> So... I acesshttp://apl/index.htmlthathasan GWT interface, and use
> > >>> a RPC (the remote service module is called "Ctrl")
> > >>> So... Ctrl is provided by JBoss, onhttp://apl/Apl/Ctrl
> > >>> But, when I try to execute RPC, It returns an 404 error, on
> > >>> exception
> > >>> com.google.gwt.user.client.rpc.StatusCodeException.
> > >>> I belive I need to do something to say that the url isn'thttp://apl/Ctrl
> > >>> .
> > >>> The right ishttp://apl/Apl/Ctrl.
> > >>> I think this config is on GWT application. But I don't know what I
> > >>> have to do.
>
> > >>> On 27 nov, 19:34, gregor <[EMAIL PROTECTED]> wrote:
> >  Hi thitoh,
>
> >  this is off topic for this group, but it possible to do. Google
> >  "deploy JBoss IIS" for information, e.g.
>
> > http://www.itshastra.com/know_bank/IIS_Jboss.pdf
>
> >  Also check the JBoss forums. This link might be useful:
>
> > http://www.jboss.org/community/docs/DOC-12526
>
> >  regards
> >  gregor
>
> >  On Nov 27, 6:01 pm, thitoh <[EMAIL PROTECTED]> wrote:
>
> > > Hi... I have a Dinamic Web Project using GWT with Cypal Studio.
> > > I generate a .war file and deploy on JBoss.
> > > But now I configured my machine with 2 servers: IIS and JBoss.
> > > I want to put static files on IIS and the others in JBoss.
> > > How do

Re: How do I separate static files?

2008-12-03 Thread thitoh

Now hosted mode is working, but web mode not...
 Look...
 IIS is on http://apl/
 Jboss is on http://apl/Apl/
 So, my RPC module (Ctrl) is on http://apl/Apl/Ctrl/ and my index.html
is on http://apl/index.html
 index.html redirects to View.html, that is the module that uses RPC,
Ctrl, etc; http://apl/View.html

 Changes I did:

 before: GWT.getModuleBaseURL()+"Ctrl"
 now: GWT.getModuleBaseURL()+"Apl/Ctrl"

 on View.gwt.xml
 before: 
 now: 

 but look... on web.xml, I keep this:

Ctrl
/Ctrl

because if I change /Ctrl to /Apl/Ctrl, it doesn't work.

Now, rpc is working, but only on hosted mode. When I copy www folder
to IIS, and deploy WAR file on JBoss, RPC doen't work... If my
procedure returns a java native class (ex: String[]), it works, but
with this message on JBoss's log:
2008-12-03 15:37:28,320 INFO  [org.apache.catalina.core.ContainerBase.
[jboss.web].[localhost].[/Apl]]  [] ERROR: The module path
requested, /, is not in the same web application as this servlet, /
Apl.  Your module may not be properly configured or your client and
server code maybe out of date.
2008-12-03 15:37:28,320 INFO  [org.apache.catalina.core.ContainerBase.
[jboss.web].[localhost].[/Apl]]  [] WARNING: Failed to get the
SerializationPolicy '415BF141E40105072EF69CA84394941F' for module
'http://apl/'; a legacy, 1.3.3 compatible, serialization policy will
be used.  You may experience SerializationExceptions as a result.
2008-12-03 14:55:09,727 ERROR [org.apache.catalina.core.ContainerBase.
[jboss.web].[localhost].[/Apl]]  [] Exception while dispatching
incoming RPC call

If procedure returns a serialized object created by my serialized
class (not java native), I get
"com.google.gwt.user.client.rpc.StatusCodeExceptionmensagem: The call
failed on the server; see server log for details".
My serialized class is right, otherwise hosted mode wouldn't work.
What am I doing wrong?

On 3 dez, 13:47, Jason Essington <[EMAIL PROTECTED]> wrote:
> On Dec 2, 2008, at 12:10 PM, thitoh wrote:
>
>
>
> > Hi, Essington.
> > but rpc isn't working...
>
> right ...
>
> > I'm having an exception:
> > com.google.gwt.user.client.rpc.StatusCodeException
>
> Have you set your Service enpoint URL to the correct path?
>
> What is the actual response from the server? here is where firebug (or
> Web Inspector) could help you out ...
>
> -jason
>
>
>
> > On 1 dez, 15:55, Jason Essington <[EMAIL PROTECTED]> wrote:
> >> The simplest thing to do would be to put your module files in your
> >> war, that way the module and your service implementation are in the
> >> same context, and you can do
>
> >>   GWT.getModuleBaseURL()+"Ctrl";
>
> >> to build your url.
>
> >> by placing your gwt files in IIS (using the paths you supplied) you'd
> >> have to do
>
> >>GWT.getModuleBaseURL()+"Apl/Ctrl";
>
> >> -jason
>
> >> On Dec 1, 2008, at 11:43 AM, thitoh wrote:
>
> >>> But gregor.. The problem is with my GWT configuration...
> >>> Look...
> >>> I've already configurated IIS and JBoss. They are working together.
> >>> So.. I've splited the Applicatoin in static and dinamic.
> >>> The static is on IIS (www folder), and can be acessed onhttp://apl/
> >>> The dinamic is a war file on JBoss and can be acessed onhttp://apl/
> >>> Apl
> >>> So... I acesshttp://apl/index.htmlthathas an GWT interface, and use
> >>> a RPC (the remote service module is called "Ctrl")
> >>> So... Ctrl is provided by JBoss, onhttp://apl/Apl/Ctrl
> >>> But, when I try to execute RPC, It returns an 404 error, on
> >>> exception
> >>> com.google.gwt.user.client.rpc.StatusCodeException.
> >>> I belive I need to do something to say that the url isn'thttp://apl/Ctrl
> >>> .
> >>> The right ishttp://apl/Apl/Ctrl.
> >>> I think this config is on GWT application. But I don't know what I
> >>> have to do.
>
> >>> On 27 nov, 19:34, gregor <[EMAIL PROTECTED]> wrote:
>  Hi thitoh,
>
>  this is off topic for this group, but it possible to do. Google
>  "deploy JBoss IIS" for information, e.g.
>
> http://www.itshastra.com/know_bank/IIS_Jboss.pdf
>
>  Also check the JBoss forums. This link might be useful:
>
> http://www.jboss.org/community/docs/DOC-12526
>
>  regards
>  gregor
>
>  On Nov 27, 6:01 pm, thitoh <[EMAIL PROTECTED]> wrote:
>
> > Hi... I have a Dinamic Web Project using GWT with Cypal Studio.
> > I generate a .war file and deploy on JBoss.
> > But now I configured my machine with 2 servers: IIS and JBoss.
> > I want to put static files on IIS and the others in JBoss.
> > How do I do it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~

Re: How do I separate static files?

2008-12-03 Thread Jason Essington


On Dec 2, 2008, at 12:10 PM, thitoh wrote:

>
> Hi, Essington.
> but rpc isn't working...

right ...

> I'm having an exception:
> com.google.gwt.user.client.rpc.StatusCodeException

Have you set your Service enpoint URL to the correct path?

What is the actual response from the server? here is where firebug (or  
Web Inspector) could help you out ...

-jason

>
>
> On 1 dez, 15:55, Jason Essington <[EMAIL PROTECTED]> wrote:
>> The simplest thing to do would be to put your module files in your
>> war, that way the module and your service implementation are in the
>> same context, and you can do
>>
>>   GWT.getModuleBaseURL()+"Ctrl";
>>
>> to build your url.
>>
>> by placing your gwt files in IIS (using the paths you supplied) you'd
>> have to do
>>
>>GWT.getModuleBaseURL()+"Apl/Ctrl";
>>
>> -jason
>>
>> On Dec 1, 2008, at 11:43 AM, thitoh wrote:
>>
>>
>>
>>> But gregor.. The problem is with my GWT configuration...
>>> Look...
>>> I've already configurated IIS and JBoss. They are working together.
>>> So.. I've splited the Applicatoin in static and dinamic.
>>> The static is on IIS (www folder), and can be acessed onhttp://apl/
>>> The dinamic is a war file on JBoss and can be acessed onhttp://apl/
>>> Apl
>>> So... I acesshttp://apl/index.htmlthat has an GWT interface, and use
>>> a RPC (the remote service module is called "Ctrl")
>>> So... Ctrl is provided by JBoss, onhttp://apl/Apl/Ctrl
>>> But, when I try to execute RPC, It returns an 404 error, on  
>>> exception
>>> com.google.gwt.user.client.rpc.StatusCodeException.
>>> I belive I need to do something to say that the url isn'thttp://apl/Ctrl
>>> .
>>> The right ishttp://apl/Apl/Ctrl.
>>> I think this config is on GWT application. But I don't know what I
>>> have to do.
>>
>>> On 27 nov, 19:34, gregor <[EMAIL PROTECTED]> wrote:
 Hi thitoh,
>>
 this is off topic for this group, but it possible to do. Google
 "deploy JBoss IIS" for information, e.g.
>>
 http://www.itshastra.com/know_bank/IIS_Jboss.pdf
>>
 Also check the JBoss forums. This link might be useful:
>>
 http://www.jboss.org/community/docs/DOC-12526
>>
 regards
 gregor
>>
 On Nov 27, 6:01 pm, thitoh <[EMAIL PROTECTED]> wrote:
>>
> Hi... I have a Dinamic Web Project using GWT with Cypal Studio.
> I generate a .war file and deploy on JBoss.
> But now I configured my machine with 2 servers: IIS and JBoss.
> I want to put static files on IIS and the others in JBoss.
> How do I do it?
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How do I separate static files?

2008-12-02 Thread thitoh

Hi, Essington.
but rpc isn't working...
I'm having an exception:
com.google.gwt.user.client.rpc.StatusCodeException

On 1 dez, 15:55, Jason Essington <[EMAIL PROTECTED]> wrote:
> The simplest thing to do would be to put your module files in your
> war, that way the module and your service implementation are in the
> same context, and you can do
>
>GWT.getModuleBaseURL()+"Ctrl";
>
> to build your url.
>
> by placing your gwt files in IIS (using the paths you supplied) you'd
> have to do
>
> GWT.getModuleBaseURL()+"Apl/Ctrl";
>
> -jason
>
> On Dec 1, 2008, at 11:43 AM, thitoh wrote:
>
>
>
> > But gregor.. The problem is with my GWT configuration...
> > Look...
> > I've already configurated IIS and JBoss. They are working together.
> > So.. I've splited the Applicatoin in static and dinamic.
> > The static is on IIS (www folder), and can be acessed onhttp://apl/
> > The dinamic is a war file on JBoss and can be acessed onhttp://apl/
> > Apl
> > So... I acesshttp://apl/index.htmlthat has an GWT interface, and use
> > a RPC (the remote service module is called "Ctrl")
> > So... Ctrl is provided by JBoss, onhttp://apl/Apl/Ctrl
> > But, when I try to execute RPC, It returns an 404 error, on exception
> > com.google.gwt.user.client.rpc.StatusCodeException.
> > I belive I need to do something to say that the url isn'thttp://apl/Ctrl
> > .
> > The right ishttp://apl/Apl/Ctrl.
> > I think this config is on GWT application. But I don't know what I
> > have to do.
>
> > On 27 nov, 19:34, gregor <[EMAIL PROTECTED]> wrote:
> >> Hi thitoh,
>
> >> this is off topic for this group, but it possible to do. Google
> >> "deploy JBoss IIS" for information, e.g.
>
> >>http://www.itshastra.com/know_bank/IIS_Jboss.pdf
>
> >> Also check the JBoss forums. This link might be useful:
>
> >>http://www.jboss.org/community/docs/DOC-12526
>
> >> regards
> >> gregor
>
> >> On Nov 27, 6:01 pm, thitoh <[EMAIL PROTECTED]> wrote:
>
> >>> Hi... I have a Dinamic Web Project using GWT with Cypal Studio.
> >>> I generate a .war file and deploy on JBoss.
> >>> But now I configured my machine with 2 servers: IIS and JBoss.
> >>> I want to put static files on IIS and the others in JBoss.
> >>> How do I do it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How do I separate static files?

2008-12-01 Thread Jason Essington

The simplest thing to do would be to put your module files in your  
war, that way the module and your service implementation are in the  
same context, and you can do

   GWT.getModuleBaseURL()+"Ctrl";

to build your url.

by placing your gwt files in IIS (using the paths you supplied) you'd  
have to do

GWT.getModuleBaseURL()+"Apl/Ctrl";

-jason

On Dec 1, 2008, at 11:43 AM, thitoh wrote:

>
> But gregor.. The problem is with my GWT configuration...
> Look...
> I've already configurated IIS and JBoss. They are working together.
> So.. I've splited the Applicatoin in static and dinamic.
> The static is on IIS (www folder), and can be acessed on http://apl/
> The dinamic is a war file on JBoss and can be acessed on http://apl/ 
> Apl
> So... I acess http://apl/index.html that has an GWT interface, and use
> a RPC (the remote service module is called "Ctrl")
> So... Ctrl is provided by JBoss, on http://apl/Apl/Ctrl
> But, when I try to execute RPC, It returns an 404 error, on exception
> com.google.gwt.user.client.rpc.StatusCodeException.
> I belive I need to do something to say that the url isn't http://apl/Ctrl 
> .
> The right is http://apl/Apl/Ctrl.
> I think this config is on GWT application. But I don't know what I
> have to do.
>
>
>
> On 27 nov, 19:34, gregor <[EMAIL PROTECTED]> wrote:
>> Hi thitoh,
>>
>> this is off topic for this group, but it possible to do. Google
>> "deploy JBoss IIS" for information, e.g.
>>
>> http://www.itshastra.com/know_bank/IIS_Jboss.pdf
>>
>> Also check the JBoss forums. This link might be useful:
>>
>> http://www.jboss.org/community/docs/DOC-12526
>>
>> regards
>> gregor
>>
>> On Nov 27, 6:01 pm, thitoh <[EMAIL PROTECTED]> wrote:
>>
>>> Hi... I have a Dinamic Web Project using GWT with Cypal Studio.
>>> I generate a .war file and deploy on JBoss.
>>> But now I configured my machine with 2 servers: IIS and JBoss.
>>> I want to put static files on IIS and the others in JBoss.
>>> How do I do it?
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How do I separate static files?

2008-12-01 Thread thitoh

But gregor.. The problem is with my GWT configuration...
Look...
I've already configurated IIS and JBoss. They are working together.
So.. I've splited the Applicatoin in static and dinamic.
The static is on IIS (www folder), and can be acessed on http://apl/
The dinamic is a war file on JBoss and can be acessed on http://apl/Apl
So... I acess http://apl/index.html that has an GWT interface, and use
a RPC (the remote service module is called "Ctrl")
So... Ctrl is provided by JBoss, on http://apl/Apl/Ctrl
But, when I try to execute RPC, It returns an 404 error, on exception
com.google.gwt.user.client.rpc.StatusCodeException.
I belive I need to do something to say that the url isn't http://apl/Ctrl.
The right is http://apl/Apl/Ctrl.
I think this config is on GWT application. But I don't know what I
have to do.



On 27 nov, 19:34, gregor <[EMAIL PROTECTED]> wrote:
> Hi thitoh,
>
> this is off topic for this group, but it possible to do. Google
> "deploy JBoss IIS" for information, e.g.
>
> http://www.itshastra.com/know_bank/IIS_Jboss.pdf
>
> Also check the JBoss forums. This link might be useful:
>
> http://www.jboss.org/community/docs/DOC-12526
>
> regards
> gregor
>
> On Nov 27, 6:01 pm, thitoh <[EMAIL PROTECTED]> wrote:
>
> > Hi... I have a Dinamic Web Project using GWT with Cypal Studio.
> > I generate a .war file and deploy on JBoss.
> > But now I configured my machine with 2 servers: IIS and JBoss.
> > I want to put static files on IIS and the others in JBoss.
> > How do I do it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How do I separate static files?

2008-11-27 Thread gregor

Hi thitoh,

this is off topic for this group, but it possible to do. Google
"deploy JBoss IIS" for information, e.g.

http://www.itshastra.com/know_bank/IIS_Jboss.pdf

Also check the JBoss forums. This link might be useful:

http://www.jboss.org/community/docs/DOC-12526

regards
gregor




On Nov 27, 6:01 pm, thitoh <[EMAIL PROTECTED]> wrote:
> Hi... I have a Dinamic Web Project using GWT with Cypal Studio.
> I generate a .war file and deploy on JBoss.
> But now I configured my machine with 2 servers: IIS and JBoss.
> I want to put static files on IIS and the others in JBoss.
> How do I do it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



How do I separate static files?

2008-11-27 Thread thitoh

Hi... I have a Dinamic Web Project using GWT with Cypal Studio.
I generate a .war file and deploy on JBoss.
But now I configured my machine with 2 servers: IIS and JBoss.
I want to put static files on IIS and the others in JBoss.
How do I do it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---