[jira] [Commented] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Rahul S (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16995425#comment-16995425
 ] 

Rahul S commented on JUDDI-999:
---

Thanks a lot [~spyhunter99] for your prompt responses and kind coordination.

 

We are successfully able to connect to SQL Server with the patch you provided. 
It has unblocked us to go with our QA releases and is a big relief. We will 
wait for official release of 3.3.7 and accommodate it in our RC and RTM 
releases. 

The reason for "_The type class org.apache.juddi.model.TmodelInstanceInfo has 
not been enhanced_" was that we were modifying and building the 
'TmodelInstanceInfo' java file [by changing the column length to 4096 etc.] and 
injecting it into "juddi-core-openjpa" jar file. This was not working possibly 
because the JPA annotation was not getting processed correctly. 

 

I'd like to convey my high regards to you from all my team for your help !!

Thanks a lot!

 

Rahul

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
> Attachments: juddi-core-3.3.7-SNAPSHOT.jar, 
> juddi-core-openjpa-3.3.7-SNAPSHOT.jar
>
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 

[jira] [Issue Comment Deleted] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Amol Bhonsle (Jira)


 [ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amol Bhonsle updated JUDDI-999:
---
Comment: was deleted

(was: Hi [~spyhunter99]

I have tried using the patch you have shared. This helped to get rid off size 
limitation of 8192 which SQL Server is having. The table got created in 
database with datatype as text. However even with your patch we still get 
second error whih Rahul had posted. i.e.  
The type "class org.apache.juddi.model.TmodelInstanceInfo" has not been 
enhanced.
Can you please help us to identify the fix for it.

 )

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
> Attachments: juddi-core-3.3.7-SNAPSHOT.jar, 
> juddi-core-openjpa-3.3.7-SNAPSHOT.jar
>
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info 
> (id BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) 
> NOT NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002] at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
>  at 
> 

[jira] [Commented] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Amol Bhonsle (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16995356#comment-16995356
 ] 

Amol Bhonsle commented on JUDDI-999:


Hi [~spyhunter99]

I have tried using the patch you have shared. This helped to get rid off size 
limitation of 8192 which SQL Server is having. The table got created in 
database with datatype as text. However even with your patch we still get 
second error whih Rahul had posted. i.e.  
The type "class org.apache.juddi.model.TmodelInstanceInfo" has not been 
enhanced.
Can you please help us to identify the fix for it.

 

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
> Attachments: juddi-core-3.3.7-SNAPSHOT.jar, 
> juddi-core-openjpa-3.3.7-SNAPSHOT.jar
>
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info 
> (id BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) 
> NOT NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002] at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
>  at 
> 

[jira] [Commented] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Alex O'Ree (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16995165#comment-16995165
 ] 

Alex O'Ree commented on JUDDI-999:
--

patched files attached, seems to be ok. you'll have to find and replace all 
instances of juddi-core-VERSION.jar with the attached 
juddi-core-3.3.7-SNAPSHOT.jar and replace juddi-core-openjpa-VERSION.jar with 
the respective file. This will need to be done with the server not running. In 
either case, it should be somewhere in juddiv3.war/WEB-INF/lib

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
> Attachments: juddi-core-3.3.7-SNAPSHOT.jar, 
> juddi-core-openjpa-3.3.7-SNAPSHOT.jar
>
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info 
> (id BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) 
> NOT NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002] at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203)
>  at 
> 

[jira] [Updated] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Alex O'Ree (Jira)


 [ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex O'Ree updated JUDDI-999:
-
Attachment: juddi-core-openjpa-3.3.7-SNAPSHOT.jar

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
> Attachments: juddi-core-3.3.7-SNAPSHOT.jar, 
> juddi-core-openjpa-3.3.7-SNAPSHOT.jar
>
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info 
> (id BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) 
> NOT NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002] at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:59)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:914)
>  at 
> 

[jira] [Updated] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Alex O'Ree (Jira)


 [ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex O'Ree updated JUDDI-999:
-
Attachment: juddi-core-3.3.7-SNAPSHOT.jar

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
> Attachments: juddi-core-3.3.7-SNAPSHOT.jar
>
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info 
> (id BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) 
> NOT NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002] at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:59)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:914)
>  at 
> org.apache.openjpa.lib.jdbc.DelegatingStatement.executeUpdate(DelegatingStatement.java:118)
>  at 
> 

[jira] [Commented] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Alex O'Ree (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16995156#comment-16995156
 ] 

Alex O'Ree commented on JUDDI-999:
--

