Cannot upload JRXML file in repository

0

 I am using Jasperserver 4.5 on Windows XP (SP3). I am trying to upload a JRXML file in repository and getting a error message "The file was not uploaded. Please try again. ". I also sent through log file anf found nothing. Can anyone please help me. 

I am also trying to upload/change jrxml file of created report but it is not working, even it is not providing any error message. However I can change/upload them by iReport.

 

ehaque's picture
18
Joined: Jan 23 2011 - 4:07pm
Last seen: 4 years 9 months ago

38 Answers:

0

We are having the same problem. I cannot upload any files, when I try I get the error message:  The file was not uploaded

I can however over write files that are already there without a problem !

 



Post Edited by brooneyx1 at 02/12/2012 19:01
brooneyx1's picture
119
Joined: May 4 2009 - 6:10pm
Last seen: 1 year 1 month ago
0

Very strange behavier by Jasperserver 4.5

Sometimes I can be able to upload files(JRXML), sometimes not, both in LINUX and WINDOWS environment. No hints found in logs, no error megssage. In one world it's "mysterious".

ehaque's picture
18
Joined: Jan 23 2011 - 4:07pm
Last seen: 4 years 9 months ago
0

ehaque
Wrote:

Very strange behavier by Jasperserver 4.5

Sometimes I can be able to upload files(JRXML), sometimes not, both in LINUX and WINDOWS environment. No hints found in logs, no error megssage. In one world it's "mysterious".

Hi!

I have two identical virtual machines with Jasperserver 4.5, tomcat 7 and jdk1.7.0_02 on debian 6. In one of them I can upload the jrxml file but in the other one the same problem persist. 

Someone comes up with something to help?

Thanks in advance!

 

txemacarcar's picture
Joined: Apr 11 2011 - 5:06am
Last seen: 2 years 11 months ago
0

Did you try to load the report with the iReport plugin?

 

Cheers,

Marco

norcenmarco's picture
Joined: Oct 6 2011 - 7:23am
Last seen: 1 year 6 months ago
0

Marco.

Yes, in my case it was the first option, but I get the "Error 1 - 0" like the print screen image in attachment.

Thanks!

Txema.

 

 

txemacarcar's picture
Joined: Apr 11 2011 - 5:06am
Last seen: 2 years 11 months ago
0

And just to understand the problem:

-are you tring to upload a normal report or a report with a logo or image?

-which version do you have of iReport?

 

Cheers,

Marco

norcenmarco's picture
Joined: Oct 6 2011 - 7:23am
Last seen: 1 year 6 months ago
0

Hi Marco!

My report has a logo, three graphs and a table. I tried without the logo and is the same result. I also tested with iReport 4.1.1, 4.1.3 and 4.5.0 and always with the same result. The file size of the jrxml is 65KB.

Thanks in advance,

Txema.

txemacarcar's picture
Joined: Apr 11 2011 - 5:06am
Last seen: 2 years 11 months ago
0

Try to have the same version of jasperserver and iReport!!

And then let me know! Ok?

I wanna help you!! ;)

 

Cheers

Marco

norcenmarco's picture
Joined: Oct 6 2011 - 7:23am
Last seen: 1 year 6 months ago
0
Marco,

My JasperServer is 4.5.0, the same as iReport. The problem is not between JasperServer and iReport because I can not upload the jrxml to jasperServer directly.

Thanks!
txemacarcar's picture
Joined: Apr 11 2011 - 5:06am
Last seen: 2 years 11 months ago
0

Can you try to load the report without the image have you tried??

I think that could be a problem image maybe for the size... try this option!

 

Cheers

norcenmarco's picture
Joined: Oct 6 2011 - 7:23am
Last seen: 1 year 6 months ago
0

I already did and is the same.

Thanks!

txemacarcar's picture
Joined: Apr 11 2011 - 5:06am
Last seen: 2 years 11 months ago
0

I got this to work by editting the file:

WEB-INF/classes/esapi/security-config.properties

And setting:

security.validation.input.on=true

I had it set it to false previously in order to fix a bug in scheduled email. With a multi user  recipient list, scheduling breaks unless I set this to false.  So setting it to false fixed that bug and caused this one. Anyone else have a different fix for the email bug ?

Can you all check if you have this values set to false also ?

brooneyx1's picture
119
Joined: May 4 2009 - 6:10pm
Last seen: 1 year 1 month ago
0

i've checked!

I have that value set to true!

Hope that could be the right solution!

 

