TPVS - Minimum resource load  constraint

Hi  Friends,
We are in APO 4.1 version and TPVS  optimizer is being used to consolidate/schedule shipments . We have two kind of vehicle resources assigned to Transportation  lane via MOT. They are Vehicle type -A with maximum capacity  10 Tons and Vehicle type-B with 30 Tons maximum capacity .  Our business expects whenever  sum of fright units  weight comes less than or equal to 10 Tons on given route/Zone customers , then optimizer should load  those shipmetss only into Vehicle type-A or Vehicle type -B should get loaded only when total shipment weight exceeds 10 Tons . I am aware optimizer works purely based  total cost optimisation by meeting all constraints defined. 
My question : Is there any possibility  to define minimum weight constraint for vehicle in TPVS or any options. (Have explored compatibility some extend, but it couldnu2019t help me)
Thanks
Rajesh K

Hi Rajesh,
The requirement is to load 10 tns on MOT A and above 10 tns on MOT B.
There is something in cost profile called "Cost functions and Load cost"  tab.
Define Load cost like the below:
10 MOT-A 0 to 10 Tons less cost
                     > 10 Tns very high cost
20 MOT-B 0 to 10 Tons Very high cost
                    >  10 tns less cost
As it is cost based optimization, Optimizer always selects less cost solution.
Hope ur requirement will be met addressed.
Thanks & Regards,
Jagadeesh