I think i found the fix, which is to add the jpa annotation '@Lob'  Testing it 
now. It should produce a ddl of varchar(max) for mssql. It will take a few days 
to cut a release. As soon as i've confirm that it doesn't cause any negative 
affects, i'll attach a patched jar file along with instructions for apply it

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info 
> (id BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) 
> NOT NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002] at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:59)
>  at 
> 

[jira] [Commented] (JUDDI-558) Access Control Enhancements

2019-12-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16995148#comment-16995148
 ] 

ASF subversion and git services commented on JUDDI-558:
---

Commit d352ac0aa6118934bd5bab204ea14dec873651c6 in juddi's branch 
refs/heads/feature/JUDDI-558 from Alex O'Ree
[ https://gitbox.apache.org/repos/asf?p=juddi.git;h=d352ac0 ]

JUDDI-558 processing with enhanced security, still has lots of unit test 
failures, work in progress


> Access Control Enhancements
> ---
>
> Key: JUDDI-558
> URL: https://issues.apache.org/jira/browse/JUDDI-558
> Project: jUDDI
>  Issue Type: Improvement
>  Components: core
>Reporter: Alex O'Ree
>Assignee: Alex O'Ree
>Priority: Major
> Fix For: 3.4
>
> Attachments: UDDI Access Control Proposal.pdf, access control 
> enhancements incomplete.patch
>
>
> Implementation of revised access control mechanism that enables basic CRUD 
> access control lists on a per business, per service basis with inheritable 
> controls from a parent object



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JUDDI-558) Access Control Enhancements

2019-12-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16995149#comment-16995149
 ] 

ASF subversion and git services commented on JUDDI-558:
---

Commit 56fb8a92c1ee463ec166b386d9642cd3453d184d in juddi's branch 
refs/heads/feature/JUDDI-558 from Alex O'Ree
[ https://gitbox.apache.org/repos/asf?p=juddi.git;h=56fb8a9 ]

JUDDI-558 WIP


> Access Control Enhancements
> ---
>
> Key: JUDDI-558
> URL: https://issues.apache.org/jira/browse/JUDDI-558
> Project: jUDDI
>  Issue Type: Improvement
>  Components: core
>Reporter: Alex O'Ree
>Assignee: Alex O'Ree
>Priority: Major
> Fix For: 3.4
>
> Attachments: UDDI Access Control Proposal.pdf, access control 
> enhancements incomplete.patch
>
>
> Implementation of revised access control mechanism that enables basic CRUD 
> access control lists on a per business, per service basis with inheritable 
> controls from a parent object



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Rahul S (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16994887#comment-16994887
 ] 

Rahul S commented on JUDDI-999:
---

Thanks a lot [~spyhunter99]

If there is no other solution then we will have to go with the solution you 
suggested. A code patch may be really helpful. Please attach that to this issue 
that if that is possible.

By the way, I'm still wondering why can't we reduce the length of column 
"instance_parms" for the "j3_tmodel_instance_info" table? We tried it however 
faced another issue
{code:java}
The type "class org.apache.juddi.model.TmodelInstanceInfo" has not been 
enhanced.{code}
If this sounds like a fair issue for supporting SQLServer then can we include 
it in the JUDDI OOTB code itself so that other consumer can also benefit!

Regards, Rahul

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info 
> (id BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) 
> NOT NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002] at 
> 

[jira] [Commented] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Alex O'Ree (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16994844#comment-16994844
 ] 

Alex O'Ree commented on JUDDI-999:
--

i am not sure how your deployment mechanism works, but it is possible to run a 
sql script before starting juddi?

if not, i can make a patch for you and attach it to this issue. The class you 
referenced is the place to make the change. There may be other classes with the 
same issue though

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info 
> (id BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) 
> NOT NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002] at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:59)
>  at 
> 

[jira] [Commented] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Rahul S (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16994735#comment-16994735
 ] 

Rahul S commented on JUDDI-999:
---

Thanks [~spyhunter99] for your input.

We cannot create table manually as we have multi-client and dynamic deployment 
kind of product. And how can we ensure that manually creating table will work 
in every case? 

>> "Just replace varchar(8192) with varchar(max)"

How can we do this in "TmodelInstanceInfo.java" class? Below is the snippet 
from this class where we specifies the column length.

 
{code:java}
@Column(name = "instance_parms", length = 8192)
 public String getInstanceParms() {
       return this.instanceParms;
 }
 public void setInstanceParms(String instanceParms) {
      this.instanceParms = instanceParms;
 }{code}
 