Cheers,

Marco

norcenmarco's picture
Joined: Oct 6 2011 - 7:23am
Last seen: 1 year 6 months ago
0

brooneyx1
Wrote:

I got this to work by editting the file:

WEB-INF/classes/esapi/security-config.properties

And setting:

security.validation.input.on=true

I had it set it to false previously in order to fix a bug in scheduled email. With a multi user  recipient list, scheduling breaks unless I set this to false.  So setting it to false fixed that bug and caused this one. Anyone else have a different fix for the email bug ?

Can you all check if you have this values set to false also ?

Code:
Hi brooneyx1!
 
That's it! I had the true value for that parameter because I had the problem of scheduling a report with more than one email address. Now it works! While not fix this problem, each time I have to upload the file jrxml I will put the value to true and after uploading to false.
 
Many thanks for your post!!</td></tr></tbody></table>
txemacarcar's picture
Joined: Apr 11 2011 - 5:06am
Last seen: 2 years 11 months ago
0

 It is more likely the installation of JS 4.5 database is corrupted or incompleted. Try to delete the database and re-installed.

chenny's picture
13
Joined: Oct 9 2007 - 1:15pm
Last seen: 5 years 2 weeks ago
0

 

I have 2 versions of JasperServer 4.5 installed one in ubutunu and other in windows 7, the problem is that I can upload the report to JasperServer 4.5 on Windows but the same report I can not get on JasperServer in linux (ubuntu), error 1 -0. from iReport 4.5
If you are under 20k jrxml the report in linux it upload but if greater 20k error 1-0.
 
 

Please any solution,
 
 
regards,
 
Julian
jdarknet's picture
Joined: Mar 17 2007 - 6:19am
Last seen: 3 years 10 months ago
0

norcenmarco
Wrote:

Try to have the same version of jasperserver and iReport!!

And then let me know! Ok?

I wanna help you!! ;)

 

Cheers

Marco

 

Hi

I tried with the same version of Jasperserver and iReport but that didnt work for me. I have two installation of Jasperserver 4.5, one in Windows XP and another in Linux. Both showing the same behavior.

regards,

ehaque

ehaque's picture
18
Joined: Jan 23 2011 - 4:07pm
Last seen: 4 years 9 months ago
0

 hello...

my report has a crosstab, and i cannot upload it too...

any help please...

thanks in advance..

 

kozkee's picture
1
Joined: Feb 26 2012 - 7:02pm
Last seen: 7 years 3 months ago
0

Did you try to upload via web browser ?  What was the error given in the server log file ?

 

 

 

chenny's picture
13
Joined: Oct 9 2007 - 1:15pm
Last seen: 5 years 2 weeks ago
0

Hi All,

I'm also not able to upload the jrxml file to JasperServer and it not showing any error. It is just that JasperServer doesn't allow me to go to Data Sources window and the window refreshes with the upload file text box being blank.

My jrxml file size is 32 KB and I'm using the same versions of JasperServer and iReport designer(4.0.1)

Is there any solution to this problem??

Thanks in advance

LK

lksingh's picture
14
Joined: Feb 20 2012 - 10:15pm
Last seen: 7 years 3 months ago
0

 My jrxml is more 100kb ..... 

I currently used  the latest jasperserver 4.5 and  Jaspersoft iReport Designer 4.5.0.

My experience was JS 4.0.1 was problematic and so moved back to js3.7 

Now testing  JS4.5 !

 



Post Edited by chenny at 02/28/2012 13:06
chenny's picture
13
Joined: Oct 9 2007 - 1:15pm
Last seen: 5 years 2 weeks ago
0

Hi Chenny,