Similar Messages

  • Problem installing Circuit Design Suite - "Error while initializing resource loader"

    I am attempting to install v 10.0.1 of the Circuit Design Suite (Education and Student Edition).  Immediately after starting the install process I get the message "Error while initializing Resource Loader!" and the installer exits.  My computer meets the minimum system requirements (512 MB RAM, 20 GB free hard drive space, Windows XP, etc).
    Any suggestions for how to work around this problem so I can get Multisim installed?

    Hi John,
    I'm not sure if you still have issues with the Multisim installer. But just in case here are some comments:
    Are you using a CD to install Multisim? If yes, try copying the installer to your hard drive.
    Try installing Multisim on a different machine.
    Apparently the Resource Loader is related to Java, try un-reinstalling it, upgrading to the latest release, etc.
    Let us know how it works,
    Fernando D.
    National Instruments

  • Error Message - java.lang.LinkageError: loader constraint violation

    Hi
    I get the following errormessage if I try to apply a more recent build of the JPA Toplink Essentials.
    If I use the glassfish-persistence-installer-v2-b45.jar all things work fine, but if a try to upgrade my program will fail. I tried the glassfish-persistence-installer-v2-b54.jar, all also tried all builds between?!
    I have no idea how I may resolve the problem?!
    Any ideas?
    Thanks
    Marcel
    (I am using Java 6, Netbeans 5.5)
    Exception in thread "AWT-EventQueue-0" java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "DatenStruktur.ConditionBasic.getCouplingElement()LDatenStruktur/CouplingElement;" the class loader (instance of oracle/toplink/essentials/internal/ejb/cmp3/JavaSECMPInitializer$TempEntityLoader) of the current class, DatenStruktur/ConditionBasic, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for interface DatenStruktur/Conditionable have different Class objects for the type DatenStruktur/CouplingElement used in the signature
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
    at java.lang.Class.getDeclaredFields(Class.java:1743)
    at oracle.toplink.essentials.internal.security.PrivilegedAccessHelper.getDeclaredFields(PrivilegedAccessHelper.java:204)
    at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataHelper.getFields(MetadataHelper.java:443)
    at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataDescriptor.usesPropertyAccess(MetadataDescriptor.java:1081)
    at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.ClassAccessor.processAccessors(ClassAccessor.java:564)
    at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.ClassAccessor.process(ClassAccessor.java:498)
    at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.MetadataAccessor.processAccessor(MetadataAccessor.java:514)
    at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.ClassAccessor.processTableAndInheritance(ClassAccessor.java:1388)
    at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.ClassAccessor.process(ClassAccessor.java:484)
    at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataProcessor.processAnnotations(MetadataProcessor.java:240)
    at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:370)
    at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:600)
    at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.callPredeploy(JavaSECMPInitializer.java:169)
    at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initPersistenceUnits(JavaSECMPInitializer.java:237)
    at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:253)
    at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:140)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java):96)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java):73)
    at MainProgramManagement.ProgramMain.getEntityManagerFactory(ProgramMain.java:347)
    at MainProgramManagement.ProgramMain.persistData(ProgramMain.java:788)

    upgrade to cf8, which supports jdk 1.6.
    mx7 does not support 1.5 or 1.6
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • SharePoint 2013 Environment Setup with minimum resource

    Hi,
    Could you please advise considering below scenario
    - What would be the minimum resources in order to setup SP2013 Enterprise environment?
    - If we want to buy a single server from DELL as a host for all virtual machines as below, what would be the configuration for that server?
    - How much RAM do we need for the host?
    - How much ram / processor core allocation do we need for the VMs. 
    Requirments:
    USER: 500 Users
    Features : All OOB features / Services will be used in SharePoint 2013 Farm
    Web Application : 3 Web Application, 10 Site Collection
    Total Content : 100 GB
    Virtual Box for entire SP2013 Environment Setup:
    - SQL Server 2012 Sp1 Enterprise
    - SQL Clustering / Mirroring
    - SP 2013  Application Server1 (Enterprise)
    - SP Application Server2 
    - SP Application Server3
    - SP Application Server4
    - SP WFE 1
    - SP WFE 2
    - BI Server 1
    - BI Server 2
    - OWA Server 1
    - OWA Server 2
    - Workflow Manager 1
    - Workflow Manager 2
    - TMG Firewall 2010
    - Exchange Server 2010
    - Microsoft Lync Server 2010
    Thanks
    srabon

    It's all here:
    http://technet.microsoft.com/en-us/library/cc262485%28v=office.15%29.aspx
    Putting that many servers together for a 500 seat company is madness. Go for the text book small farm deployment at most, in reality you'd probably be better off just having three servers total (1 WFE, 1 App, 1 SQL).
    I can't remember how much you should reserve for the hypervisor but if you allocate 1GB for that i think you're ok.
    For a three server deployment you'd probably be ok with 32GB, 8GB for the WFE and App server, 7GB for SQL and one for the hypervisor. 64GB would give you a lot more comfort.
    If you want more options like the enhanced workflows and OWA you'd need servers for each of those as  well.
    You can always overprovision CPUs on the hypervisor but more than 12 Cores would be wasted on a 3 server deployment for 500 users.

  • OBE-15409: Error in loading constraint information

    Hi,
    I'm having a problem with the Query Builder in Reports Builder. When selecting a table with any type of constraints I get the following type of error message (Emp in user scott/tiger):
    OBE-15409: Error in loading constraint information for EMPNO (PK_EMP)
    OBE-15409: Error in loading constraint information for DEPTNO (FK_DEPTNO)
    The table is shown in the query builder and I can create the select but for instance if I select two tables with a foreign key constraint between them, the foreign key is not shown in the query builder. I have to manually create the join between the tables.
    The error seems to correspond to an upgrade of the database. I get the error with a database upgraded to either 9.2.0.3.0 or 9.2.0.4.0. But on a database upgraded to 9.2.0.2.1 I don't get the error. I have tried with both the original 9i Developer Suite and an upgraded version with Patchset 2 (9.0.2.2.0).
    The same error appears on 3 different setups. 2 local installations of database and developer suite and 1 client/server setup. Everything running Windows 2000 SP 3.
    Any suggestions?
    Regards
    Bent

    Thanks for the reply and the bug number so I can follow the progress. I had done a general search here at Technet and at Metalink and didn't find anything. I didn't think of searching directly in the bug database.

  • LinkageError loader constraints

    I am trying to use XPathAPI in my program and the server is generating an error of:
    javax.faces.el.EvaluationException: java.lang.LinkageError: loader constraints violated when linking org/apache/xpath/objects/XObject class
    Any help would be appreciated.
    Thanks

    Hi man,
    good to hear that u have successfully deployed ur project on tomcat but i am having this error thrown while i am using tomcat 4.1. i m at loss as i have no idea why this error is arising. the jars that i m creating are placed under %TOMCAT_HOME%/common/lib and WEB-INF/lib directories. I am using Eclipse 2.1 and Struts framework. Any help to solve the following error would be a great help..I am badly stuck..
    java.lang.LinkageError: Class com/patni/peass/bean/user/UserBean violates loader constraints
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
         at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:621)
         at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:958)
         at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
         at com.patni.peass.business.user.LoginBusiness.validateUserAndPassword(LoginBusiness.java:33)
         at com.patni.peass.action.user.LoginAction.execute(LoginAction.java:74)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
         at java.lang.Thread.run(Thread.java:536)

  • Java.lang.LinkageError:loader constraints

    Hi,
              I am having problem with on of my ejb having some
              classes sharing with my servlet. The following is the
              exception which I get. I guess this is due to different
              classloader trying to load the sharing class. I have
              my app dur struct. in exploded format under WEB-INF\classes
              My ejbs do not contain the common classes. WEB-INF\classes
              is in weblogic classpath.
              <Servlet failed with Exception
              java.lang.LinkageError: Class com/pmi/enterprise/securityauthority/Roles
              violates loader constraints
              at java.lang.ClassLoader.defineClass0(Native Method)
              at java.lang.ClassLoader.defineClass0(Compiled Code)
              at java.lang.ClassLoader.defineClass(Compiled Code)
              at java.lang.ClassLoader.defineClass(Compiled Code)
              at
              weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Compiled Code)
              at
              weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Compiled
              Code)
              at
              weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.loadCla
              ss(Compiled Code)
              at weblogic.utils.classloaders.GenericClassLoader.loadClass(Compiled
              Code)
              at java.lang.ClassLoader.loadClassInternal(Compiled Code)
              at
              com.pmi.webedi.servlets.RequestServlet.doPost(RequestServlet.java:215)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :105)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:742)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:686)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
              Manager.java:247)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              I donot have anything under WEB-INF\lib. If I include the EJB Jars then I
              get ClassCastException.
              Can anyone help me with this. This is working application on Win2000 and I
              am moving to sun
              and restructuring accor. to servlet spec2.2.
              Thanks in advance,
              - Rishi Prakash
              

    I tried recompiling all the related classes and rebuilt my ejb. But it
              didn't help. I tried a couple of more things.
              I moved one of the common class from my classpath
              to the ejb jar. This in effect eliminated the from this class
              and showed the same error on another common class. Then I moved both the
              classes to the ejb jar. Now I got
              NoclassDef FoundError from the servlet. I also tried including at both
              places (ie in jar as well as Classpath). Again it did not help. I have no
              clue now what to do.
              Any more help or clue is appriciated.
              - Rishi Prakash
              "Mark Spotswood" <[email protected]> wrote in message
              news:[email protected]...
              > The error means that a class which
              com/pmi/enterprise/securityauthority/Roles
              > depends on has changed in a way that is incompatible with the current
              version
              > of Roles. This could happen if the JDK being used is different than the
              JDK
              > that Roles was originally compiled against, or if you have rebuilt some
              class
              > that Roles uses, but have not also rebuilt Roles.
              > --
              > mark
              >
              > Rishi Prakash wrote:
              >
              > > Hi,
              > >
              > > I am having problem with on of my ejb having some
              > > classes sharing with my servlet. The following is the
              > > exception which I get. I guess this is due to different
              > > classloader trying to load the sharing class. I have
              > > my app dur struct. in exploded format under WEB-INF\classes
              > > My ejbs do not contain the common classes. WEB-INF\classes
              > > is in weblogic classpath.
              > >
              > > <Servlet failed with Exception
              > > java.lang.LinkageError: Class com/pmi/enterprise/securityauthority/Roles
              > > violates loader constraints
              > > at java.lang.ClassLoader.defineClass0(Native Method)
              > > at java.lang.ClassLoader.defineClass0(Compiled Code)
              > > at java.lang.ClassLoader.defineClass(Compiled Code)
              > > at java.lang.ClassLoader.defineClass(Compiled Code)
              > > at
              > > weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Compiled
              Code)
              > > at
              > > weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Compiled
              > > Code)
              > > at
              > >
              weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.loadCla
              > > ss(Compiled Code)
              > > at
              weblogic.utils.classloaders.GenericClassLoader.loadClass(Compiled
              > > Code)
              > > at java.lang.ClassLoader.loadClassInternal(Compiled Code)
              > > at
              > > com.pmi.webedi.servlets.RequestServlet.doPost(RequestServlet.java:215)
              > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
              > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              > > at
              > >
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              > > :105)
              > > at
              > >
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              > > l.java:742)
              > > at
              > >
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              > > l.java:686)
              > > at
              > >
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
              > > Manager.java:247)
              > > at
              > >
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
              > > at
              > > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              > > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              > >
              > > I donot have anything under WEB-INF\lib. If I include the EJB Jars then
              I
              > > get ClassCastException.
              > > Can anyone help me with this. This is working application on Win2000 and
              I
              > > am moving to sun
              > > and restructuring accor. to servlet spec2.2.
              > >
              > > Thanks in advance,
              > > - Rishi Prakash
              >
              

  • Loader constraints (oracle/sql/converter/CharacterConverters)

    I'm trying to get OC4J standalone to work with instant client of JDBC in order to use OCI. I can run the java code stand-alone on the Oracle home I've installed the OC4J in, but when I try to run the application through OC4J I get the following error - indicating a setup problem?
    java.lang.LinkageError: Class oracle/sql/converter/CharacterConverters violates loader constraints
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1179)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1065)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.findClass(ContextClassLoader.java:404)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.loadLocalClassFirst(ContextClassLoader.java:158)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:137)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at oracle.sql.CharacterSet1Byte.getInstance(CharacterSet1Byte.java:79)
         at oracle.sql.CharacterSetWithConverter.getInstance(CharacterSetWithConverter.java:91)
         at oracle.sql.CharacterSetFactoryThin.make(CharacterSetFactoryThin.java:104)
         at oracle.sql.CharacterSet.make(CharacterSet.java:430)
         at oracle.jdbc.driver.DBConversion.<init>(DBConversion.java:126)
         at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:356)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:348)
         at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:139)
         at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:196)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:146)
         at tsa.common.tsaDB.newConnection(tsaDB.java:30)
    I've searched but really found nothing indicating problems with this class. Is this an NLS problem?

    Well - I don't have to look for that setting - I know it's set to excatly that - because I did that ;)
    I cannot use the JDBC built into OC4J. First, it's using CLASSES12DMS - secondly I use XDB. Even if it was using OJDBC14 it most likely would not be "binary compatible" with the XDB from the 10g RDBMS. I've had this problem on the AS 10g of OC4J and I did try it on this one too. XDB crashes out with basically the same error -just different library.
    My issue is integration into OC4J. This application works outside OC4J (the method that fails work). By simply setting CLASSPATH to the OJDBC14 from the instant client, LD_LIBRARY_PATH to the *.so files from the same instant client, plus XDB from the 10g home, and XMLPARSEV2 - the connection succeeds and data is retreived etc.
    NOW - the exact error here I think I identified. OC4J loads ORAI18N - an older version (at least different from) compared to the one that comes with instant client. I put the instant client's ORAI18N in the "pre-path" load (that setting you refer to) and I'm now at a different loader constraint for sql/oracle/OPAQUE. Trying to identify which library, if any, that OC4J is providing which shouldn't be there.
    I've read the note that explains how to install a different version of JDBC with OC4J. Problem is, that instant client doesn't come with CLASSES12DMS - and secondly I've tried to replace the DMS version with a link to OJDBC14 and it staill failed.
    In a way this particular thread got resolved last night - but I still have the same basicly problem. Getting a different JDCB version using OCI to work from within OC4J 10.1.x.

  • Java.lang.LinkageError: loader constraint violation

    I am using ToplinkEssentials as a persistence provider in a J2SE desktop application. I've encountered the following error.
    java.lang.LinkageError: loader constraint violation: loader (instance of sun/misc/Launcher$AppClassLoader) previously initiated loading for a different type with name "expendituretracking/Employee"
    I have unsuccessfully searched for a clue as to what is causing this problem. Any help is appreciated.

    Hello,
    Could this be related to the bug described at:
    https://glassfish.dev.java.net/issues/show_bug.cgi?id=2625
    If you have an interface involved, try adding them to the persistence.xml's list of classes.
    Best Regards,
    Chris

  • Free resource loading pdf booklet released

    Hi,
    I converted my resource loading html pages to docbook.
    The pdf booklet for printing and offline consumption entitled "Resource Loading Tutorial and Rachel Open Source Toolkit for Java Web Start/JNLP" can be found online at
    http://www.geocities.com/vamp201/download/resources.pdf
    In case the site is temporarily unavailabe, you can use this alternate link:
    http://www.jenomics.de/vamp/doc/resources.pdf
    You can browse the resource loading tutorial online at
    http://www.geocities.com/vamp201/tutorial.html
    and you can browse the open source resource loading toolkit user documentation online at
    http://www.geocities.com/vamp201/resources.html
    Enjoy
    - Gerald

    Hi,
    the booklet is now also available for download at
    http://briefcase.yahoo.com/vamp201
    - Gerald

  • Advanced Applet Resource Loading

    Hi All,
    Java 6 Resource loading works as follows with a remote resource:
    * First tries to locate the resource as a system resource; then, if not found,
    * Searches through the resources in archives (JAR files) already loaded in this CODEBASE; then, if not found,
    * Uses CODEBASE and attempts to locate the resource (which may involve contacting a remote site).
    Due to size issues of multimedia image and sound files resources need to be cached, and at the same time depending on the Applet connection speed this can be a time consuming process taking several minutes, which is an unacceptable option. I am looking for a more elequent solution than my current one which goes as following:
    1. Create fully signed and indexed Jar files.
    2. Start a custom classloader Applet that will attempt to launch the current task that will playback multimedia (audio, images, video). Since each Jar file is large, and contains multiple multimedia files, and the download time is long if a particular resource cannot be located in the classpath, the assumption is it is because the Jar file is downloading and has not completed, therefore to get the user moving we will make an HTTPURLConnection request to the web server for each JAR's index list, and then we download the resource directly from a web server Jar URL.
    This solution will require custom caching and a bunch of other issues like versioning, and such. Any better ideas?
    Thanks,
    Aaron

    Doubleposted: [http://forums.sun.com/thread.jspa?threadID=5377115]. Please don't do that. Stick to one topic. Do not use browser's back button to edit the recently posted message, you're going to repost it again otherwise. Use the message's edit button for it.

  • Free resource loading tutorial available

    Hi,
    I wrote up a free resource loading tutorial for Java Web Start/JNLP.
    You can find it here http://www.geocities.com/vamp201/tutorial.html
    You can browse the source here http://www.geocities.com/vamp201/tutorial/crossref/index.html
    And finally you can launch the example app here http://www.jenomics.de/vamp/tutorial.jnlp
    Enjoy.
    - Gerald

    I have tried both options. Configuring the proxies didn't help. Make it to use no proxy didn't help either.
    I have posted this problem before, but no one answered.
    I use JWS 1.0.1.
    If I don't specify proxies, the loading screen just loops. If i do, an error come up saying bad mime type returned by the server. Which is non-sense, since otherwise JWS wouldn't launch at all!

  • How do I know what is the minimum resource requirement for OLAP 11g?

    How do I know for OLAP 11gR1 ...
    1. what is the minimum number of CPUs and speed required
    2. how much minimum physical memory, SGA, PGA etc. is required?
    Regards, Anirban

    Hello Anirban,
    In summary, since the OLAP option is an option to Oracle Database 11g, Enterprise Edition the minimum requirements in order to run the database would be identical to those necessary to run a "Data Warehousing" type installation. That being said starting up a database is a far cry from actually performing well while accessing and building OLAP Cubes in your Database.
    There are lots of things to consider. For example: the complexity of your model; data sparcity; level of aggregation; system load, SLAs, etc..
    Lets look at true minimum requirements and then consider what it would take to achieve good performance in your environment
    TRUE MINIMUM...
    I performed a test in my environment (Oracle Database 11g Release 2 (11.2.0.2.0) on Oracle Enterprise Linux 5.5) using Analytic Workspace Manager 11.2.0.2.0A and found the following minimum settings to work against the OLAPTRAIN schema (You may find it here http://www.oracle.com/technetwork/database/options/olap/index.html). This is a very small schema which we use for demonstration purposes.
    I discovered that the database started with a memory_target of only 160m (apparently this is the absolute minimum for my environment). I knew that if the database successfully started that I would be able to query the Cube but maintain it? Running queries against the OLAPTRAIN Sales Cube, despite being slow, worked as anticipated. Next, I performed a maintain operation on the Sales Cube where I had to abort the job because it ran into memory issues at 160m, however, when I increased it to only 180m it did a complete maintain in a reasonable timeframe, albeit slow considering the limited resources.
    MINIMUM REQUIREMENTS TO ENSURE REASONABLE PERFORMANCE IN YOUR ENVIRONMENT
    Most importantly ensure you have a good cube design
    Run a sample set of your data in order to define what "reasonable performance" is for your environment. Create a small representative cube in order to test both build and query performance while collecting and analyzing database statistics through AWR and ADDM. For OLAP option specific queries please take a look at http://wiki.oracle.com/page/OLAP+option+-DBASample+Scripts.
    You could creat a view on top of your fact table and use the view to generate your OLAP Cube. This will allow you to test a more manageable amount of data. For example, if you have 10 years of data and want to determine the footprint and resources required in order to manage a Cube of this volume then consider scoping it down to a few months first then increase it by a measured amount in order to predict requirements. Monitor your resources and ensure you balance I/O, memory and processors. Since the OLAP option is a Enterprise Edition option it falls under Data Warehousing. As such there is plenty of literature available on oracle.com in order to define what it takes to achieve a balanced Data Warehouse.
    I would recommend contacting Oracle Consulting or an Oracle Partner to determine the best fit for your environment.

  • Kodo class/resource loading approach will be a problem in managed environment.

    Hello,
    Kodo does not work with Apache Tomcat 3 and 4 unless Kodo jars and my
    persistent classes loaded by the same class loader. Kodo uses
    Class.forName() and class.getResources() on class loader which loaded Kodo
    classes thus it is not able to find system.prefs or package.jdo (and even if
    it was able to find system.prefs how would it handle multiple system.prefs
    from multiple contexts each managed by its own class loader?)
    The problem as I see it is that web containers usually have container
    classloader(s) and a class loader per web context. Desired configuration
    would be to share Kodo classes among all contexts and implement jndi factory
    to provide PersistentManagerFactory lookup in each web container
    environment. According to Tomcat specs I placed Kodo jars in
    $tomcat_home/lib (class loader shared among all contexts) and deployed my
    persistent classes along with system.prefs and *.jdo files to my context
    WEB-INF/lib directory. As a result Kodo would not find system.prefs resource
    and eventually fail with error - required resource db/url could not be
    loaded. I tried to place Kodo jars into together with my persistent classes
    in WEB-INF/lib it did not help (this was really strange since all classes
    should have been loaded by the same context class loader) The only
    configuration that works is when I put Kodo and my persistent classes in
    tomcat's common directory or on system class path. Which is of course not a
    right way to go as context specific classes such as my persistent classes
    should be shared
    Without source code it is hard to figure out what is going on and how
    resources get loaded, so could somebody look into it. It is quite important
    for us to resolve this issue as we are planning to use Kodo with tomcat.
    Also I am not sure that system.prefs is a good idea. As I mentioned when
    integrated with appserver/web container environment jndi it is up to jndi
    factory to create and configure PersistentManagerFactories. Different
    PersistentManagerFactories will be bound to different jndi names often in
    different contexts under common or separate class loaders and they should
    not be in my opinion dependent on common system.prefs
    I would greatly appreciate your suggestion on proper use of Kodo in web
    container environment
    Thank you very much in advance
    Alex Roytman

    I want to add that even if we put both Kodo jars and persistent classes jar
    in WEB-INF/lib to be loaded by context class loader it does not work due to
    following piece of code in Prefs.java:
    private static synchronized void loadSystem() {
    try {
    Enumeration enumeration =
    (com.techtrader.util.app.Prefs.class).getClassLoader().getResources("system.
    prefs");
    Object obj = null;
    Object obj1 = null;
    InputStream inputstream;
    for (; enumeration.hasMoreElements(); inputstream.close()) {
    URL url = (URL)enumeration.nextElement();
    inputstream = url.openStream();
    _cache.parse(inputstream, url.toString(), "");
    catch (Exception exception) {
    throw new ParseException(exception);
    however if we replace it with following it will work:
    private static synchronized void loadSystem() {
    try {
    Object obj = null;
    Object obj1 = null;
    URL url =
    (com.techtrader.util.app.Prefs.class).getClassLoader().getResource("system.p
    refs");
    InputStream inputstream = url.openStream();
    _cache.parse(inputstream, url.toString(), "");
    inputstream.close();
    catch (Exception exception) {
    throw new ParseException(exception);
    "Alex Roytman" <[email protected]> wrote in message
    news:[email protected]...
    Hello,
    Kodo does not work with Apache Tomcat 3 and 4 unless Kodo jars and my
    persistent classes loaded by the same class loader. Kodo uses
    Class.forName() and class.getResources() on class loader which loaded Kodo
    classes thus it is not able to find system.prefs or package.jdo (and evenif
    it was able to find system.prefs how would it handle multiple system.prefs
    from multiple contexts each managed by its own class loader?)
    The problem as I see it is that web containers usually have container
    classloader(s) and a class loader per web context. Desired configuration
    would be to share Kodo classes among all contexts and implement jndifactory
    to provide PersistentManagerFactory lookup in each web container
    environment. According to Tomcat specs I placed Kodo jars in
    $tomcat_home/lib (class loader shared among all contexts) and deployed my
    persistent classes along with system.prefs and *.jdo files to my context
    WEB-INF/lib directory. As a result Kodo would not find system.prefsresource
    and eventually fail with error - required resource db/url could not be
    loaded. I tried to place Kodo jars into together with my persistentclasses
    in WEB-INF/lib it did not help (this was really strange since all classes
    should have been loaded by the same context class loader) The only
    configuration that works is when I put Kodo and my persistent classes in
    tomcat's common directory or on system class path. Which is of course nota
    right way to go as context specific classes such as my persistent classes
    should be shared
    Without source code it is hard to figure out what is going on and how
    resources get loaded, so could somebody look into it. It is quiteimportant
    for us to resolve this issue as we are planning to use Kodo with tomcat.
    Also I am not sure that system.prefs is a good idea. As I mentioned when
    integrated with appserver/web container environment jndi it is up to jndi
    factory to create and configure PersistentManagerFactories. Different
    PersistentManagerFactories will be bound to different jndi names often in
    different contexts under common or separate class loaders and they should
    not be in my opinion dependent on common system.prefs
    I would greatly appreciate your suggestion on proper use of Kodo in web
    container environment
    Thank you very much in advance
    Alex Roytman

  • Resource Loading in P6 V.8

    Hi
    Is there any way to load the resources in WBS level and will be distributed to the activities based duration?

    Use functionality Top Down Estimation. from Tools-- Top Down Estimation.
    Thanks,
    Sachin

Maybe you are looking for

  • How do I get the songs from iTunes to my iPod

    Hello, I have downloaded all of my CD's onto iTunes, and now I plug in the iPod into the USB and it is just flashing Do not disconnect. I connected it, and there are NO songs saved to my iPod...can anyone help me?

  • Receiver Time error in adapter Module in PI 7.31

    Hello Team, I am trying working on adapter module that accomplish Message id, Sender Interface name,Receiver Interface name sent time and receiver time. I got all values in my file except receiver time .I have failed to get exact receiver time. sent

  • Export with formatting

    How would we export pdf with formatting. Basically we save the data and use it to show the pdf later. We are missing the formatting while we do so.

  • Free upgrade to os x lion

    I purchased a new iMac in August 2011.  My friend just recently purchased one and was told he could receive a free upgrade to OS Lion but has to be within 30 days of purchase.  I purchased mine from Bestbuy and they didn't tell me that.  Since it has

  • Can not create dbenvirement

    i copied the exemple that create an envirement in berkeley db xml 2.3.1 but in execution it show me this message "Error opening database environment: testEnv DbEnv::open: No such file or directory Press any key to continue" this is the code that i tr