No bean named 'nullPGItemModel' is defined

JHeadstart Application Generator (build 10.1.3.0.97):
After trying to add a lov, I get the following error message:
Could not instantiate JhsApplicationGenerator class: No bean named 'nullPGItemModel' is defined: org.springframework.beans.factory.xml.XmlBeanFactory defining beans [applicationLayoutGenerator,facesConfigGenerator,regionMetaDataProcessor,includesGenerator,menuGenerator,nlsGenerator,pageGenerator,treeGenerator,generatorContext,findPageNameFormat,findPage,wizardFindPage,formPageNameFormat,formPage,wizardFormPage,formRegionPage,wizardFormRegionPage,selectPageNameFormat,selectPage,wizardSelectPage,treeFormPage,treePage,tablePageNameFormat,tablePage,wizardTablePage,lovTablePage,parentShuttlePage,wizardParentShuttlePage,intersectionShuttlePage,wizardIntersectionShuttlePage,formPageComponent,tablePageComponent,selectPageComponent,parentShuttlePageComponent,intersectionShuttlePageComponent,pgItemModelHelper,textInputPGItemModel,dateFieldPGItemModel,dateTimeFieldPGItemModel,secretFieldPGItemModel,fileUploadPGItemModel,fileDownloadPGItemModel,imagePGItemModel,editorPGItemModel,displayFieldPGItemModel,dropDownListPGItemModel,checkBoxPGItemModel,radio-verticalPGItemModel,radio-horizontalPGItemModel,hiddenPGItemModel,lovPGItemModel,pgGroupModel,pgDynamicDomainModel,pgStaticDomainModel,pgItemRegionModel,pgGroupRegionModel,stackedPGRegionContainerModel,separatePagesPGRegionContainerModel,horizontalPGRegionContainerModel,verticalPGRegionContainerModel,searchManagedBeanModel,dependsOnItemManagedBeanModel,dependsOnSearchItemManagedBeanModel,lovItemManagedBeanModel,lovItemInTableManagedBeanModel,editorItemManagedBeanModel,lovItemInAdvancedSearchManagedBeanModel,lovItemInQuickSearchManagedBeanModel,lovPageManagedBeanModel,fileItemInTableManagedBeanModel,mediaItemInTableManagedBeanModel,checkboxInTableManagedBeanModel,treeManagedBeanModel,parentShuttleManagedBeanModel,intersectionShuttleManagedBeanModel,collectionModelManagedBeanModel,queryBindParamsManagedBeanModel,queryBindParamsDomainManagedBeanModel,defaultValuesManagedBeanModel,wizardPageManagedBeanModel,wizardPageListManagedBeanModel,breadcrumbManagedBeanModel,customManagedBeanModel,velocityInitializer,formGroupLayoutFactory,tableGroupLayoutFactory,table-formGroupLayoutFactory,select-formGroupLayoutFactory,tree-formGroupLayoutFactory,treeGroupLayoutFactory,parent-shuttleGroupLayoutFactory,intersection-shuttleGroupLayoutFactory,pgModelFactory,templateBindingsFactory,pgModelValidator]; root of BeanFactory hierarchy