Did you find any workaround for this issue in 4.0.1? We really need this solution !!!!! :(

Thanks,

LK

lksingh's picture
14
Joined: Feb 20 2012 - 10:15pm
Last seen: 7 years 3 months ago
0

 LK,

 You did not indicate that you are unable to upload jrxml file via website. 

Yr JS should report any error unless you have disabled the logging.

As you have said that there is no error in JS, then you try to degrade your iReport.

If your JS is v4.0, have you try the iReport 4.0.2, 4,1  or even 3.7.6 or below?

If your JS is 3.1, any major release of iReport other than ir3.0  may not work. 

have you uninstall, delete all residual files and re-install as NEW ?

My experience is that I can download and cannot update or upload. Classpath, JVM Settings needs to be checked and corrected in the iReport. Otherwise ...hold on the working version.  

 

Chen

 



Post Edited by chenny at 02/29/2012 01:21
chenny's picture
13
Joined: Oct 9 2007 - 1:15pm
Last seen: 5 years 2 weeks ago
0

 

When I’m try to login to the My Jaspersoft server in that Time i Face These below Error.

The server has encountered an error. Please excuse the inconvenience. An error has occurred. Please contact your system administrator. (5321)

 I have Chnged ,security.validation.input.on=false , in Below path

C:\Program Files\jasperreports-server-4.5\apache-tomcat\webapps\jasperserver-pro\WEB-INF\classes\esapi\security-config.properties and setting:

Now My Jasper Soft Server Login Fine But I’m Facing One more  below Problem , the  Report Working Fine in IReport and same report upload in JasperSoftServer giving Problem.

 

RE: Cannot upload JRXML file in repository

 Error Message: Select a valid JRXML file

anil123's picture
Joined: Feb 16 2012 - 8:20pm
Last seen: 7 years 4 months ago
0

When I’m try to login to the My Jaspersoft server in that Time i Face These below Error.

The server has encountered an error. Please excuse the inconvenience. An error has occurred. Please contact your system administrator. (5321)

 I have Chnged ,security.validation.input.on=false , in Below path

C:\Program Files\jasperreports-server-4.5\apache-tomcat\webapps\jasperserver-pro\WEB-INF\classes\esapi\security-config.properties and setting:

Now My Jasper Soft Server Login Fine But I’m Facing One more  below Problem , the  Report Working Fine in IReport and same report upload in JasperSoftServer giving Problem.

 

RE: Cannot upload JRXML file in repository

 Error Message: Select a valid JRXML file

Version: JS4.5

OS: Windows

anil123's picture
Joined: Feb 16 2012 - 8:20pm
Last seen: 7 years 4 months ago
0

  

When I’m try to login to the My Jaspersoft server in that Time i Face These below Error.

The server has encountered an error. Please excuse the inconvenience. An error has occurred. Please contact your system administrator. (5321)

 I have Chnged ,security.validation.input.on=false , in Below path

C:Program Filesjasperreports-server-4.5apache-tomcatwebappsjasperserver-proWEB-INFclassesesapisecurity-config.properties and setting:

Now My Jasper Soft Server Login Fine But I’m Facing One more  below Problem , the  Report Working Fine in IReport and same report upload in JasperSoftServer giving Problem.

 

RE: Cannot upload  Local 

JRXML File

 Error Message: Select a valid JRXML file

Version: JS4.5

OS: Windows

anil123's picture
Joined: Feb 16 2012 - 8:20pm
Last seen: 7 years 4 months ago
0

Interesting ..... Error 5321 ...looks your harddisk space running out ? 

 How do you create your jrxml file ? 

If you are using ireport ....what is your version ? Best choice is iReport 4.5 on JS4.5

Is the user permission to database correctly set ? I assume you are using postgresql !

What is the JVM settings ?

can u upload your jrxml ? 

 

 

chenny's picture
13
Joined: Oct 9 2007 - 1:15pm
Last seen: 5 years 2 weeks ago
0

Hi Chen,

Appreciated your quick reply!!

I checked my JS settings and i found that nothing is disabled in Log settings(everything is at WARN level).

Also for this version sync part, I have a little doubt. I'm able to upload the jrxml files generated from same iReport designer version(4.0.1) of size <=16KB at JS of version 4, but the problem comes into picture only while uploading the file of 32KB.Just wondering if this was the problem of versions, then we might have faced this issue at that time also. I think there might be some other workaround also. Correct me if I'm wrong at any point !!!

Please help we really need the solution for this !!!!

Thanks in advance,

LK

lksingh's picture
14
Joined: Feb 20 2012 - 10:15pm
Last seen: 7 years 3 months ago
0

   Dear chenny ,

1. My Computer C Drive 5GB Empty Space.

 2. I Created Jrxml with ireport and Version is Jasper soft 4.5

 3. My Database Permissions was Correct and using SqlServer2008R2.

 4. My JVM Settings: TomCat6.0

 5. I will Attach my Jrxml File.

 

When I’m try to login to the My Jaspersoft server in that Time i Face These below Error.

The server has encountered an error. Please excuse the inconvenience. An error has occurred. Please contact your system administrator. (5321)

 I have Chnged ,security.validation.input.on=false , in Below path

C:Program Filesjasperreports-server-4.5apache-tomcatwebappsjasperserver-proWEB-INFclassesesapisecurity-config.properties and setting:

Now My Jasper Soft Server Login Fine and Working But I’m Facing One more  below Problem , the  Report Working Fine in IReport and same report upload in JasperSoftServer giving Problem.

 

RE: Cannot upload  Local JRXML File

 Error Message: Select a valid JRXML file

Version: JS4.5

OS: Windows

 

anil123's picture
Joined: Feb 16 2012 - 8:20pm
Last seen: 7 years 4 months ago
0

 LK,

Since your jrxml contains an image, what is your image expression ? 

It must not contains any local path otherwise JS invalidate your jrxml.

You need to upload the image separately.

Hope this works !

Chen

chenny's picture
13
Joined: Oct 9 2007 - 1:15pm
Last seen: 5 years 2 weeks ago
0

This is actually bug in JS Pro 4.5

 

1. when we disable the security ,we cannot upload any files. This is serious bug and will be fixed in next coming version. For this version , you can use these workarounds :-

 

1. enable the security

2. and please give the detail error message in server login ..there will be other way to fix that error message..for example - editing the validation properties rather than turning off the security

 

So, please provide detailed error log when logging into the server for the 5321 error log [ from jasperserver.log]

 

thanks

Ramnik Kaur

Lead QA Engineer

ramnik's picture
331
Joined: Mar 16 2007 - 9:10am
Last seen: 12 years 3 months ago
0

ramnik
Wrote:

This is actually bug in JS Pro 4.5

 

1. when we disable the security ,we cannot upload any files. This is serious bug and will be fixed in next coming version. For this version , you can use these workarounds :-

 

1. enable the security

2. and please give the detail error message in server login ..there will be other way to fix that error message..for example - editing the validation properties rather than turning off the security

 

So, please provide detailed error log when logging into the server for the 5321 error log [ from jasperserver.log]

 

thanks

Ramnik Kaur

Lead QA Engineer

 

 

Hi Ramnik

Thank you. Is this a bug of JS-Pro 4.5 only? I think the community edition has the same error. I also found nothing in jasperserver.log.

regards,

ehaque

ehaque's picture
18
Joined: Jan 23 2011 - 4:07pm
Last seen: 4 years 9 months ago
0

Yes , it is bug also in JS CE 4.5

thanks

Ramnik Kaur

Lead QA Engineer

ramnik's picture
331
Joined: Mar 16 2007 - 9:10am
Last seen: 12 years 3 months ago
0

ramnik
Wrote:

This is actually bug in JS Pro 4.5

 

1. when we disable the security ,we cannot upload any files. This is serious bug and will be fixed in next coming version. For this version , you can use these workarounds :-

 

1. enable the security

2. and please give the detail error message in server login ..there will be other way to fix that error message..for example - editing the validation properties rather than turning off the security

 

So, please provide detailed error log when logging into the server for the 5321 error log [ from jasperserver.log]

 

thanks

Ramnik Kaur

Lead QA Engineer

 

Dear ramnik, 

Iam also facing problem . Iam using  Enterprize JS4.5 and  i Attach my jasperserver.log   ,  please  help me .

 

 

2012-03-01 10:01:43,750  WARN SingletonEhCacheProvider,Thread-1:92 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.UpdateTimestampsCache]; using defaults.