This seems a problem of compatibility with SQLServer. We are supporting various 
versions of SQLServer from 12 to latest. 

Please let me know if you could elaborate your solution a little. Or if you 
have could think of some alternative.

Thanks, Rahul

 

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 

[jira] [Commented] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Alex O'Ree (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16994705#comment-16994705
 ] 

Alex O'Ree commented on JUDDI-999:
--

so one option is to manually create the tables using sql studio. There should 
be scripts in the distribution zip.

 

i think may fix the issue for you...maybe, i haven't tested it but it should 
work

 

 create table j3_tmodel_instance_info (id numeric(19,0) not null, 
instance_parms varchar(max), tmodel_key varchar(255) not null, entity_key 
varchar(255) not null, primary key (id));

 

sourced from docs/ddl/mssql2000.ddl. you may run into issues with other tables. 
Just replace varchar(8192) with varchar(max)

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info 
> (id BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) 
> NOT NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002] at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
>  at 
> 

[jira] [Commented] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Alex O'Ree (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16994698#comment-16994698
 ] 

Alex O'Ree commented on JUDDI-999:
--

what version of sql server are you using?

> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
> following issue on start-up.
> {code:java}
> Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002]Caused by:  
> org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
> NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
> entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] 
> at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>  at 
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) 
> at org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
> org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
> org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
> org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
>  at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
> java.lang.reflect.Constructor.newInstance(Unknown Source) at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 
> 36 moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
> (8192) given to the column 'instance_parms' exceeds the maximum allowed for 
> any data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info 
> (id BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) 
> NOT NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
> state=S0002] at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:59)
>  at 
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:914)
>  at 
> org.apache.openjpa.lib.jdbc.DelegatingStatement.executeUpdate(DelegatingStatement.java:118)
>  at 
> 

[jira] [Updated] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Rahul S (Jira)


 [ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rahul S updated JUDDI-999:
--
Description: 
We were using SQLServer with JUDDI 3.0.4. It is working fine so far.

Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
following issue on start-up.
{code:java}
Caused by:  
org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
the column 'instance_parms' exceeds the maximum allowed for any data type 
(8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
state=S0002]Caused by:  
org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
the column 'instance_parms' exceeds the maximum allowed for any data type 
(8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] at 
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
 at 
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
 at 
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
 at 
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
 at 
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
 at 
org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
 at 
org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
 at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) at 
org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
 at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
java.lang.reflect.Constructor.newInstance(Unknown Source) at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 36 
moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
(8192) given to the column 'instance_parms' exceeds the maximum allowed for any 
data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id 
BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT 
NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
state=S0002] at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
 at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203)
 at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:59)
 at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:914)
 at 
org.apache.openjpa.lib.jdbc.DelegatingStatement.executeUpdate(DelegatingStatement.java:118)
 at org.apache.openjpa.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1231) 
at org.apache.openjpa.jdbc.schema.SchemaTool.createTable(SchemaTool.java:976) 
at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:552) at 
org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:364) at 
org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:341) at 
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:505) ... 58 
more
{code}
 

The error is "*{color:#de350b}The size (8192) given to the column 
'instance_parms' exceeds the maximum allowed for any data type (8000){color}*"

Eventually the table "j3_tmodel_instance_info" failed to create. We are using 
SQLServer version 12.0.5207.0. It poses a limit on varchar fields to 8000.

We have tried modifying the column length in class "TmodelInstanceInfo" and 
redeploying the app, however then it starts giving other 

[jira] [Updated] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Rahul S (Jira)


 [ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rahul S updated JUDDI-999:
--
Description: 
We were using SQLServer with JUDDI 3.0.4. It is working fine so far.

Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
following issue on start-up.

 
{noformat}
Caused by:  
org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
the column 'instance_parms' exceeds the maximum allowed for any data type 
(8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
state=S0002]Caused by:  
org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
the column 'instance_parms' exceeds the maximum allowed for any data type 
(8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] at 
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
 at 
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
 at 
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
 at 
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
 at 
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
 at 
org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
 at 
org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
 at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) at 
org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
 at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
java.lang.reflect.Constructor.newInstance(Unknown Source) at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 36 
moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
(8192) given to the column 'instance_parms' exceeds the maximum allowed for any 
data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id 
BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT 
NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
state=S0002] at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
 at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203)
 at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:59)
 at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:914)
 at 
org.apache.openjpa.lib.jdbc.DelegatingStatement.executeUpdate(DelegatingStatement.java:118)
 at org.apache.openjpa.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1231) 
