[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1103) Deploying Seam example app into /trunk causes ZipException
by Gavin King (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-1103?page=all ]
Gavin King updated JBSEAM-1103:
-------------------------------
Fix Version/s: 1.3.0.GA
(was: 1.3.0.BETA1)
> Deploying Seam example app into /trunk causes ZipException
> ----------------------------------------------------------
>
> Key: JBSEAM-1103
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1103
> Project: JBoss Seam
> Issue Type: Bug
> Components: Core
> Environment: r61655 of /trunk and jboss-seam-1.2.0.PATCH1
> Reporter: Charles Crouch
> Fix For: 1.3.0.GA
>
> Attachments: cglib-nodep-2.1_3.jar, el-api.jar, el-ri.jar, jboss-seam-numberguess.ear
>
>
> Deploying a modified version of jboss-seam-numberguess.ear into the current Beta2 server causes ZipException's to be thrown during startup and trying to hit http://localhost:8080/seam-numberguess produces 500's. Deploying the same app into Beta1 works fine.
> Steps to reproduce:
> 1) Copy
> jboss-seam-1.2.0.PATCH1\lib\el-api.jar
> and
> jboss-seam-1.2.0.PATCH1\lib\el-ri.jar
> to
> build\output\jboss-5.0.0.Beta2\server\default\deployers\jbossweb.deployer\jsf-libs
> 2) Copy
> cglib-nodep-2.1_3.jar (version probably doesn't matter)
> to
> build\output\jboss-5.0.0.Beta2\server\default\lib
> 3) Copy modified jboss-seam-numberguess.ear
> to
> build\output\jboss-5.0.0.Beta2\server\default\deploy
> 4) Start the server and you get several exceptions like the following...
> 12:09:11,896 INFO [Catalina] Server startup in 190 ms
> 12:09:20,769 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-numberguess.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3 with dependencies:
> 12:09:24,244 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher ejbName: Dispatcher
> 12:09:24,484 WARN [JBossTimerServiceFactory] TIMER SERVICE IS NOT INSTALLED
> 12:09:24,484 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-numberguess.ear,jar=jboss-seam.jar,name=TransactionListener,service=EJB3 with dependencies:
> 12:09:26,216 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.TransactionListener ejbName: TransactionListener
> 12:09:29,441 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
> 12:09:35,319 INFO [TomcatDeployment] deploy, ctxPath=/seam-numberguess, vfsUrl=jboss-seam-numberguess.ear/jboss-seam-numberguess.war
> 12:09:38,895 INFO [ServletContextListener] Welcome to Seam 1.2.0.PATCH1
> 12:09:38,995 INFO [Scanner] scanning: vfsfile:/C:/usr/projects/current/jboss/trunk/build/output/jboss-5.0.0.Beta2/server/default/deploy/jboss-seam-numberguess.ear/jboss-seam.jar
> 12:09:38,995 WARN [Scanner] could not read entries
> java.util.zip.ZipException: The filename, directory name, or volume label syntax is incorrect
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:203)
> at java.util.zip.ZipFile.<init>(ZipFile.java:234)
> at org.jboss.seam.deployment.Scanner.handleArchive(Scanner.java:110)
> at org.jboss.seam.deployment.Scanner.scan(Scanner.java:96)
> at org.jboss.seam.deployment.NamespaceScanner.getPackages(NamespaceScanner.java:34)
> at org.jboss.seam.init.Initialization.addNamespaces(Initialization.java:590)
> at org.jboss.seam.init.Initialization.<init>(Initialization.java:80)
> at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 7 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1442) seam-gen fails when when setup hasn't been previously run
by Norman Richards (JIRA)
seam-gen fails when when setup hasn't been previously run
---------------------------------------------------------
Key: JBSEAM-1442
URL: http://jira.jboss.com/jira/browse/JBSEAM-1442
Project: JBoss Seam
Issue Type: Bug
Reporter: Norman Richards
Fix For: 1.3.0.ALPHA
seam-gen fails when chaining new-project after setup as in the release-process.txt:
[orb@78 jboss-seam]$ ./seam setup new-project
Buildfile: build.xml
setup:
[echo] Welcome to seam-gen :-)
[input] Enter your Java project workspace (the directory that contains your Seam projects) [C:/Projects]
/tmp/x
[input] Enter your JBoss home directory [C:/Program Files/jboss-4.0.5.GA]
/Users/orb/java/jboss-4.2.0.GA/
[input] Enter the project name [myproject]
[input] Is this project deployed as an EAR (with EJB components) or a WAR (with no EJB support) [ear] (ear,war,)
[input] Enter the Java package name for your session beans [com.mydomain.myproject]
[input] Enter the Java package name for your entity beans [com.mydomain.myproject]
[input] Enter the Java package name for your test cases [com.mydomain.myproject.test]
[input] What kind of database are you using? [hsql] (hsql,mysql,oracle,postgres,mssql,db2,sybase,enterprisedb,)
[input] Enter the Hibernate dialect for your database [org.hibernate.dialect.HSQLDialect]
[input] Enter the filesystem path to the JDBC driver jar [lib/hsqldb.jar]
[input] Enter JDBC driver class for your database [org.hsqldb.jdbcDriver]
[input] Enter the JDBC URL for your database [jdbc:hsqldb:.]
[input] Enter database username [sa]
[input] Enter database password []
[input] Enter the database schema name (it is OK to leave this blank) []
[input] Enter the database catalog name (it is OK to leave this blank) []
[input] Are you working with tables that already exist in the database? [n] (y,n,)
[input] Do you want to drop and recreate the database tables and data in import.sql each time you deploy? [n] (y,n,)
[propertyfile] Creating new property file: /Users/orb/seam-build/jboss-seam/seam-gen/build.properties
[echo] Installing JDBC driver jar to JBoss server
[echo] Type 'seam new-project' to create the new project
validate-workspace:
validate-project:
copy-lib:
[echo] Copying Seam jars to the ${workspace.home}/${project.name}/lib directory...
[copy] Copying 58 files to /Users/orb/seam-build/jboss-seam/seam-gen/${workspace.home}/${project.name}/lib
[echo] Copying Embeddable EJB3 configuration to the ${workspace.home}/${project.name}/embedded-ejb directory...
[copy] Copying 9 files to /Users/orb/seam-build/jboss-seam/seam-gen/${workspace.home}/${project.name}/embedded-ejb
file-copy-war:
file-copy-ear:
[echo] Copying resources needed for EAR deployment to the ${workspace.home}/${project.name}/resources directory...
setup-filters:
file-copy:
new-project:
[echo] A new Seam project named 'myproject' was created in the C:/Projects directory
[echo] Type 'seam explode' and go to http://localhost:8080/myproject
[echo] Eclipse Users: Add the project into Eclipse using File > New > Project and select General > Project (not Java Project)
[echo] NetBeans Users: Open the project in NetBeans
BUILD SUCCESSFUL
Total time: 18 seconds
The newly-created build.properties values are not used by new-project target.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 7 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1239) Throw distinquishable exception time if size limit of MultipartRequest is exceeded
by Christian Bauer (JIRA)
Throw distinquishable exception time if size limit of MultipartRequest is exceeded
----------------------------------------------------------------------------------
Key: JBSEAM-1239
URL: http://jira.jboss.com/jira/browse/JBSEAM-1239
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Reporter: Christian Bauer
Priority: Minor
java.lang.RuntimeException: Multipart request is larger than allowed size
org.jboss.seam.web.MultipartRequest.<init>(MultipartRequest.java:282)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:74)
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
I can't catch this and display a proper error message. Also the pages.xml exception handling doesn't catch it, since it happens too early in a filter. If there is any reasonable way we need to make this exception case more customizable.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 7 months