2012-03-01 10:01:43,781  WARN SingletonEhCacheProvider,Thread-1:92 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.StandardQueryCache]; using defaults.

2012-03-01 10:01:47,406  WARN PermissionsListProtectionDomainProvider,Thread-1:61 - A security manager has not been configured for the JVM. The protection domain set for the reports will NOT be effective.

2012-03-01 10:02:02,578 ERROR LocalDataSourceJobStore,Thread-1:2344 - ClusterManager: Error managing cluster: Failure checking-in: ERROR: could not open file "base/16385/17377": No such file or directory

org.quartz.JobPersistenceException: Failure checking-in: ERROR: could not open file "base/16385/17377": No such file or directory [See nested exception: org.postgresql.util.PSQLException: ERROR: could not open file "base/16385/17377": No such file or directory]

            at org.quartz.impl.jdbcjobstore.JobStoreSupport.clusterCheckIn(JobStoreSupport.java:2085)

            at org.quartz.impl.jdbcjobstore.JobStoreCMT.doCheckin(JobStoreCMT.java:1340)

            at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:2338)

            at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.initialize(JobStoreSupport.java:2325)

            at org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:506)

            at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:402)

            at org.quartz.impl.StdScheduler.start(StdScheduler.java:147)

            at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.QuartzSchedulerControl.start(QuartzSchedulerControl.java:61)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:597)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

            at java.security.AccessController.doPrivileged(Native Method)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

            at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

            at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

            at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)

            at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)

            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)

            at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)

            at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)

            at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)

            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)

            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)

            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)

            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)

            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

            at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)

            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)

            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)

            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)

            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)

            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

            at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)

            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

            at org.apache.catalina.core.StandardService.start(StandardService.java:519)

            at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)

            at org.apache.catalina.startup.Catalina.start(Catalina.java:581)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:597)

            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