at org.apache.openjpa.jdbc.schema.SchemaTool.createTable(SchemaTool.java:976) 
at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:552) at 
org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:364) at 
org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:341) at 
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:505) ... 58 
more{noformat}
 

 

The error is "The size (8192) given to the column 'instance_parms' exceeds the 
maximum allowed for any data type (8000)"

Eventually the table "j3_tmodel_instance_info" failed to create. We are using 
SQLServer version 12.0.5207.0. It poses a limit on varchar fields to 8000.

We have tried modifying the column length in class "TmodelInstanceInfo" and 
redeploying the app, however then it starts giving other issue.
{noformat}

[jira] [Updated] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Rahul S (Jira)


 [ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rahul S updated JUDDI-999:
--
Description: 
We were using SQLServer with JUDDI 3.0.4. It is working fine so far.

Now, we are trying to move to JUDDI version 3.3.6. We are encountering 
following issue on start-up.
{code:java}
Caused by:  
org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
the column 'instance_parms' exceeds the maximum allowed for any data type 
(8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
state=S0002]Caused by:  
org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
the column 'instance_parms' exceeds the maximum allowed for any data type 
(8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, state=S0002] at 
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:559) at 
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:455) at 
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
 at 
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
 at 
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
 at 
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
 at 
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
 at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59)
 at 
org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:48)
 at 
org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:174)
 at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:160) at 
org.apache.juddi.config.AppConfig.(AppConfig.java:82) at 
org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:272) at 
org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:298) at 
org.apache.juddi.api.impl.AuthenticatedService.(AuthenticatedService.java:75)
 at org.apache.juddi.api.impl.UDDIInquiryImpl.(UDDIInquiryImpl.java:88) 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at 
java.lang.reflect.Constructor.newInstance(Unknown Source) at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 36 
moreCaused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The size 
(8192) given to the column 'instance_parms' exceeds the maximum allowed for any 
data type (8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id 
BIGINT NOT NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT 
NULL, entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
state=S0002] at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
 at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203)
 at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:59)
 at 
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:914)
 at 
org.apache.openjpa.lib.jdbc.DelegatingStatement.executeUpdate(DelegatingStatement.java:118)
 at org.apache.openjpa.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1231) 
at org.apache.openjpa.jdbc.schema.SchemaTool.createTable(SchemaTool.java:976) 
at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:552) at 
org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:364) at 
org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:341) at 
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:505) ... 58 
more
{code}
 

The error is "The size (8192) given to the column 'instance_parms' exceeds the 
maximum allowed for any data type (8000)"

Eventually the table "j3_tmodel_instance_info" failed to create. We are using 
SQLServer version 12.0.5207.0. It poses a limit on varchar fields to 8000.

We have tried modifying the column length in class "TmodelInstanceInfo" and 
redeploying the app, however then it starts giving other issue.
{noformat}
The type 

[jira] [Updated] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Rahul S (Jira)


 [ 
https://issues.apache.org/jira/browse/JUDDI-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rahul S updated JUDDI-999:
--
Description: 
We were using SQLServer with JUDDI 3.0.4. It is working fine so far.

Now, we are trying to move to JUDDI version 3.3.6. We are encountering issue on 
start-up.

 
{code:java}
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'inquiry': Cannot create inner bean '(inner bean)#699515f0' of type 
[org.apache.juddi.api.impl.UDDIInquiryImpl] while setting constructor argument; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name '(inner bean)#699515f0': Instantiation of bean 
failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.apache.juddi.api.impl.UDDIInquiryImpl]: Constructor threw exception; 
nested exception is  
org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
the column 'instance_parms' exceeds the maximum allowed for any data type 
(8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
state=S0002]{code}
 

The error is "The size (8192) given to the column 'instance_parms' exceeds the 
maximum allowed for any data type (8000)"

Eventually the table "j3_tmodel_instance_info" failed to create. We are using 
SQLServer version 12.0.5207.0. It poses a limit on varchar fields to 8000.

We have tried modifying the column length in class "TmodelInstanceInfo" and 
redeploying the app, however then it starts giving other issue.
{noformat}
The type "class org.apache.juddi.model.TmodelInstanceInfo" has not been 
enhanced.{noformat}
 

Could anyone please help us. We are in RED flag and our application cease to 
work after update to JUDDI 3.3.6

Any help be greatly appreciated. Kindly let me know if I need to provide more 
information to assist investigation.

