[appengine-java] SAP SECKEY generation procedure required in java
can i validate the sap url seckey in java, using the url parameters Thanks in advance chandrashaker gattu -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] composit primary key issue
We are unable to use two fileds as the compisit primary keys in google datastore, its throwing follwing exception if we make two fields as primary key fileds.please help us to resolve this iusse our company class has two primary keys as below, we are using companyId,docId as primary keys *** @PersistenceCapable(identityType=IdentityType.DATASTORE) public class Company{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.SEQUENCE) private Long companyId; @PrimaryKey String docId } if we start the server we are getting the following Exception : s May 11, 2010 10:07:31 AM org.datanucleus.metadata.AbstractClassMetaData determineObjectIdClass SEVERE: Class com.atp.smartstore.DB.config.User has application- identity and no objectid-class specified yet has 2 primary key fields. Unable to use SingleFieldIdentity. Class com.atp.smartstore.DB.config.User has application-identity and no objectid-class specified yet has 2 primary key fields. Unable to use SingleFieldIdentity. May 11, 2010 10:07:31 AM org.datanucleus.enhancer.DataNucleusEnhancer main SEVERE: DataNucleus Enhancer completed with an error. Please review the enhancer log for full details. Some classes may have been enhanced but some caused errors Class com.atp.smartstore.DB.config.User has application-identity and no objectid-class specified yet has 2 primary key fields. Unable to use SingleFieldIdentity. org.datanucleus.metadata.InvalidMetaDataException: Class com.atp.smartstore.DB.config.User has application-identity and no objectid-class specified yet has 2 primary key fields. Unable to use SingleFieldIdentity. at org.datanucleus.metadata.AbstractClassMetaData.determineObjectIdClass(AbstractClassMetaData.java: 1032) at org.datanucleus.metadata.ClassMetaData.populate(ClassMetaData.java: 205) at org.datanucleus.metadata.MetaDataManager $1.run(MetaDataManager.java:2317) at java.security.AccessController.doPrivileged(Native Method) at org.datanucleus.metadata.MetaDataManager.populateAbstractClassMetaData(MetaDataManager.java: 2311) at org.datanucleus.metadata.MetaDataManager.populateFileMetaData(MetaDataManager.java: 2148) at org.datanucleus.metadata.MetaDataManager.initialiseFileMetaDataForUse(MetaDataManager.java: 864) at org.datanucleus.metadata.MetaDataManager.loadClasses(MetaDataManager.java: 433) at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java: 743) at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java: 545) at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java: 1252) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java: 57) at com.google.appengine.tools.enhancer.Enhance.(Enhance.java: 60) at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:41) -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: composit primary key issue
Hi datanucleus, Built-in object id classes not working in Google data store,we worked as example given in the fallowing url http://www.datanucleus.org/products/accessplatform/jdo/primary_key.html. but issue not resolved. Thanks On May 11, 10:02 pm, datanucleus wrote: > > Class com.atp.smartstore.DB.config.User has application-identity and no > > objectid-class specified yet has 2 primary > > key fields. Unable to use SingleFieldIdentity. > > Message seems clear enough to me. You want to have a composite PK yet > you haven't provided an object identity class; so provide one. JDO > only provides built-in object id classes when you have a single field > as PK. The DataNucleus docs define how to define your own. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: composit primary key issue
Hi Timofey, Any workaround without disturbing data store. thanks On May 12, 1:46 pm, Timofey Koolin wrote: > You can combine two fields in one string-field and use it as String PK > > On 11 май, 14:14, aptest1 actiprocess wrote: > > > > > > > We are unable to use two fileds as the compisit primary keys in google > > datastore, its throwing follwing exception if we make two fields as > > primary key fileds.please help us to resolve this iusse > > > our company class has two primary keys as below, we are using > > companyId,docId as primary keys > > *** > > > > > @PersistenceCapable(identityType=IdentityType.DATASTORE) > > public class Company{ > > �...@primarykey > > @Persistent(valueStrategy = IdGeneratorStrategy.SEQUENCE) > > private Long companyId; > > @PrimaryKey > > String docId > > > } > > > if we start the server we are getting the following Exception : > > *** > > *s > > May 11, 2010 10:07:31 AM > > org.datanucleus.metadata.AbstractClassMetaData determineObjectIdClass > > SEVERE: Class com.atp.smartstore.DB.config.User has application- > > identity and no objectid-class specified yet has 2 primary key fields. > > Unable to use SingleFieldIdentity. > > Class com.atp.smartstore.DB.config.User has application-identity and > > no objectid-class specified yet has 2 primary key fields. Unable to > > use SingleFieldIdentity. > > May 11, 2010 10:07:31 AM org.datanucleus.enhancer.DataNucleusEnhancer > > main > > SEVERE: DataNucleus Enhancer completed with an error. Please review > > the enhancer log for full details. Some classes may have been enhanced > > but some caused errors > > Class com.atp.smartstore.DB.config.User has application-identity and > > no objectid-class specified yet has 2 primary key fields. Unable to > > use SingleFieldIdentity. > > org.datanucleus.metadata.InvalidMetaDataException: Class > > com.atp.smartstore.DB.config.User has application-identity and no > > objectid-class specified yet has 2 primary key fields. Unable to use > > SingleFieldIdentity. > > at > > org.datanucleus.metadata.AbstractClassMetaData.determineObjectIdClass(Abstr > > actClassMetaData.java: > > 1032) > > at > > org.datanucleus.metadata.ClassMetaData.populate(ClassMetaData.java: > > 205) > > at org.datanucleus.metadata.MetaDataManager > > $1.run(MetaDataManager.java:2317) > > at java.security.AccessController.doPrivileged(Native Method) > > at > > org.datanucleus.metadata.MetaDataManager.populateAbstractClassMetaData(Meta > > DataManager.java: > > 2311) > > at > > org.datanucleus.metadata.MetaDataManager.populateFileMetaData(MetaDataManag > > er.java: > > 2148) > > at > > org.datanucleus.metadata.MetaDataManager.initialiseFileMetaDataForUse(MetaD > > ataManager.java: > > 864) > > at > > org.datanucleus.metadata.MetaDataManager.loadClasses(MetaDataManager.java: > > 433) > > at > > org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNu > > cleusEnhancer.java: > > 743) > > at > > org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.ja > > va: > > 545) > > at > > org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java: > > 1252) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > > 39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > > l.java: > > 25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at > > com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java: > > 57) > > at com.google.appengine.tools.enhancer.Enhance.(Enhance.java: > > 60) > > at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:41) > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to google-appengine-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+u
[appengine-java] 1MB URL Fetch limit
Hi all, I am currently developing a content management system on App engine using Google documents as the content store. User needs to upload documents using HTTP post request with document metadata and content In application I have to collect the data from request body and create the document in Google docs with the content and metadata And we can able to get the data in request and store in Google docs. But i have a problem with my application. i.e i can not upload document if its more than 1 Mb as URL fetch not support more than 1 Mb. http://code.google.com/appengine/docs/java/urlfetch/overview.html please kindly help me and if u can provide me with the statistics of how app engine is reliable. If anyone has a suggestion, it will be greatly appreciated! Thanks Mahesh.B -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: 1MB URL Fetch limit
Thank you for reply, Your idea is clear but In Google document list API upload option we need to use file object,and InputStream object is restricted class in App engine. And moreover enduser send document data in request body only. Thanks Mahesh.B -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Unable to upload more than 1 Mb file in Google App engine 1.5
Hi, When i try to upload more than 1 MB (Around 2 Mb) i get an error com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API call urlfetch.Fetch() was too large. at com.google.appengine.tools.development.ApiProxyLocalImpl$AsyncApiCall.callInternal(ApiProxyLocalImpl.java:439) But in 1.5 release they stated that request URL fetch is increased to 32 MB http://googleappengine.blogspot.com/2011/05/app-engine-150-release.html Thanks Mahesh.B -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: HTTP request and response sizes have been increased to 32 MB.... NOT
Yes, we are also getting same problem. We are updated latest Google app engine 1.5, then if we try to upload the file more than 1 MB Its throwing the following exception. com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API call urlfetch.Fetch() was too large. at com.google.appengine.tools.development.ApiProxyLocalImpl$AsyncApiCall.callInternal(ApiProxyLocalImpl.java:439) at com.google.appengine.tools.development.ApiProxyLocalImpl$AsyncApiCall.call(ApiProxyLocalImpl.java:412) at com.google.appengine.tools.development.ApiProxyLocalImpl$AsyncApiCall.call(ApiProxyLocalImpl.java:391) Please help us, whether Request size is increased to 32 MB or not ? Thanks Chandrashaker Gattu -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] UNSAFE Charrectors in HTTP requests url
Hi ALL, When i am posting a HTTP URL with unsafe char(like #) to a web-application in tomcat. Is the url with usafe char comes to tomcat or the unsafe-char url is brokes in HTTP request posting application. *myunsafe char url*:* * http://localhost:8080/web?userName=chandu&firstName=chandra#shaker. When i am try to post the request using the above url, entire url goes to the tomcat server or partial of the url is comes to tomcat -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/1wDYCn0-DKsJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Deploying application within client's Google apps?
Hi All, Is their any automated way to deploy application developed in java and Gwt in my customer Google apps. I don,t want to be responsible for hosting or billing my customer for hosting the application in the App Engine. Is there a simpler way to deploy the app to their domain? I know I can make them create their own app id and upload the app by giving them the WAR with a appengine-web.xml to upload. Thanks Mahesh.B -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Collection(folder) creation is taking 1 to 5 sec ?-any way to reduce the time?
HI ALL, We are creating a folder(Collection) in google documents using the gdocs-APIs(in java) in google applicaiton engine,But to create a folder its talking 1 to 5 seconds of the time. Is any way to reduce the time to crate a folder or document using gdocs-APIs. Thanks Chandrashaker Gattu -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/u6dpPhvgd3IJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] can we use Web-services in Gooogle app engine
Hi, We are planning to use web-services in Google app to communicate with SAP-system. 1.Is Google app engine supports the Web-services? 2.can we use web-services in Google app engine? Thanks in advance Chandrashaker Gattu -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Adobe air support in GAE
HI, Is it possible to use adobe air in GAE. Thanks Mahesh -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Unable to deploy in google app engine.
Hello All, i am using java as my app engine language and some jsp. It works fine in eclipse but when i am trying to deploy into app engine i am getting fallowing error. Initiating update. java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=smartscanact&version=8&; 400 Bad Request Error when loading application configuration: Unable to assign value '\..*\.jsp' to attribute 'url': Value '\..*\.jsp' for key url does not match expression '^(?!\^)/|\.|(\(.).*(?!\$).$' Debugging information may be found in C:\Users\AP3\AppData\Local\Temp\appengine-deploy7551389042936237499.log Thanks in advance sanjay -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.