* Nested Exception (Underlying Cause) ---------------

org.postgresql.util.PSQLException: ERROR: could not open file "base/16385/17377": No such file or directory

            at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)

            at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)

            at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)

            at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)

            at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)

            at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)

            at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:93)

            at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectSchedulerStateRecords(StdJDBCDelegate.java:3693)

            at org.quartz.impl.jdbcjobstore.JobStoreSupport.clusterCheckIn(JobStoreSupport.java:2035)

            at org.quartz.impl.jdbcjobstore.JobStoreCMT.doCheckin(JobStoreCMT.java:1340)

            at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:2338)

            at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.initialize(JobStoreSupport.java:2325)

            at org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:506)

            at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:402)

            at org.quartz.impl.StdScheduler.start(StdScheduler.java:147)

            at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.QuartzSchedulerControl.start(QuartzSchedulerControl.java:61)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:597)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

            at java.security.AccessController.doPrivileged(Native Method)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

            at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

            at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

            at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)

            at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)

            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)

            at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)

            at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)

            at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)

            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)

            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)

            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)

            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)

            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

            at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)

            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)

            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)

            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)

            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)

            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

            at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)

            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

            at org.apache.catalina.core.StandardService.start(StandardService.java:519)

            at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)

            at org.apache.catalina.startup.Catalina.start(Catalina.java:581)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:597)

            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

2012-03-01 10:02:04,156  WARN ChainedTilesRequestContextFactory,Thread-1:105 - Cannot find TilesRequestContextFactory class org.apache.tiles.portlet.context.PortletTilesRequestContextFactory

2012-03-01 10:02:07,000  WARN XmlaServlet,Thread-1:615 - Use default character encoding from HTTP client

2012-03-01 10:02:36,953  WARN JILicenseFilter,http-8080-2:93 - License accepted. Thanks!

Note that Enterprise Evaluation license expires on 3/30/12 11:59 PM.

2012-03-01 10:03:01,703  WARN JSESAPISecurityConfiguration,http-8080-3:652 - SUCCESSFULLY LOADED ESAPI.properties via the CLASSPATH from 'esapi/' using current thread context class loader!

2012-03-01 10:03:01,734  WARN JSESAPISecurityConfiguration,http-8080-3:652 - SUCCESSFULLY LOADED validation.properties via the CLASSPATH from 'esapi/' using current thread context class loader!

2012-03-01 10:03:01,875  WARN IntrusionDetector,http-8080-3:449 - [SECURITY FAILURE Anonymous:null@unknown -> /ExampleApplication/IntrusionDetector] Invalid input: context=userTimezone-Login_context, type(Timezone)=^[\p{L}\p{N}_\/\:\+]*$, input=GMT 08:00

org.owasp.esapi.errors.ValidationException: userTimezone-Login_context: Invalid input. Please conform to regex ^[\p{L}\p{N}_\/\:\+]*$ with a maximum length of 100

            at org.owasp.esapi.reference.validation.StringValidationRule.checkWhitelist(StringValidationRule.java:144)

            at org.owasp.esapi.reference.validation.StringValidationRule.checkWhitelist(StringValidationRule.java:160)

            at org.owasp.esapi.reference.validation.StringValidationRule.getValid(StringValidationRule.java:284)

            at org.owasp.esapi.reference.DefaultValidator.getValidInput(DefaultValidator.java:213)

            at com.jaspersoft.jasperserver.api.security.validators.ValidatorImpl.validate(ValidatorImpl.java:345)

            at com.jaspersoft.jasperserver.api.security.validators.ValidatorImpl.validate(ValidatorImpl.java:251)

            at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.validate(WebAppSecurityFilter.java:175)

            at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:82)

            at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)

            at com.jaspersoft.jasperserver.war.MultipartRequestWrapperFilter.doFilter(MultipartRequestWrapperFilter.java:90)

            at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)

            at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)

            at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

            at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)

            at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188)

            at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

            at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67)

            at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)

            at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

            at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)

            at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)

            at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)

            at java.lang.Thread.run(Thread.java:619)

