[jboss-user] [Beginners Corner] - "Stack Overflow at line: 8259" Error

2008-06-30 Thread rupang
We have a JBoss(4.0.5 GA) -J2EE - Spring 3.x based Web app. and with some of 
our users some times we are getting error "Stack Overflow at line: 8259"
which comes from IE 6.0 Browser windows as pop-up (alert).

Please help on this like what could be the root cause?

Thanks
Rupang


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161605#4161605

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161605
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Issue with parsing multipart/form-data request in Struts2

2007-11-26 Thread rupang
Hello, 

I am trying to upload a text file less than 50KB using a client program.
Client program makes a call to servlet using POST method and content type as 
multipart/form-data

Server Side is JBoss-4.0.5.GA with Struts2 and Spring2 

The Servlet with doPost Method is getting called from the (above) client 
method. However as soon as request arrives on the server following message is 
displayed 

[STDOUT] 14:52:02,324 INFO [Dispatcher] Unable to find 
'struts.multipart.saveDir' property setting. Defaulting to 
javax.servlet.context.tempdir 

[STDOUT] 14:52:02,480 ERROR [MultiPartRequest] 
org.apache.commons.fileupload.FileUploadException: Processing of 
multipart/form-data request failed. Stream ended unexpectedly 


Kindly help me to find solution for this issue! 

Thanks, 
Rupang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107912#4107912

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107912
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - FileUpload from MS Client

2007-11-23 Thread rupang
Hello,

I am trying to upload a file (word 2003 doc) which is less than 50KB

My Client is MS VB.NET ("Windows Form") Program which is using 
WebClient.UploadFile(strUploadURL, "POST", strFullFileName)

And Server Side is JBoss-4.0.5.GA with Struts2 and Spring2

I have setup a Servlet with doPost Method which is getting called from the 
(above) client method. as soon as request arrives on the server I get following 
message:(Without even executing the first line in the doPost method which is to 
Log the request if (logger.isDebugEnabled()) )

[STDOUT] 14:52:02,324 INFO  [Dispatcher] Unable to find 
'struts.multipart.saveDir' property setting. Defaulting to 
javax.servlet.context.tempdir

[STDOUT] 14:52:02,480 ERROR [MultiPartRequest] 
org.apache.commons.fileupload.FileUploadException: Processing of 
multipart/form-data request failed. Stream ended unexpectedly


Kindly help me to find solution for this issue!

Thanks,
Rupang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107427#4107427

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107427
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Running *.bat file from JBoss 4 Web Server

2007-10-26 Thread rupang
Hey Peter, Thank you so much! It worked for me!
 
I just renamed the bat file and redeploy and restert the borwser and it worked.

Also I placed the mime type tag in our Application's WEB-INF/web.xml file 
rather than the tomcat's web.xml. So it will work out of the box even on those 
jboss server which does not have this setting.

Thanks Again!
Regards
Rupang



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099504#4099504

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099504
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Running *.bat file from JBoss 4 Web Server

2007-10-26 Thread rupang
I added the "bat" mime type in the Web.xml at that location. and 
restarted/re-published the JBoss/ Application. It still displays the .bat file 
content in the Browser window!

Do I have to follow any specific steps to make sure that the modified web.xml 
is in effect! 

I verified that the App.war file was updated with current time stemp, so system 
did proper cleanup while publishing the web app.

Thanks
Rupang



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099335#4099335

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099335
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Running *.bat file from JBoss 4 Web Server

2007-10-25 Thread rupang
Hello,
I need to run a *.bat file from a URL on the JBoss-4.0.5.GA Server.

The Scenario is:  When I click on the Link on the page it runs a javascript 
function which has a call to my.bat file as follows

window.location = "/MyApp/exe/install.bat";

Now when we click on the link it should open a Dialog Box "File 
Download-Security Warning" and it has 3 buttons "Run", "Save" and "Cancel"

The Probelm is I am not getting that Dialog Box at all. Instead its directly 
writing the content of the bat file on the browser window!

Thanks for the help!
Regards
Rupang


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098892#4098892

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098892
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user