Colocar relatorio .jasper na web - urgente

2 respostas
M

ola galera, beleza …

tenho um relatorio boleto.jasper que fiz usando o ireport …
e preciso urgente colocar isso na web, entao como estou desenvolvendo java pra desktop, uso o apache com o java web start para executar minha aplicacao na web …

criei um .jar com tudo, com as figuras, os relatorios .jasper, e quando executo esse .jar local, na maquina, funciona, quando tento rodar na web, da erro, o que pode ser …

o que faco pra executar esse .jasper na web …

infelizmente nao tenho muito tempo pra mudar esse relatorio, ate porque eh um boleto, meio chato pra fazer, e comecar de novo nao rola, porque esse relatorio ja deveria estar rodando na web desde a semana passada …

obrigado

2 Respostas

V

Qual o erro que aparece?

M

erro :

Exception in thread AWT-EventQueue-0 java.security.AccessControlException: access denied (java.io.FilePermission arquivo.txt read)

at java.security.AccessControlContext.checkPermission(Unknown Source)

at java.security.AccessController.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkRead(Unknown Source)

at java.io.RandomAccessFile.<init>(Unknown Source)

at _lerAA.<init>(_lerAA.java:11)

at Acesso$2.actionPerformed(Acesso.java:38)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)
Criado 13 de junho de 2007
Ultima resposta 26 de jun. de 2007
Respostas 2
Participantes 2