2012-03-01 10:03:01,953  WARN JSCommonController,http-8080-3:202 - There was a security error

 

 

 

 

 

anil123's picture
Joined: Feb 16 2012 - 8:20pm
Last seen: 7 years 4 months ago
0

Here is the seeting that will do the trick :-

go to Jasperserver-pro\\WEB-INF\\classes\\esapi\\validation.properties file AND FIX THIS STRING

your current string should be sth like this

Validator.Timezone - ^[p{L}p{N}_/:+]*$,

Change it to :-

Validator.Timezone=^[\\\\p{L}\\\\p{N}_\\\\-\\\\/\\\\:\\\\+\\\\s]*$

Ramnik Kaur

Lead QA Engineer

ramnik's picture
331
Joined: Mar 16 2007 - 9:10am
Last seen: 12 years 3 months ago
0

ramnik
Wrote:

Here is the seeting that will do the trick :-

go to Jasperserver-pro\WEB-INF\classes\esapi\validation.properties file AND FIX THIS STRING

your current string should be sth like this

Validator.Timezone - ^[p{L}p{N}_/:+]*$,

Change it to :-

Validator.Timezone=^[\\p{L}\\p{N}_\\-\\/\\:\\+\\s]*$

Ramnik Kaur

Lead QA Engineer

 

Dear ramnik,

 Thanks for your help , my problem was solved .

Thanks and Regards,

Anil kumar .k

 

 

 

 


 

 

 

anil123's picture
Joined: Feb 16 2012 - 8:20pm
Last seen: 7 years 4 months ago
0
Also check your file permissions, they can cause similar errors uploading from ireport

e.g. check jasperserver.log or catalina.out and look for file io errors.
ll
chmod -R tomcat webapps/
chgrp -R tomcat webapps/
kcd's picture
kcd
211
Joined: Jul 26 2011 - 1:51am
Last seen: 4 years 10 months ago
0

Hi All,

I successfully performed creation, upload reports from iReporta to JR Server and also could add reports to JR Server repository from within the server. Iused JR 4.0 and JR 4.5 versions on VIsta.

The company I am doing work installed JR Server 4.5 on Fedora machine. I am trying to add reports resources: image and jrxml file from within the JR server, but I am receiving upload error for the image and for the file.

I checked the settings in timezone validation properties file and it is as it was suggested above.  There is nothing in jasper.log file and Catalina log files.-the same output.

They gave me access via TeamViewer. I did not install JR Server on that machine. I am not having full control of the server.

Is it related to access-permission problem?

Thanks

Code:
2012-03-16 01:02:00,049  WARN LoggerListener,http-8080-1:60 - Authentication event AuthenticationSuccessEvent: jasperadmin; details: org.springframework.security.ui.WebAuthenticationDetails@fffe3f86: RemoteIpAddress: 127.0.0.1; SessionId: EE37DF17A03F0A2328179A9BED99E1B7
2012-03-16 01:02:00,065  WARN LoggerListener,http-8080-1:60 - Authentication event InteractiveAuthenticationSuccessEvent: jasperadmin; details: org.springframework.security.ui.WebAuthenticationDetails@fffe3f86: RemoteIpAddress: 127.0.0.1; SessionId: EE37DF17A03F0A2328179A9BED99E1B7
 
2012-03-16 01:02:00,049  WARN LoggerListener,http-8080-1:60 - Authentication event AuthenticationSuccessEvent: jasperadmin; details: org.springframework.security.ui.WebAuthenticationDetails@fffe3f86: RemoteIpAddress: 127.0.0.1; SessionId: EE37DF17A03F0A2328179A9BED99E1B7
2012-03-16 01:02:00,065  WARN LoggerListener,http-8080-1:60 - Authentication event InteractiveAuthenticationSuccessEvent: jasperadmin; details: org.springframework.security.ui.WebAuthenticationDetails@fffe3f86: RemoteIpAddress: 127.0.0.1; SessionId: EE37DF17A03F0A2328179A9BED99E1B7
</td></tr></tbody></table>
adriana111's picture
Joined: Jan 18 2012 - 3:26pm
Last seen: 7 years 5 months ago
Feedback