This error is displayed when you forgot to enter the display type for an item. You should see a warning icon in the Application Definition Editor at the corresponding group/item that indicates a required field is missing a value.
We will make this more robust in the next release, by explicitly raising a useful error message.
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • URGENT (POC): Error...   bean named 'SCSRequestExecutorProxy' is defined

    Hi all,
    ia have a standalone server for a check in operation into content server
    i have defined the connection with adapterconfig.xml:
    ISCSDocumentCheckinAPI checkinAPI = cisApplication.getUCPMAPI().getActiveAPI().getDocumentCheckinAPI();
    ISCSContent content = (ISCSContent)cisApplication.getUCPMAPI().createObject(ISCSContent.class);
    ISCSContext context = cisApplication.getUCPMAPI().getActiveAPI()._createSCSContext();
    ISCSContentID contentID = (ISCSContentID)cisApplication.getUCPMAPI().createObject(ISCSContentID.class);
    ISCSCheckinFlags checkinFlags = (ISCSCheckinFlags) cisApplication.getUCPMAPI ().createObject(ISCSCheckinFlags.class);
    //get the file stream
    File myFile = new File (filePath);
    ICISTransferStream transferStream = cisApplication.getUCPMAPI().createTransferStream();
    transferStream.setFile(myFile);
    //execute the checkin
    ISCSDocumentCheckinResponse resp = checkinAPI.checkinFileStream(context, content,transferStream,checkinFlags );
    when i execute the checkinAPI i receive the following:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/bin/java -server -classpath /home/cgaratt/jdevhome/mywork/StellentSiram/Siramprj/classes:/home/t/Desktop/ContentIntegrationSuite_10gR3_20081218/oracle-cis-10g/cis-client-8.0.0.jar:/home/cgaratt/Desktop/ContentIntegrationSuite_10gR3_20081218/oracle-cis-10g/admin/cis-admin-8.0.0.war:/home//Desktop/ContentIntegrationSuite_10gR3_20081218/oracle-cis-10g/component/CIS_Helper.zip:/home/jdevhome/mywork/StellentSiram/Siramprj/src/oracle/it/test/stellent oracle.it.test.stellent.TestUpload
    [2009-03-17 10:15:26,434] [main] INFO (com.stellent.cis.impl.CISApplicationFactory) - Initialized CIS logging using log file: [default]
    [2009-03-17 10:15:26,435] [main] INFO (com.stellent.cis.impl.CISApplicationFactory) -
    +-----------------
    | CIS using IsolatedJarClassLoader
    | Location: /tmp/tmp-mgr-41408.tmp/cis-loader41409.tmp
    +-----------------
    [2009-03-17 10:15:28,172] [main] INFO (com.stellent.cis.impl.CISApplication) -
    +------------------------------
    | Initialized Content Integration Suite 10g Release 3 (10.1.3.3.3) [server]
    |      Version: 8.0.0.3 (Build 2008.1218.1048)
    |      Server Type: standalone [ejb=false, rmi=false]
    |      Server Configuration: [META-INF/resources/server/cis-services.jxml]
    |      Adapter Configuration: file:/home/jdevhome/mywork/StellentSiram/Siramprj/src/oracle/it/test/stellent/adapterconfig.xml
    |      Temporary File Location: /tmp/standalone/cis-8.0.0.3
    +------------------------------
    [2009-03-17 10:15:28,256] [main] WARN (com.stellent.cis.server.api.scs.commands.document.checkin.ContentCheckinStreamCommand) - Error obtaining SCSCommandExecutor
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'SCSRequestExecutorProxy' is defined: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [AdapterConfigSerializer,AdapterConfigFactory,CommandHelper,CommandExecutor,CommandFacade,HDAProtocol,HdaWebProtocol,SCS-ConnectionDriver,SCS-SSL-ConnectionDriver,SCS-Web-ConnectionDriver,ConnectionDriverFactory,ResourcePoolManager,command.proxy.internal.filestream.isLocalPublish,command.api.internal.filestream,CommandApplicationAPI,command.proxy.active.administrative.pingServer,command.proxy.active.administrative.validateServerCommunication,command.proxy.active.administrative.executeIDCService,command.proxy.active.administrative.executeIDCServiceStream,command.proxy.active.administrative.getServerComponents,command.proxy.active.administrative.getDocumentTypes,command.proxy.active.search.search,command.proxy.active.search.searchUniversal,command.proxy.active.document.delete.deleteContent,command.proxy.active.document.delete.deleteRevision,command.proxy.active.user.createAlias,command.proxy.active.user.queryUserAttributes,command.proxy.active.user.listUsers,command.proxy.active.user.deleteSearchQuery,command.proxy.active.user.createRole,command.proxy.active.user.listRoles,command.proxy.active.user.saveSearchQuery,command.proxy.active.user.validateCredentials,command.proxy.active.user.createUser,command.proxy.active.user.listAliases,command.proxy.active.user.deleteAlias,command.proxy.active.user.deleteUser,command.proxy.active.user.registerUser,command.proxy.active.user.getPNEData,command.proxy.active.user.deleteRole,command.proxy.active.user.editRole,command.proxy.active.user.editAlias,command.proxy.active.user.editUser,command.proxy.active.component.folder.getPathInfo,command.proxy.active.component.folder.deleteItems,command.proxy.active.component.folder.deleteAllContent,command.proxy.active.component.folder.search,command.proxy.active.component.folder.listChildren,command.proxy.active.component.folder.listFolders,command.proxy.active.component.folder.listContents,command.proxy.active.component.folder.deleteFolder,command.proxy.active.component.folder.getFolderHierarchy,command.proxy.active.component.folder.propagateMetadata,command.proxy.active.component.folder.createFolder,command.proxy.active.component.folder.createLink,command.proxy.active.component.folder.updateInfo,command.proxy.active.component.folder.emptyTrash,command.proxy.active.component.folder.checkinFileStream,command.proxy.active.component.folder.getFolder,command.proxy.active.component.folder.moveItems,command.proxy.active.component.folder.copyItems,command.proxy.active.component.folder.getRootFolder,command.proxy.active.component.cis.getDocumentInformation,command.proxy.active.document.checkout.undoCheckoutFileByName,command.proxy.active.document.checkout.checkoutFileByName,command.proxy.active.document.checkout.listCheckedOutItems,command.proxy.active.document.checkout.undoCheckoutFileByID,command.proxy.active.document.checkout.checkoutFileByID,command.proxy.active.file.getDynamicConverterConfig,command.proxy.active.file.getDynamicFile,command.proxy.active.file.getFile,command.proxy.active.file.getDynamicConversion,command.proxy.active.file.executeDynamicConversion,command.proxy.active.document.information.getDocumentInformationByName,command.proxy.active.document.information.getDocumentInformationByID,command.proxy.active.document.information.getDocConfiguration,command.proxy.active.document.information.getUpdateInfo,command.proxy.active.metadata.editMetadata,command.proxy.active.component.multisort.search,command.proxy.active.document.subscription.subscribe,command.proxy.active.document.subscription.getSubscriptionsForUser,command.proxy.active.document.subscription.updateAndNotifySubscription,command.proxy.active.document.subscription.unsubscribe,command.proxy.active.document.subscription.unsubscribeAll,command.proxy.active.document.subscription.getContentForSubscription,command.proxy.active.document.subscription.getContentSubscribers,command.proxy.active.schema.getViewFragment,command.proxy.active.schema.getViewFragmentStream,command.proxy.active.schema.getBaseSchemaJavascript,command.proxy.active.schema.getFields,command.proxy.active.locale.getLocalizationData,command.proxy.active.document.update.updateInfo,command.proxy.active.document.checkin.getCheckinInfo,command.proxy.active.document.checkin.checkinFile,command.proxy.active.document.checkin.checkinRevisionStream,command.proxy.active.document.checkin.checkinRevision,command.proxy.active.document.checkin.validateCheckin,command.proxy.active.document.checkin.checkinFileStream,command.proxy.active.document.checkin.checkinSimilarInfo,command.proxy.active.workflow.getWorkflowStepInfo,command.proxy.active.workflow.getWorkflowStepInfoByName,command.proxy.active.workflow.getDocumentRevisions,command.proxy.active.workflow.getWorkflowTemplate,command.proxy.active.workflow.getWorkflowQueueForUser,command.proxy.active.workflow.getWorkflow,command.proxy.active.workflow.cancelWorkflow,command.proxy.active.workflow.approveWorkflow,command.proxy.active.workflow.getActiveWorkflows,command.proxy.active.workflow.getWorkflowTemplates,command.proxy.active.workflow.rejectWorkflow,command.proxy.active.workflow.startWorkflow,command.proxy.active.workflow.getWorkflowDocuments,command.proxy.active.administrative.query.queryDocumentHistory,command.proxy.active.administrative.query.executeSQLQuery,command.api.active.document.checkin,command.api.active.user,command.api.active.document.checkout,command.api.active.document.information,command.api.active.document.delete,command.api.active.search,command.api.active.file,command.api.active.metadata,command.api.active.schema,command.api.active.component.multisort,command.api.active.administrative,command.api.active.document.subscription,command.api.active.administrative.query,command.api.active.component.cis,command.api.active.component.folder,command.api.active.locale,command.api.active.workflow,command.api.active.document.update,SCSActiveAPI,command.proxy.common.administrative.getConfigurationFile,command.proxy.common.administrative.persistMetadataMap,command.proxy.common.administrative.loadMetadataMap,command.proxy.common.search.lookupContent,command.proxy.common.search.search,command.proxy.common.administrative.adapter.updateAdapter,command.proxy.common.administrative.adapter.deleteAdapter,command.proxy.common.administrative.adapter.listResourceNames,command.proxy.common.administrative.adapter.getAdapter,command.proxy.common.administrative.adapter.updateAdapterFactory,command.proxy.common.administrative.adapter.createAdapter,command.proxy.common.administrative.adapter.listAdapters,command.proxy.common.administrative.adapter.getDefaultAdapter,command.proxy.common.administrative.adapter.getGlobalProperties,command.proxy.common.administrative.adapter.setDefaultAdapter,command.proxy.common.administrative.adapter.getServerJndiProperties,command.proxy.common.administrative.scs.cache.getDefaultFileCachePolicy,command.proxy.common.administrative.scs.cache.updateCommandCachePolicy,command.proxy.common.administrative.scs.cache.getFileCacheLocation,command.proxy.common.administrative.scs.cache.getEventPoller,command.proxy.common.administrative.scs.cache.getServiceCacheInfo,command.proxy.common.administrative.scs.cache.getFileCacheSize,command.proxy.common.administrative.scs.cache.getFileCachePolicy,command.proxy.common.administrative.scs.cache.clearCache,command.proxy.common.administrative.scs.cache.getServiceCachePolicy,command.proxy.common.administrative.scs.cache.getFileCacheInfoCommand,command.proxy.common.administrative.scs.cache.getFileCachePolicies,command.proxy.common.administrative.scs.cache.updateFileCachePolicy,command.proxy.common.administrative.scs.cache.getServiceCachePolicies,command.proxy.common.administrative.scs.cache.removeCachePolicy,command.proxy.common.administrative.scs.cache.updateEventPoller,command.proxy.common.administrative.scs.cache.getDefaultServiceCachePolicy,command.proxy.common.administrative.scs.cache.removeFileCachePolicy,command.proxy.common.administrative.scs.cache.clearFileCache,command.proxy.common.document.checkinStream,command.proxy.common.document.getContentPages,command.proxy.common.document.getContentStream,command.api.common.administrative,command.api.common.document,command.api.common.search,command.api.common.administrative.adapter,command.api.common.administrative.scs.cache,SCSCommonAPI,UCPMAPI,DataAPI,SCSAPIObjectFactory,CommandLoader,RestrictedFileManager,ResourceHandler,SCSContentTransferStream,CommandConfigService]; root of BeanFactory hierarchy
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:365)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:583)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:504)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.getExecuteProxy(SCSCommand.java:364)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeViaProxy(SCSCommand.java:353)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeRequest(SCSCommand.java:335)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.execute(SCSCommand.java:222)
         at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:57)
         at com.stellent.cis.client.command.impl.CommandFacade.executeCommand(CommandFacade.java:158)
         at com.stellent.cis.client.command.impl.BaseCommandAPI.invokeCommand(BaseCommandAPI.java:84)
         at com.stellent.cis.client.api.scs.document.checkin.impl.SCSDocumentCheckinAPI.checkinFileStream(SCSDocumentCheckinAPI.java:707)
         at oracle.it.test.stellent.TestUpload.checkIn(TestUpload.java:75)
         at oracle.it.test.stellent.TestUpload.main(TestUpload.java:136)
    com.stellent.cis.client.command.CommandException
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeRequest(SCSCommand.java:338)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.execute(SCSCommand.java:222)
         at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:57)
         at com.stellent.cis.client.command.impl.CommandFacade.executeCommand(CommandFacade.java:158)
         at com.stellent.cis.client.command.impl.BaseCommandAPI.invokeCommand(BaseCommandAPI.java:84)
         at com.stellent.cis.client.api.scs.document.checkin.impl.SCSDocumentCheckinAPI.checkinFileStream(SCSDocumentCheckinAPI.java:707)
         at oracle.it.test.stellent.TestUpload.checkIn(TestUpload.java:75)
         at oracle.it.test.stellent.TestUpload.main(TestUpload.java:136)
    Caused by: java.lang.NullPointerException
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeViaProxy(SCSCommand.java:353)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeRequest(SCSCommand.java:335)
         ... 7 more
    Process exited with exit code 0.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    adapterconfig.xml file:
    <?xml version="1.0" ?>
    <adapter type="scs" default="true" name="myadapter">
    <config>
    <property name="port">4444</property>
    <property name="host">10.169.233.179</property>
    <property name="type">web</property>
    <property name="contentServerAdminID">sysadmin</property>
    <property name="contentServerAdminPassword">manager1</property>
    </config>
    <beans template="classpath:/META-INF/resources/adapter/adapter-services-scs.jxml"/>
    </adapter>
    This file is in the classpath and information(host, port, bla bla ) are correct.
    Any help is apprecciated
    Best regards,
    Mark

    This error is displayed when you forgot to enter the display type for an item. You should see a warning icon in the Application Definition Editor at the corresponding group/item that indicates a required field is missing a value.
    We will make this more robust in the next release, by explicitly raising a useful error message.
    Steven Davelaar,
    JHeadstart Team.

  • Named Destinations Types Defined

    Hi. I am looking for information regarding the Named Destinations that FrameMaker (I use Frame v10) generates when creating a PDF. Specifically, I'd like to verify/know what the following prefixes mean. I have tried to ascertain what the designations mean by clicking on them in the PDF, but some aren't as obvious as others.
    F (as is F#): This appears to mean the First page of a Frame file, confirmed by my clicking on the destination link, and per a reference in the Adobe User-to-User forum.
    G (as in G#.#######): This one perplexes me. It seems to be random paragraphs. I did find someone in the Adobe User-to-User forums who wrote that G destinations meant paragraph objects.
    I (I#.#.#######): Are these for Index markers?
    L (L#): This appears to mean the Last page of a Frame file.
    M (M#.#.#####.[figures, tables, headings, etc. tag names followed by the title): Various Markers in the file (also identified as such by an Adobe U-to-U forum poster)?
    P (P.#$##, where $ is a Letter in my generated PDF: P.3C15): I have no idea.
    Thanks!

    You more or less figured them out.
    The F & L series ones are used to designate the first and last page in a file. The number after the F/L prefix refers to the file number in the book order.
    The G series is the paragraph identifier, where the number before the "." represents the file number in the book order and the digits following the period are the FM assigned unique ID number. The book order number together with the uniqueID assures that every paragraph destination in a book is unique.
    The P series represents the individual page numbers. The part before the period is the page number in the file or book (depending upon how you've specified FM's numbering) and the "C##" part refers to the book compenent, e.g. the C15 means the 15th component file of the book.
    The I/M series markers are just different marker types, with "I" being those inserted automatically by FM (like in the TOC). Again, the same coding of file number and unique ID follow.
    Usually, one shouldn't be concerned with the actual values that FM uses to creeate the destination targets. Hopefully, you're not planning to make any links to these in a PDF as the numbers may (will) change when you update/regenerate a book.

  • 10.1.3.26 Generator Error - nullPGItemModel is Not Defined

    Snippet from Re: problem to generate secret field with JHeadstart 10.1.3.1.0
    Posted: Mar 28, 2007 5:39 AM
    With 10.1.3.1.26, I'm able to generate once but later generation runs give this error:
    Could not instantiate JhsApplicationGenerator class: No bean named 'nullPGItemModel' is defined
    I'm unclear from the thread where I need to look for the problem template.
    >>>>>>>>>>>
    Steven Davelaar Reply
    Please start a new thread for a new problem the next time.
    When you get this error, you forgot to set the display type for an item. The navigator tree should also show a warning icon for the item to indicate the missing required property.
    Steven Davelaar,
    JHeadstart Team.
    >>>>>>>>>>>>
    Thanks Steven,
    Sorry. I saw the similar error message in that thread about nullPG ... model and thought it was the same problem. In any case, this is a new one now so I can relate my solution in case someone else runs into it.
    I was getting that generator error message even though all my items had display types and no warning icons appeared in the navigator tree.
    However, I had a master group with no items in it and had made changes to region-metadata.xml. After backing out the region-metadata changes and adding a master group item, I was able to generate. I suspect the region-metadata changes more than the missing item because a group with no items throws a clear message that the Descriptor Item is missing. Of course, I can't reproduce the error at the moment.
    Peter Koletzke

    ah...it was erroring because i didnt include the
    xpath.js

  • Error creating bean with name 'rbacxSchedulerService'

    Hi
    I am installing Oralce Identity Analytics and this with an error in the log posted below. Someone could help me. Thank you
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexGlobalUserGlobalUserUpdateAdvisor' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot create inner bean 'com.vaau.rbacx.search.aop.IndexAdvise#1ba7ab0' of type [com.vaau.rbacx.search.aop.IndexAdvise] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaau.rbacx.search.aop.IndexAdvise#1ba7ab0' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'ftSearchProvider' while setting bean property 'searchProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftSearchProvider' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'rbacxSchedulerService' while setting bean property 'rbacxSchedulerService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rbacxSchedulerService' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot resolve reference to bean 'vaauSchedulerManager' while setting bean property 'vaauSchedulerManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vaauSchedulerManager' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot resolve reference to bean 'quartzSchedulerProvider' while setting bean property 'schedulerProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzSchedulerProvider' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot resolve reference to bean 'quartzSchedulerFactoryBean' while setting bean property 'quartzScheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzSchedulerFactoryBean' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot create inner bean 'quartzSchedulerFactoryBeanTarget' of type [org.springframework.scheduling.quartz.SchedulerFactoryBean] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzSchedulerFactoryBeanTarget' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.quartzSchedulerFactoryBeanTarget': java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource [See nested exception: java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource]]
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)

    Hi,
    Yes - I changed the password in Oracle DB admin console and jdbc.properties but I still get the same error: ORA-01017.
    The only thing I can think of is that I did not run the encryption java script but to be honest I can't think what diffence this would make.
    Any other suggestions guys?
    Oh the error has now changed slightly
    15:00:54,797 ERROR [ContextLoader] Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'certificationEventListener' defined in ServletContext resource [WEB-INF/idc-context.xml]: Cannot resolve reference to bean 'rbacxIDCService' while setting bean property 'rbacxIDCService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rbacxIDCService' defined in ServletContext resource [WEB-INF/idc-context.xml]: Cannot resolve reference to bean 'rbacxIAMService' while setting bean property 'rbacxIAMService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rbacxIAMService' defined in ServletContext resource [WEB-INF/iam-context.xml]: Cannot create inner bean 'com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl#2d09aa' of type [com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl#2d09aa' defined in ServletContext resource [WEB-INF/iam-context.xml]: Cannot resolve reference to bean 'oimSolution' while setting bean property 'iamSolutions' with key [TypedStringValue: value [oracle], target type [null]]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'oimSolution' is defined
    have checked these files and nothing stands out as being wrong.
    Edited by: user8380428 on 09-Dec-2011 07:09

  • Problem to generate secret field with JHeadstart 10.1.3.1.0

    Hi,
    I'm experimentig the new version of Jheadstart and I have a problem to generate a JSF page with a secret field using the Oracle JHeadstart 10.1.3 Evaluation Version.
    In fact when I change the display filed in the jheadstart Application Definition Editor to "secret" and then try to generate
    jsf pages, i have this message error for both form and table layout :
    Could not instantiate JhsApplicationGenerator class: No bean named 'secretPGItemModel' is defined:
    org.springframework.beans.factory.xml.XmlBeanFactory defining beans [applicationLayoutGenerator,facesConfigGenerator,
    regionMetaDataProcessor,includesGenerator,menuGenerator,nlsGenerator,pageGenerator,treeGenerator,generatorContext,findPageNameFormat,
    findPage,wizardFindPage,formPageNameFormat,formPage,wizardFormPage,formRegionPage,wizardFormRegionPage,selectPageNameFormat,selectPage,
    wizardSelectPage,treeFormPage,treePage,tablePageNameFormat,tablePage,wizardTablePage,lovTablePage,parentShuttlePage,
    wizardParentShuttlePage,intersectionShuttlePage,wizardIntersectionShuttlePage,formPageComponent,tablePageComponent,
    selectPageComponent,parentShuttlePageComponent,intersectionShuttlePageComponent,pgItemModelHelper,textInputPGItemModel,
    dateFieldPGItemModel,dateTimeFieldPGItemModel,secretFieldPGItemModel,fileUploadPGItemModel,fileDownloadPGItemModel,imagePGItemModel,
    editorPGItemModel,displayFieldPGItemModel,dropDownListPGItemModel,checkBoxPGItemModel,radio-verticalPGItemModel,
    radio-horizontalPGItemModel,hiddenPGItemModel,lovPGItemModel,pgGroupModel,pgDynamicDomainModel,pgStaticDomainModel,
    pgItemRegionModel,pgGroupRegionModel,stackedPGRegionContainerModel,separatePagesPGRegionContainerModel,horizontalPGRegionContainerModel,
    verticalPGRegionContainerModel,searchManagedBeanModel,dependsOnItemManagedBeanModel,dependsOnSearchItemManagedBeanModel,
    lovItemManagedBeanModel,lovItemInTableManagedBeanModel,editorItemManagedBeanModel,lovItemInAdvancedSearchManagedBeanModel,
    lovItemInQuickSearchManagedBeanModel,lovPageManagedBeanModel,fileItemInTableManagedBeanModel,mediaItemInTableManagedBeanModel,
    checkboxInTableManagedBeanModel,treeManagedBeanModel,parentShuttleManagedBeanModel,intersectionShuttleManagedBeanModel,
    collectionModelManagedBeanModel,queryBindParamsManagedBeanModel,queryBindParamsDomainManagedBeanModel,defaultValuesManagedBeanModel,
    wizardPageManagedBeanModel,wizardPageListManagedBeanModel,breadcrumbManagedBeanModel,customManagedBeanModel,velocityInitializer,
    formGroupLayoutFactory,tableGroupLayoutFactory,table-formGroupLayoutFactory,select-formGroupLayoutFactory,tree-formGroupLayoutFactory,
    treeGroupLayoutFactory,parent-shuttleGroupLayoutFactory,intersection-shuttleGroupLayoutFactory,
    pgModelFactory,templateBindingsFactory,pgModelValidator]; root of BeanFactory hierarchy
    My Jdeveloper Version is : 10.1.3.0.4 (SU5)
    thanks

    Steven
    I followed your instructions and it works
    I recently downloaded the production version of JDeveloper Studio Edition Version 10.1.3.1.0.3984
    Build JDEVADF_10.1.3.1.0_NT_061009.1404.3984
    I installed JHeadstart evaluation version.
    I recreate the same example with this new version of JDeveloper
    I found the bean definition in the jag-config.xml (by default)
    I removed the "#ITEM_PARTIAL_TRIGGERS_PROP" from the template (default/item/form/formSecret.vm )
    I thought it will work but unfortunately it doesn't work and and I got the same error
    Could not instantiate JhsApplicationGenerator class: No bean named 'secretPGItemModel' is defined: org.springframework.beans.factory.xml.XmlBeanFactory defining beans [applicationLayoutGenerator,facesConfigGenerator,regionMetaDataProcessor,includesGenerator,menuGenerator,nlsGenerator,pageGenerator,treeGenerator,generatorContext,findPageNameFormat,findPage,wizardFindPage,formPageNameFormat,formPage,wizardFormPage,formRegionPage,wizardFormRegionPage,selectPageNameFormat,selectPage,wizardSelectPage,treeFormPage,treePage,tablePageNameFormat,tablePage,wizardTablePage,lovTablePage,parentShuttlePage,wizardParentShuttlePage,intersectionShuttlePage,wizardIntersectionShuttlePage,formPageComponent,tablePageComponent,selectPageComponent,parentShuttlePageComponent,intersectionShuttlePageComponent,pgItemModelHelper,textInputPGItemModel,dateFieldPGItemModel,dateTimeFieldPGItemModel,secretFieldPGItemModel,fileUploadPGItemModel,fileDownloadPGItemModel,imagePGItemModel,editorPGItemModel,displayFieldPGItemModel,dropDownListPGItemModel,checkBoxPGItemModel,radio-verticalPGItemModel,radio-horizontalPGItemModel,hiddenPGItemModel,lovPGItemModel,pgGroupModel,pgDynamicDomainModel,pgStaticDomainModel,pgItemRegionModel,pgGroupRegionModel,stackedPGRegionContainerModel,separatePagesPGRegionContainerModel,horizontalPGRegionContainerModel,verticalPGRegionContainerModel,searchManagedBeanModel,dependsOnItemManagedBeanModel,dependsOnSearchItemManagedBeanModel,lovItemManagedBeanModel,lovItemInTableManagedBeanModel,editorItemManagedBeanModel,lovItemInAdvancedSearchManagedBeanModel,lovItemInQuickSearchManagedBeanModel,lovPageManagedBeanModel,fileItemInTableManagedBeanModel,mediaItemInTableManagedBeanModel,checkboxInTableManagedBeanModel,treeManagedBeanModel,parentShuttleManagedBeanModel,intersectionShuttleManagedBeanModel,collectionModelManagedBeanModel,queryBindParamsManagedBeanModel,queryBindParamsDomainManagedBeanModel,defaultValuesManagedBeanModel,wizardPageManagedBeanModel,wizardPageListManagedBeanModel,breadcrumbManagedBeanModel,customManagedBeanModel,velocityInitializer,formGroupLayoutFactory,tableGroupLayoutFactory,table-formGroupLayoutFactory,select-formGroupLayoutFactory,tree-formGroupLayoutFactory,treeGroupLayoutFactory,parent-shuttleGroupLayoutFactory,intersection-shuttleGroupLayoutFactory,pgModelFactory,templateBindingsFactory,pgModelValidator]; root of BeanFactory hierarchy

  • Spring component-scan not working for EAR modules

    Dear all,
    I've been trying to migrate a Spring MVC solution from TomCat 5.5 to SAP NetWeaver NWDI for some days now, and I believe I need some help.
    I've created one Software Component with two Development Components, one Web Module and one EAR Module. I have other libraries and DCs that are referenced by my Web Module as dependencies.
    The EAR component references the Web Module.
    The problem is that I have 3 applicationContext-*.xml files distributed among different Development Components and inside each one I do some bean initialization. I use the "component-scan" feature to load my annotated classes with @Controller, @Repository, @Service and so on.
    Unfortunately, it seems that spring will only load the beans declared inside these JAR files which I have an applicationContext-XXX.xml defined. Spring won't load any classes declared inside other Development Components that doesn't have an applicationContext file configured.
    So, when I try to deploy my EAR to the server (everything till deploying works fine), I get some "org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'XXX' is defined " exceptions.
    So, what am I doing wrong?
    Here is some of the config files that I'm using:
    Inside applicationContext-AAA.xml:
    <context:annotation-config />
    <context:component-scan base-package=com.xxx.AAA"/>
    Inside applicationContext-BBB.xml:
    <context:annotation-config />
    <context:component-scan base-package=com.xxx.BBB"/>
    (the same for applicationContext-CCC.xml)
    Inside my web.xml:
    <context-param>
         <param-name>contextConfigLocation</param-name>
         <param-value>
              classpath*:applicationContext-AAA.xml
              classpath*:applicationContext-BBB.xml
              classpath*:applicationContext-CCC.xml
              </param-value>
    </context-param>
    <!-- LISTENERS -->
    <listener>
         <listener-class>
              org.springframework.web.context.ContextLoaderListener
         </listener-class>
    </listener>
    Thanks and Regards,
    Rafael Zanini

    I have the same problem, do you find a solution ?

  • Bug? EJB method Return Value and Client Catch the Exception?

    oc4j 9.0.3 on the windows 2000
    I write a Stateless Session Bean named SB1 ,
    and define application exception.
    The Code as follow:
    public class AppErrorException extends Exception
    public interface SB1 extends EJBObject
    public String getMemono(String sysID, String rptKind, String parentMemono)
    throws RemoteException, AppErrorException;
    public class SB1Bean implements SessionBean
    public String getMemono(String sysID, String rptKind, String parentMemono)
    throws RemoteException, AppErrorException
    throw new AppErrorException("Error in getMemono");
    public class SB1TestClient
    try
    memomo= sb1.getMemono(.....);
    catch(AppErrorException ae)
    ae.printStackTrace();
    I found a bug.
    If SB1.getMemono() throws the AppErrorException, but SB1TestClient will not catch any Exception.
    It is not normal!!!!
    [cf]
    But If I convert "public String getMemono(...)" into "public void getMemono(...)",
    When SB1.getMemono() throws the AppErrorException, but SB1TestClient will catch any Exception.
    It is normal.

    getMemono(.......)'s code as follow:
    public String getMemono(String sysID, String rptKind, String parentMemono)
    throws AppErrorException
    log("getMemono("+sysID+", "+rptKind+", "+parentMemono+")");
    Connection connection= null;
    CallableStatement statement = null;
    String memono= "";
    short retCode= -1;
    String retMsg= "";
    try
    String sql= this.CALL_SPGETMEMONO;
    connection = ResourceAssistant.getDBConnectionLocal("awmsDS");
    statement= connection.prepareCall(sql);
    statement.setString(1, sysID.trim());
    statement.setString(2, rptKind.trim());
    statement.setString(3, parentMemono.trim());
    statement.registerOutParameter(4, java.sql.Types.VARCHAR);
    statement.registerOutParameter(5, java.sql.Types.SMALLINT);
    statement.registerOutParameter(6, java.sql.Types.VARCHAR);
    statement.executeQuery();
    retCode= statement.getShort(5);
    retMsg= statement.getString(6);
    log("retCode="+retCode);
    log("retMsg="+retMsg);
    if (retCode==AppConfig.SHORT_SP_RETCODE_FAILED)
    log("retCode==AppConfig.SHORT_SP_RETCODE_FAILED");
    this.sessionContext.setRollbackOnly();
    throw new AppErrorException(retMsg);
    memono= statement.getString(4);
    log("memono="+memono);
    if (rptKind.trim().length()<6)
    log("rptKind.trim().length()<6");
    this.sessionContext.setRollbackOnly();
    throw new AppErrorException("rptKind.trim().length()<6");
    memono= "SS";
    catch (AppErrorException ae)
    log("catch(AppErrorException ae)");
    throw ae;
    //throw new EJBException(ae.getErrMsg());
    catch (Exception e)
    log("catch (Exception e)");
    this.sessionContext.setRollbackOnly();
    throw new AppErrorException(IExceptionConst.ERR_MSG_SYSMEMONO_00000, e.toString());
    //throw new EJBException(IExceptionConst.ERR_MSG_SYSMEMONO_00000+", "+e.toString());
    finally
    log("this.sessionContext.getRollbackOnly()="+this.sessionContext.getRollbackOnly());
    ResourceAssistant.cleanup(connection,statement);
    return memono;

  • Error Message "truePGItemModel" on generation

    Hi All:
    Using JDeveloper 10.1.3.4.0.4270.
    JHeadstart 10.1.3.2.51
    Upon the first Generate of a JHeadstart Application, I received the following error. I searched this forum and did not find a reference to this error. Any assistance is appreciated.
    "Could not instatiate JhsApplicationGenrator class: No bean named 'truePGItemModel' is defined"
    Mary
    UofW

    Hi Evert-Jan:
    I greatly appreciate your reply. When I did a search on truePGItemModel in the specified application, none was found as shown below.
    Looking for: truePGItemModel  in: AREditAcademicFees.jws
    Found 0 occurrences in 3339 file(s)
    So I did a search on PGItemModel only and found the following, all in the jag-config.xml. This is a copy of the search output As you can see, only one is listed as "true". Would you like to see the entire jag-config.xml file?
    Thanks so very much, I'm really not sure what to do at this point....
    Mary
    U of Windsor
    Project: C:\JDeveloper\AREditAcademicFees\ViewController\ViewController.jpr
    C:\JDeveloper\AREditAcademicFees\ViewController\templates\config\jag-config.xml
    (12,76): 1.4 Added queryBindParamsRowSpecificDomainManagedBeanModel, graphPGItemModel, listPGItemModel
    (12,93): 1.4 Added queryBindParamsRowSpecificDomainManagedBeanModel, graphPGItemModel, listPGItemModel
    (16,34): 1.2 Renamed secretFieldPGItemModel to secretPGItemModel managed bean def
    (16,55): 1.2 Renamed secretFieldPGItemModel to secretPGItemModel managed bean def
    (284,17): <bean name="pgItemModelHelper" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper" singleton="true"/>
    (284,90): <bean name="pgItemModelHelper" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper" singleton="true"/>
    (286,26): <bean name="textInputPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (286,93): <bean name="textInputPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (293,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (293,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (295,26): <bean name="dateFieldPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (295,93): <bean name="dateFieldPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (302,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (302,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (304,30): <bean name="dateTimeFieldPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (304,97): <bean name="dateTimeFieldPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (311,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (311,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (313,27): <bean name="fileUploadPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (313,94): <bean name="fileUploadPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (316,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (316,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (318,29): <bean name="fileDownloadPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (318,96): <bean name="fileDownloadPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (321,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (321,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (323,22): <bean name="imagePGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (323,89): <bean name="imagePGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (326,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (326,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (328,23): <bean name="editorPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (328,90): <bean name="editorPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (333,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (333,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (335,29): <bean name="displayFieldPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (335,96): <bean name="displayFieldPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (338,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (338,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (340,29): <bean name="dropDownListPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGDomainItemModel" singleton="false">
    (345,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (345,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (347,21): <bean name="listPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGDomainItemModel" singleton="false">
    (352,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (352,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (354,25): <bean name="checkBoxPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGDomainItemModel" singleton="false">
    (359,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (359,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (361,31): <bean name="radio-verticalPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGDomainItemModel" singleton="false">
    (366,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (366,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (368,33): <bean name="radio-horizontalPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGDomainItemModel" singleton="false">
    (373,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (373,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (375,23): <bean name="hiddenPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (375,90): <bean name="hiddenPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (378,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (378,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (380,23): <bean name="secretPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (380,90): <bean name="secretPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (383,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (383,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (385,22): <bean name="graphPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (385,89): <bean name="graphPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (388,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (388,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (390,27): <bean name="flexRegionPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (390,94): <bean name="flexRegionPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel" singleton="false">
    (393,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (393,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (395,20): <bean name="lovPGItemModel" class="oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGLovItemModel" singleton="false">
    (400,23): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>
    (400,53): <property name="pgItemModelHelper"><ref bean="pgItemModelHelper"/></property>

  • Problem of deployment Spring applicaiton to OC4J

    A application with Struts+Spring+Hibernate can be successfully runned in Tomcat. But when I deploy this application to OC4J 10.1.3.3, there are some errors. I have included xerces+xalan shared-library, taken off oracle.xml and choosen use self-library firstly.
    There are some warnings during deployment about can't parse tld files correctly:
    2007-11-26 01:47:00.265 NOTIFICATION 将档案复制到 D:\soft\oc4j_extended_101330\j
    2ee\home\applications\gxs.ear
    2007-11-26 01:47:01.203 NOTIFICATION 初始化 D:\soft\oc4j_extended_101330\j2ee\ho
    me\applications\gxs.ear 开始...
    2007-11-26 01:47:01.203 NOTIFICATION Auto-unpacking D:\soft\oc4j_extended_101330
    \j2ee\home\applications\gxs.ear...
    2007-11-26 01:47:01.203 NOTIFICATION 解压缩 gxs.ear
    2007-11-26 01:47:01.203 NOTIFICATION Unjar D:\soft\oc4j_extended_101330\j2ee\hom
    e\applications\gxs.ear in D:\soft\oc4j_extended_101330\j2ee\home\applications\gx
    s
    2007-11-26 01:47:02.500 NOTIFICATION 解压缩 gxs.ear 完成
    2007-11-26 01:47:02.515 NOTIFICATION Finished auto-unpacking D:\soft\oc4j_extend
    ed_101330\j2ee\home\applications\gxs.ear
    2007-11-26 01:47:02.515 NOTIFICATION Auto-unpacking D:\soft\oc4j_extended_101330
    \j2ee\home\applications\gxs\gxs.war...
    2007-11-26 01:47:02.515 NOTIFICATION 解压缩 gxs.war
    2007-11-26 01:47:02.515 NOTIFICATION Unjar D:\soft\oc4j_extended_101330\j2ee\hom
    e\applications\gxs\gxs.war in D:\soft\oc4j_extended_101330\j2ee\home\application
    s\gxs\gxs
    2007-11-26 01:47:21.265 NOTIFICATION 解压缩 gxs.war 完成
    2007-11-26 01:47:21.265 NOTIFICATION Finished auto-unpacking D:\soft\oc4j_extend
    ed_101330\j2ee\home\applications\gxs\gxs.war
    2007-11-26 01:47:21.296 NOTIFICATION 初始化 D:\soft\oc4j_extended_101330\j2ee\ho
    me\applications\gxs.ear 结束...
    2007-11-26 01:47:21.296 NOTIFICATION 启动应用程序: gxs
    2007-11-26 01:47:21.296 NOTIFICATION 初始化类加载程序
    2007-11-26 01:47:21.296 NOTIFICATION 初始化 EJB 容器
    2007-11-26 01:47:21.296 NOTIFICATION 加载连接器
    2007-11-26 01:47:21.515 NOTIFICATION 启动资源适配器
    2007-11-26 01:47:21.515 NOTIFICATION 初始化 EJB 会话
    2007-11-26 01:47:21.515 NOTIFICATION 提交类加载程序
    2007-11-26 01:47:21.515 NOTIFICATION 初始化 gxs 开始...
    2007-11-26 01:47:21.531 NOTIFICATION 初始化 gxs 结束...
    2007-11-26 01:47:21.531 NOTIFICATION 已启动的应用程序: gxs
    2007-11-26 01:47:21.531 NOTIFICATION 将 Web 应用程序绑定到站点 default-web-site
    开始...
    2007-11-26 01:47:21.546 NOTIFICATION 将应用程序 gxs 的 gxs Web 模块绑定到上下文
    根 gxs 下的站点 default-web-site
    警告: 代码源 D:\soft\oc4j_extended_101330\j2ee\home\applications\gxs\gxs\WEB-INF
    \lib\activation.jar (来自 WEB-INF/lib/ directory in D:\soft\oc4j_extended_101330
    \j2ee\home\applications\gxs\gxs\WEB-INF\lib) 与 /D:/soft/oc4j_extended_101330/j2
    ee/home/lib/activation.jar (from <code-source> (ignore manifest Class-Path) in M
    ETA-INF/boot.xml in D:\soft\oc4j_extended_101330\j2ee\home\oc4j.jar) 具有相同的
    文件名, 但与其不完全相同。如果前者包含相同类的不同版本, 则会被屏蔽掉, 因为后者在
    加载程序 gxs.web.gxs:0.0.0 的搜索路径中已是可见的。
    警告: 代码源 D:\soft\oc4j_extended_101330\j2ee\home\applications\gxs\gxs\WEB-INF
    \lib\jta.jar (来自 WEB-INF/lib/ directory in D:\soft\oc4j_extended_101330\j2ee\h
    ome\applications\gxs\gxs\WEB-INF\lib) 与 /D:/soft/oc4j_extended_101330/j2ee/home
    /lib/jta.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.x
    ml in D:\soft\oc4j_extended_101330\j2ee\home\oc4j.jar) 具有相同的文件名, 但与其
    不完全相同。如果前者包含相同类的不同版本, 则会被屏蔽掉, 因为后者在加载程序 gxs.w
    eb.gxs:0.0.0 的搜索路径中已是可见的。
    警告: 代码源 D:\soft\oc4j_extended_101330\j2ee\home\applications\gxs\gxs\WEB-INF
    \lib\mail.jar (来自 WEB-INF/lib/ directory in D:\soft\oc4j_extended_101330\j2ee\
    home\applications\gxs\gxs\WEB-INF\lib) 与 /D:/soft/oc4j_extended_101330/j2ee/hom
    e/lib/mail.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot
    .xml in D:\soft\oc4j_extended_101330\j2ee\home\oc4j.jar) 具有相同的文件名, 但与
    其不完全相同。如果前者包含相同类的不同版本, 则会被屏蔽掉, 因为后者在加载程序 gxs
    .web.gxs:0.0.0 的搜索路径中已是可见的。
    2007-11-26 01:47:22.125 WARNING J2EE JSP-0003 JSP Tld 高速缓存事件记录:
    2007-11-26 01:47:22.140 WARNING J2EE JSP-0027 对 jar:file:/D:/soft/oc4j_extended
    _101330/j2ee/home/applications/gxs/gxs/WEB-INF/lib/spring-modules-validation-0.5
    .jar!/META-INF/valang.tld 进行语法分析时出错
    2007-11-26 01:47:22.640 WARNING J2EE JSP-0003 JSP Tld 高速缓存事件记录:
    2007-11-26 01:47:22.640 WARNING J2EE JSP-0027 对 file:/D:/soft/oc4j_extended_101
    330/j2ee/home/applications/gxs/gxs/WEB-INF/tlds/c.tld 进行语法分析时出错
    2007-11-26 01:47:22.687 WARNING J2EE JSP-0003 JSP Tld 高速缓存事件记录:
    2007-11-26 01:47:22.687 WARNING J2EE JSP-0027 对 file:/D:/soft/oc4j_extended_101
    330/j2ee/home/applications/gxs/gxs/WEB-INF/tlds/displaytag.tld 进行语法分析时出

    2007-11-26 01:47:23.125 NOTIFICATION 初始化 Web 应用程序 gxs 的 Servlet org.apac
    he.struts.action.ActionServlet
    2007-11-26 01:47:23.843 NOTIFICATION 初始化 Web 应用程序 gxs 的 Servlet uk.ltd.g
    etahead.dwr.DWRServlet
    2007-11-26 01:47:24,015 WARN [uk.ltd.getahead.dwr.impl.DefaultConfiguration] - F
    ailed to load converter 'dom', classname=uk.ltd.getahead.dwr.convert.DOMConverte
    r: java.lang.ClassCastException: org.apache.xalan.processor.TransformerFactoryIm
    pl
    2007-11-26 01:47:25.078 NOTIFICATION 将 Web 应用程序绑定到站点 default-web-site
    结束...
    2007-11-26 01:47:25.078 NOTIFICATION gxs 的 Application Deployer 完成。操作时间:
    24828 msecs
    When I login into this application, 500 error happen on the browser:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    The information in the application.log is:
    07/11/26 01:47:21.296 10.1.3.3.0 Started
    07/11/26 01:47:23.0 gxs: Loading Spring root WebApplicationContext
    07/11/26 01:47:25.78 gxs: 10.1.3.3.0 Started
    07/11/26 01:48:11.31 gxs: Servlet error
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '/loginAction' is defined
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:355)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:800)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:646)
         at org.springframework.web.struts.DelegatingActionProxy.getDelegateAction(DelegatingActionProxy.java:122)
         at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:105)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at gxs.web.filter.InitializeFilter.doFilter(InitializeFilter.java:36)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    The definition of the login bean in web.xml is:
    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>
         classpath:applicationContext-action*.xml
    </param-value>
    </context-param>
    applicationContext-action*.xml are the definition of the beans.
    1. How to configure Spring in OC4J?
    2. How to solve these problems?
    Thanks,
    Melody

    Now, I alter the web.xml to the follow:
    <context-param>
         <param-name>contextConfigLocation</param-name>
         <param-value>/WEB-INF/classes/applicationContext-action-baseinfo.xml,/WEB-INF/classes/applicationContext-action-quartz.xml,/WEB-INF/classes/applicationContext-action-statistics.xml,/WEB-INF/classes/applicationContext-action-sys.xml,/WEB-INF/classes/applicationContext-action-trading.xml</param-value>
    </context-param>
    <!--
    <listener>
         <listener-class>
                   org.springframework.web.context.ContextLoaderListener
         </listener-class>
    </listener>
    -->
    <servlet>
         <servlet-name>context</servlet-name>
         <servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
    </servlet>
    Then, the application is deployed to OC4J. But I still can't login in. There are some errors in application.log:
    07/11/26 03:34:53.703 10.1.3.3.0 Started
    07/11/26 03:34:55.31 gxs: Loading Spring root WebApplicationContext
    07/11/26 03:35:41.890 gxs: Error initializing servlet
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduleMarketSale' defined in ServletContext resource [WEB-INF/classes/applicationContext-action-quartz.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [gxs.web.trading.action.ProcedureQuartzAction]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tradingService' defined in class path resource [app-service.xml]: Cannot create inner bean 'gxs.service.impl.TradingServiceImpl#1987b05' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gxs.service.impl.TradingServiceImpl#1987b05' defined in class path resource [app-service.xml]: Cannot resolve reference to bean 'tradingInput' while setting bean property 'tradingInput'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'tradingInput' is defined
    Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [gxs.web.trading.action.ProcedureQuartzAction]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tradingService' defined in class path resource [app-service.xml]: Cannot create inner bean 'gxs.service.impl.TradingServiceImpl#1987b05' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gxs.service.impl.TradingServiceImpl#1987b05' defined in class path resource [app-service.xml]: Cannot resolve reference to bean 'tradingInput' while setting bean property 'tradingInput'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'tradingInput' is defined
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tradingService' defined in class path resource [app-service.xml]: Cannot create inner bean 'gxs.service.impl.TradingServiceImpl#1987b05' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gxs.service.impl.TradingServiceImpl#1987b05' defined in class path resource [app-service.xml]: Cannot resolve reference to bean 'tradingInput' while setting bean property 'tradingInput'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'tradingInput' is defined
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gxs.service.impl.TradingServiceImpl#1987b05' defined in class path resource [app-service.xml]: Cannot resolve reference to bean 'tradingInput' while setting bean property 'tradingInput'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'tradingInput' is defined
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'tradingInput' is defined
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:355)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:800)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:246)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:198)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:111)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:642)
         at gxs.service.ServiceFactory.getTradingService(ServiceFactory.java:93)
         at gxs.web.trading.action.ProcedureQuartzAction.<init>(ProcedureQuartzAction.java:8)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:82)
         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:59)
         at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:52)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:639)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:625)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:290)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
         at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)
         at javax.servlet.GenericServlet.init(GenericServlet.java:256)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2371)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4824)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
         at com.evermind.server.Application.getHttpApplication(Application.java:570)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    07/11/26 03:35:41.890 gxs: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4851)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
         at com.evermind.server.Application.getHttpApplication(Application.java:570)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    07/11/26 03:35:42.921 gxs: Closing Spring root WebApplicationContext
    07/11/26 03:35:43.281 gxs: 10.1.3.3.0 Started
    null

  • OIA Configuration - 1st Deployment error

    After following the install guide and correcting a couple of exising files I finally get an error message of:-
    10:24:40,797 ERROR [ContextLoader] Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in ServletContext resource [WEB-INF/application-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DataSourceAdvisor' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot create inner bean 'org.springframework.aop.support.JdkRegexpMethodPointcut#1935e6f' of type [org.springframework.aop.support.JdkRegexpMethodPointcut] while setting bean property 'pointcut'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.JdkRegexpMethodPointcut#1935e6f' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessUnitServiceAuditBusinessUnitAdvisor' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: Cannot create inner bean 'businessUnitServiceAuditAfterReturningAdvice' of type [com.vaau.rbacx.rbacxaudit.aop.businessunitserviceaudit.BusinessUnitServiceAuditAfterReturningAdvice] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessUnitServiceAuditAfterReturningAdvice' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: Cannot resolve reference to bean 'daoAuditLogger' while setting bean property 'auditLogger'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoAuditLogger' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexGlobalUserGlobalUserUpdateAdvisor' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot create inner bean 'com.vaau.rbacx.search.aop.IndexAdvise#a69ae7' of type [com.vaau.rbacx.search.aop.IndexAdvise] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaau.rbacx.search.aop.IndexAdvise#a69ae7' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'ftSearchProvider' while setting bean property 'searchProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftSearchProvider' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'rbacxSchedulerService' while setting bean property 'rbacxSchedulerService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rbacxSchedulerService' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot resolve reference to bean 'vaauSchedulerManager' while setting bean property 'vaauSchedulerManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vaauSchedulerManager' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot resolve reference to bean 'quartzSchedulerProvider' while setting bean property 'schedulerProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzSchedulerProvider' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot resolve reference to bean 'quartzSchedulerFactoryBean' while setting bean property 'quartzScheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzSchedulerFactoryBean' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot create inner bean 'quartzSchedulerFactoryBeanTarget' of type [org.springframework.scheduling.quartz.SchedulerFactoryBean] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzSchedulerFactoryBeanTarget' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.quartzSchedulerFactoryBeanTarget': java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource [See nested exception: java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource]]
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:405)
    My jdbc properties files looks like this:-
    jdbc.url=jdbc:oracle:thin:@ORCL1:1521:rbacx
    jdbc.driverClassName=oracle.jdbc.OracleDriver
    Where ORCL1 is my servername and 1521 the port.
    Any suggestions guys?

    Hi,
    Yes - I changed the password in Oracle DB admin console and jdbc.properties but I still get the same error: ORA-01017.
    The only thing I can think of is that I did not run the encryption java script but to be honest I can't think what diffence this would make.
    Any other suggestions guys?
    Oh the error has now changed slightly
    15:00:54,797 ERROR [ContextLoader] Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'certificationEventListener' defined in ServletContext resource [WEB-INF/idc-context.xml]: Cannot resolve reference to bean 'rbacxIDCService' while setting bean property 'rbacxIDCService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rbacxIDCService' defined in ServletContext resource [WEB-INF/idc-context.xml]: Cannot resolve reference to bean 'rbacxIAMService' while setting bean property 'rbacxIAMService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rbacxIAMService' defined in ServletContext resource [WEB-INF/iam-context.xml]: Cannot create inner bean 'com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl#2d09aa' of type [com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl#2d09aa' defined in ServletContext resource [WEB-INF/iam-context.xml]: Cannot resolve reference to bean 'oimSolution' while setting bean property 'iamSolutions' with key [TypedStringValue: value [oracle], target type [null]]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'oimSolution' is defined
    have checked these files and nothing stands out as being wrong.
    Edited by: user8380428 on 09-Dec-2011 07:09

  • Migrating Jheadstart 10.1.3.0.97  application to Jheadstart 10.1.3.1

    I downloaded Jdeveloper 10.1.3.2.0 and installed Jheadstart 10.1.3.1.25 (Production, licensed version)
    I copied my application directory HRMS from my Jeveloper 10.1.3..1.0 using Jheadstart 10.1.3.0.97 to my newly installed Jdev 10.1.3.2.0 using Jheadstart 10.1.3.1.25
    When I opened the application I agreed to the prompt to migrate the application to the new format and the application got migrated successfully.
    I then re-enabled Jheadstart for the project
    when I try to edit the application in Jheadstart I get the following message:
    "Application Structure File appears to be in an invalid state"
    Am I doing something wrong since I understand that I am running compatible versions.

    Here is the stack trace when I run Jheadstart application generator:
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setFormTemplateIdentifie
    r(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegenerator.
    pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setFormTemplateIdentifier(java.l
    ang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setTableTemplateIdentifi
    er(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegenerator
    .pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setTableTemplateIdentifier(java.
    lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchTemplat
    eIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.page
    generator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchTemplateIdentif
    ier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchSetByUs
    erTemplateIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt
    .jag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchSetByUserTempla
    teIdentifier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchBetween
    TemplateIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt.j
    ag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchBetweenTemplate
    Identifier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setQuickSearchTemplateId
    entifier(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegen
    erator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setQuickSearchTemplateIdentifier
    (java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setPgItemModelHelper(ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper)] on object of cla
    ss [oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setPgItemModelHelper(oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper)] with value of type [orac
    le.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper]
    08:27:22 DEBUG (CachedIntrospectionResults) -Using cached introspection results
    for class [oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanDefinitionValueResolver) -Resolving reference from property
    'bean property 'pgItemModelHelper'' in bean 'textInputPGItemModel' to bean 'pgI
    temModelHelper'
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setFormTemplateIdentifie
    r(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegenerator.
    pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setFormTemplateIdentifier(java.l
    ang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setTableTemplateIdentifi
    er(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegenerator
    .pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setTableTemplateIdentifier(java.
    lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchTemplat
    eIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.page
    generator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchTemplateIdentif
    ier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchSetByUs
    erTemplateIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt
    .jag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchSetByUserTempla
    teIdentifier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchBetween
    TemplateIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt.j
    ag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchBetweenTemplate
    Identifier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setQuickSearchTemplateId
    entifier(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegen
    erator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setQuickSearchTemplateIdentifier
    (java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setPgItemModelHelper(ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper)] on object of cla
    ss [oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setPgItemModelHelper(oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper)] with value of type [orac
    le.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper]
    08:27:22 DEBUG (CachedIntrospectionResults) -Using cached introspection results
    for class [oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanDefinitionValueResolver) -Resolving reference from property
    'bean property 'pgItemModelHelper'' in bean 'textInputPGItemModel' to bean 'pgI
    temModelHelper'
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setFormTemplateIdentifie
    r(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegenerator.
    pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setFormTemplateIdentifier(java.l
    ang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setTableTemplateIdentifi
    er(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegenerator
    .pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setTableTemplateIdentifier(java.
    lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchTemplat
    eIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.page
    generator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchTemplateIdentif
    ier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchSetByUs
    erTemplateIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt
    .jag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchSetByUserTempla
    teIdentifier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchBetween
    TemplateIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt.j
    ag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchBetweenTemplate
    Identifier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setQuickSearchTemplateId
    entifier(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegen
    erator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setQuickSearchTemplateIdentifier
    (java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setPgItemModelHelper(ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper)] on object of cla
    ss [oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setPgItemModelHelper(oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper)] with value of type [orac
    le.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper]
    08:27:22 DEBUG (CachedIntrospectionResults) -Using cached introspection results
    for class [oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanDefinitionValueResolver) -Resolving reference from property
    'bean property 'pgItemModelHelper'' in bean 'textInputPGItemModel' to bean 'pgI
    temModelHelper'
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setFormTemplateIdentifie
    r(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegenerator.
    pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setFormTemplateIdentifier(java.l
    ang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setTableTemplateIdentifi
    er(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegenerator
    .pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setTableTemplateIdentifier(java.
    lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchTemplat
    eIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.page
    generator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchTemplateIdentif
    ier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchSetByUs
    erTemplateIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt
    .jag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchSetByUserTempla
    teIdentifier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchBetween
    TemplateIdentifier(java.lang.String)] on object of class [oracle.jheadstart.dt.j
    ag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setAdvancedSearchBetweenTemplate
    Identifier(java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setQuickSearchTemplateId
    entifier(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.pagegen
    erator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setQuickSearchTemplateIdentifier
    (java.lang.String)] with value of type [java.lang.String]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setPgItemModelHelper(ora
    cle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper)] on object of cla
    ss [oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModel.setPgItemModelHelper(oracle.jhea
    dstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper)] with value of type [orac
    le.jheadstart.dt.jag.pagegenerator.pgmodel.PGItemModelHelper]
    08:27:22 DEBUG (CachedIntrospectionResults) -Using cached introspection results
    for class [oracle.jheadstart.dt.jag.pagegenerator.pgmodel.PGGroupModel]
    08:27:22 DEBUG (CachedIntrospectionResults) -Using cached introspection results
    for class [oracle.jheadstart.dt.jag.facesconfiggenerator.ManagedBeanModel]
    08:27:22 DEBUG (BeanWrapperImpl) -About to invoke write method [public void ora
    cle.jheadstart.dt.jag.facesconfiggenerator.ManagedBeanModel.setTemplateIdentifie
    r(java.lang.String)] on object of class [oracle.jheadstart.dt.jag.facesconfiggen
    erator.ManagedBeanModel]
    08:27:22 DEBUG (BeanWrapperImpl) -Invoked write method [public void oracle.jhea
    dstart.dt.jag.facesconfiggenerator.ManagedBeanModel.setTemplateIdentifier(java.l
    ang.String)] with value of type [java.lang.String]
    Setting templatesBaseDir to: D:\Jdev10131\jdev\mywork\HRMS\ViewController\templ
    ates
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '
    viewTypesManager' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.
    getBeanDefinition(DefaultListableBeanFactory.java:360)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
    edBeanDefinition(AbstractBeanFactory.java:686)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
    (AbstractBeanFactory.java:219)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
    (AbstractBeanFactory.java:145)
    at oracle.jheadstart.dt.share.common.util.factory.GeneralFactory.getView
    TypeManager(GeneralFactory.java:26)
    at oracle.jheadstart.dt.jag.engine.factory.GeneratorFactory.getViewTypeM
    anager(GeneratorFactory.java:184)
    at oracle.jheadstart.dt.jag.engine.factory.PGModelFactory.createPGServic
    eModel(PGModelFactory.java:149)
    at oracle.jheadstart.dt.jag.JhsApplicationGenerator.init(JhsApplicationG
    enerator.java:216)
    at oracle.jheadstart.dt.jag.JhsApplicationGenerator.<init>(JhsApplicatio
    nGenerator.java:92)
    at oracle.jheadstart.dt.jag.jdev.JagRunner.run(JagRunner.java:65)
    at oracle.jheadstart.dt.jag.jdev.addins.JAGLauncher.launchJAG(JAGLaunche
    r.java:53)
    at oracle.jheadstart.dt.jag.jdev.addins.JAGLauncher.performMenuAction(JA
    GLauncher.java:127)
    at oracle.jheadstart.dt.share.jdev.ide.menu.JhsMenuController.handleEven
    t(JhsMenuController.java:69)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:525)
    at oracle.ide.controller.IdeAction$1.run(IdeAction.java:772)
    at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:78
    9)
    at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:498)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
    49)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
    a:2169)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
    at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
    000)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen
    uItemUI.java:1041)
    at java.awt.Component.processMouseEvent(Component.java:5488)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
    at java.awt.Component.processEvent(Component.java:5253)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    JagRunner$1[103]: Invoking garbage collector

  • New to Struts - logic:if error - am I not properly defining a bean?

    I am going through what are for the most part simple Struts examples and tutorials on my company's Intranet. The example below should be testing against the pre-defined <logic:if> and <logic:or> statement values and spitting out either the 'one or more conditions are true' or 'none of the conditions are true' depending.
    That said, I am getting an error with the following block of code (at line 11) just before the first logic:if statement and I am hoping for help in determining where I have gone astray.
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ taglib uri="/tlds/marketmaker.tld" prefix="abc" %>
    <%@ taglib uri="/tlds/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/tlds/struts-logic.tld" prefix="logic" %>
    <%@ taglib uri="/tlds/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/tlds/jdo.tld" prefix="jdo" %>
    <%@ taglib uri="/tlds/string.tld" prefix="str" %>
    <abc:page>
         <h3>logic:if</h3>
           <logic:if name="calendarBean" property="month" op="equal" value="March">
           <logic:or name="calendarBean" property="year" op="lessEqual" value="2012"/> <!-- Note self-closing -->
           <logic:or name="calendarBean" property="day" op="equal" value="Friday"/>
             <logic:then>
                <p>At least one condition above is true.</p>
              </logic:then>
              <logic:else>
                <p>None of the conditions are true.</p>
              </logic:else>
           </logic:if>
    </abc:page>Again, the error is at line 11, occurring at or just before the <logic:if> statement. I presume it is because a bean must be properly defined.
    I tried the following variations of <bean:define> and keep coming up with the same error.
    <bean:define id="calendarBean" name="myCalendarBean" value="March" />
    <bean:define id="calendarBean" name="calendarBean" value="March" />
    <bean:define id="calendarBean" name="calendarBean"/>
    <bean:define id="calendarBean" name="myCalendarBean"/>
    <bean:define id="myCalendarBean" name="calendarBean"/>
    <bean:define id="calendarBean" value=""/>
    <bean:define id="calendarBean" value="false"/>
    <bean:define id="calendarBean"/>Am I right about defining a bean first? If yes, what am I doing incorrectly in the aforementioned <bean:define> declarations listed above?
    If you see something entirely different (and wrong) please do let me know.
    Edited by: 924359 on Mar 29, 2012 1:03 PM

    Try a Struts forum. This isn't one. Locking.

  • Session scope managed bean is not instantiating?

    We have the need to use a session bean (rather than pageFlowScope) in our application.  But it looks like the session beans are not being instantiated at run time like other beans are.  I created a simple test case to verify.  One bean, named "MySessionBean", defined in the task flow as Session scope, then referenced in a view with an input text box, value:  #{sessionScope.MySessionBean.value1}. When I run the application,  I just get PropertyNotFoundException, Target Unreachable, 'MySessionBean' returned null.
    If I simply change the bean to use pageFlowScope, everything works fine.   I have debug code in the bean constructor, and it never gets called.   Is there some other step I am missing to have ADF instantiate the session bean?

    No luck, I tried it in both adfc-config.xml, and faces-config.xml.  I also tried moving the call to my view, from my bounded taskflow, into the adfc-config unbounded task flow, and then I ran that instead.  Still got the same error.    Here is my code from the the last round of tests with the view called in the main adfc-config.xml unbounded taskflow:
    adfc-config.xml:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
          <view id="testView">
                <page>/testView.jspx</page>
          </view>
          <managed-bean id="__2">
          <managed-bean-name id="__5">MySessionBean</managed-bean-name>
          <managed-bean-class id="__4">test.MySessionBean</managed-bean-class>
          <managed-bean-scope id="__3">session</managed-bean-scope>
        </managed-bean>
    </adfc-config>
    testView.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:inputText label="Label 1" id="it1"
                          value="#{sessionScope.MySessionBean.value1}"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    MySessionBean.java:
    package test;
    public class MySessionBean {
        private String value1="Hello World";
        public MySessionBean() {
            super();
        public void setValue1(String value1) {
            this.value1 = value1;
        public String getValue1() {
            return value1;

  • Calling a Method in Bean from JSP

    Is there a defined jsp tag for calling a method in a Bean? Right now, in a bean named "bean", I would use: <% bean.doSomething(); %>. Is there a tag for this?

    I've wondered this too, the getProperty and setProperty tags only allow you call setters and getters. What if you've got a method called doSomething()?

Maybe you are looking for