Thanks a lot

 

  was:
We were using SQLServer with JUDDI 3.0.4. It is working fine so far.

Now, we are trying to move to JUDDI version 3.3.6. We are encountering issue on 
start-up.

 
{code:java}
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'inquiry': Cannot create inner bean '(inner bean)#699515f0' of type 
[org.apache.juddi.api.impl.UDDIInquiryImpl] while setting constructor argument; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name '(inner bean)#699515f0': Instantiation of bean 
failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.apache.juddi.api.impl.UDDIInquiryImpl]: Constructor threw exception; 
nested exception is  
org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
the column 'instance_parms' exceeds the maximum allowed for any data type 
(8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
state=S0002]{code}
 

The error is "The size (8192) given to the column 'instance_parms' exceeds the 
maximum allowed for any data type (8000)"

Eventually the table "j3_tmodel_instance_info" failed to create. We are using 
SQLServer version 12.0.5207.0. It poses a limit on varchar fields to 8000.

We have tried modifying the column length in class "TmodelInstanceInfo" and 
redeploying the app, however then it starts giving other issue.
{noformat}
The type "class org.apache.juddi.model.TmodelInstanceInfo" has not been 
enhanced.{noformat}
 

Could anyone please help us. We are in RED flag and our application cease to 
work after update to JUDDI 3.3.6

Any help be greatly appreciated. 

Thanks a lot

 


> Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to 
> the column 'instance_parms' exceeds the maximum allowed for any data type 
> (8000)
> ---
>
> Key: JUDDI-999
> URL: https://issues.apache.org/jira/browse/JUDDI-999
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-tomcat
>Affects Versions: 3.3.6
>Reporter: Rahul S
>Priority: Major
>  Labels: jUDDI, juddi
>
> We were using SQLServer with JUDDI 3.0.4. It is working fine so far.
> Now, we are trying to move to JUDDI version 3.3.6. We are encountering issue 
> on start-up.
>  
> {code:java}
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'inquiry': Cannot create inner bean '(inner bean)#699515f0' of type 
> 

[jira] [Created] (JUDDI-999) Issue with SQL Server Database with JUDDI 3.3.6 : The size (8192) given to the column 'instance_parms' exceeds the maximum allowed for any data type (8000)

2019-12-12 Thread Rahul S (Jira)
Rahul S created JUDDI-999:
-

 Summary: Issue with SQL Server Database with JUDDI 3.3.6 : The 
size (8192) given to the column 'instance_parms' exceeds the maximum allowed 
for any data type (8000)
 Key: JUDDI-999
 URL: https://issues.apache.org/jira/browse/JUDDI-999
 Project: jUDDI
  Issue Type: Bug
  Components: juddi-tomcat
Affects Versions: 3.3.6
Reporter: Rahul S


We were using SQLServer with JUDDI 3.0.4. It is working fine so far.

Now, we are trying to move to JUDDI version 3.3.6. We are encountering issue on 
start-up.

 
{code:java}
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'inquiry': Cannot create inner bean '(inner bean)#699515f0' of type 
[org.apache.juddi.api.impl.UDDIInquiryImpl] while setting constructor argument; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name '(inner bean)#699515f0': Instantiation of bean 
failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.apache.juddi.api.impl.UDDIInquiryImpl]: Constructor threw exception; 
nested exception is  
org.apache.openjpa.persistence.PersistenceException: The size (8192) given to 
the column 'instance_parms' exceeds the maximum allowed for any data type 
(8000). {stmnt 1090863652 CREATE TABLE j3_tmodel_instance_info (id BIGINT NOT 
NULL, instance_parms VARCHAR(8192), tmodel_key VARCHAR(255) NOT NULL, 
entity_key VARCHAR(255) NOT NULL, PRIMARY KEY (id))} [code=131, 
state=S0002]{code}
 

The error is "The size (8192) given to the column 'instance_parms' exceeds the 
maximum allowed for any data type (8000)"

Eventually the table "j3_tmodel_instance_info" failed to create. We are using 
SQLServer version 12.0.5207.0. It poses a limit on varchar fields to 8000.

We have tried modifying the column length in class "TmodelInstanceInfo" and 
redeploying the app, however then it starts giving other issue.
{noformat}
The type "class org.apache.juddi.model.TmodelInstanceInfo" has not been 
enhanced.{noformat}
 

Could anyone please help us. We are in RED flag and our application cease to 
work after update to JUDDI 3.3.6

Any help be greatly appreciated. 

Thanks a lot

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)