Ramesh,
That's the problem. I couldn't see java build path in the properties. I was thinking it's not showing Java Build Path there because they were not Java projects (Maven projects). I may be wrong. Not just the generated code, I just want to walk through the entire code.
Regards
Ram
> Subject: RE: [teiid-dev] Issue when getting the Teiid Code through Anonymous SVN
> From: rareddy@redhat.com
> To: rkishore999@hotmail.com
> CC: teiid-dev@lists.jboss.org
> Date: Tue, 25 Aug 2009 08:41:27 -0500
>
> Rama,
>
> no, I will answer this here. The code is JavaCC generated code, you
> rarely would want to walk it and it is disposable as you can re-generate
> it, that is reason the code is in the "target" directory.
>
> You can also right click on the "engine" project, go to "properties"
> once the dialog box shows up, select "Java build Path", and under
> "source" folder you can add the "target/generated-sources/javacc" as the
> source folder by clicking and selecting "Add Folder" button.
>
> Even the method specified on the Wiki document is correct, I am not sure
> the issues you are having.
>
> Hope this helps.
>
> Ramesh..
>
> On Tue, 2009-08-25 at 10:51 +0000, Rama Kishore Yelamanchilli wrote:
> >
> > Ramesh,
> >
> > I got the 6.2 src code checked out from anonymous SVN. As per the
> > "Eclipse Dev environment setup guide" page I did a right click on
> > "engine" project and did "Maven Generate Sources". It did create 5
> > java source files in engine/target/generated-resources/javac folder.
> > As per the setup guide, when I right clicked on
> > "engine/target/generated-resources/javacc folder and trying to put it
> > in the build path, I couldn't do that as it shows "No actions
> > available" when I choose the build path".
> >
> > Should I just ignore it and keep going with the build? Can you please
> > help me with this? Also without having the code in build path it's
> > very difficult to browse through the code in eclipse. Any suggestions
> > regarding this. I'm sorry if again this is not the right place to
> > post. Thankyou for all your patience and help.
> >
> > Regards
> >
> > Ram
> >
> >
> >
> > > Subject: RE: [teiid-dev] Issue when getting the Teiid Code through
> > Anonymous SVN
> > > From: rareddy@redhat.com
> > > To: rkishore999@hotmail.com
> > > CC: teiid-dev@lists.jboss.org
> > > Date: Mon, 24 Aug 2009 15:18:45 -0500
> > >
> > > Rama,
> > >
> > > I have solution for you, but you need to post this question in a
> > > separate thread, or in user forum at
> > >
> > > http://www.jboss.org/index.html?module=bb&op=viewforum&f=298
> > >
> > > in this thread we were trying to fix the anonymous svn issue.
> > >
> > > Thanks for your co-operation.
> > >
> > > Ramesh..
> > >
> > > On Mon, 2009-08-24 at 19:39 +0000, Rama Kishore Yelamanchilli wrote:
> > > >
> > > > Ramesh,
> > > >
> > > > Thanks for your continued support. I have downloaded the latest
> > 6.2
> > > > Teiid runtime. I have a working VDB from 6.1 TEIID designer. I
> > have
> > > > placed the .vdb in the deploy folder and started the server. Then
> > ran
> > > > the run.bat script as "run <vdb_name> "<query>". Dtaabase is
> > Oracle. I
> > > > have placed "classes12.jar" in "extensions" folder. I'm getting
> > the
> > > > following error.
> > > >
> > > > 2009-08-24 12:26:21,651 WARN [main]
> > > > org.jboss.cache.transaction.GenericTransactionManagerLookup -
> > Falling
> > > > back to JBoss Cache's internal DummyTransactionManager
> > > > 2009-08-24 12:26:22,542 ERROR [main] org.teiid.DQP - Connector
> > Binding
> > > > MyVdb.MyVdb_PSEDEV Connector failed to start, check the properties
> > and
> > > > start again.
> > > >
> > com.metamatrix.common.application.exception.ApplicationLifecycleException: Could not find Connector class org.teiid.connector.jdbc.JDBCConnector
> > > > at
> > > >
> > org.teiid.dqp.internal.datamgr.impl.ConnectorManager.initStartConnector(ConnectorManager.java:437)
> > > > at
> > > >
> > org.teiid.dqp.internal.datamgr.impl.ConnectorManager.start(ConnectorManager.java:357)
> > > > at
> > > >
> > com.metamatrix.dqp.embedded.services.EmbeddedDataService.startConnectorBinding(EmbeddedDataService.java:275)
> > > > at
> > > >
> > com.metamatrix.dqp.embedded.services.EmbeddedDataService.startService(EmbeddedDataService.java:388)
> > > > at
> > > >
> > com.metamatrix.dqp.embedded.services.EmbeddedBaseDQPService.start(EmbeddedBaseDQPService.java:74)
> > > > at
> > > >
> > com.metamatrix.common.application.Application.installService(Application.java:48)
> > > > at org.teiid.dqp.internal.process.DQPCore.start(DQPCore.java:612)
> > > > at
> > > >
> > com.metamatrix.jdbc.EmbeddedConnectionFactoryImpl.initialize(EmbeddedConnectionFactoryImpl.java:155)
> > > > at org.teiid.jdbc.EmbeddedProfile
> > > > $EmbeddedTransport.<init>(EmbeddedProfile.java:346)
> > > > at
> > > >
> > org.teiid.jdbc.EmbeddedProfile.getDQPTransport(EmbeddedProfile.java:167)
> > > > at
> > > >
> > org.teiid.jdbc.EmbeddedProfile.createConnection(EmbeddedProfile.java:146)
> > > > at
> > > > org.teiid.jdbc.EmbeddedProfile.connect(EmbeddedProfile.java:109)
> > > > at org.teiid.jdbc.TeiidDriver.connect(TeiidDriver.java:92)
> > > > at java.sql.DriverManager.getConnection(Unknown Source)
> > > > at java.sql.DriverManager.getConnection(Unknown Source)
> > > > at JDBCClient.getDriverConnection(JDBCClient.java:51)
> > > > at JDBCClient.main(JDBCClient.java:39)
> > > > Caused by:
> > > >
> > com.metamatrix.common.application.exception.ApplicationLifecycleException: The specified connector class org.teiid.connector.jdbc.JDBCConnector is not an instance of a Teiid connector. This may be due to an inappropriate classpath entry. An attempt was also made to treat the class as a legacy MetaMatrix connector, however this was not successful either.
> > > > at
> > > >
> > org.teiid.dqp.internal.datamgr.impl.ConnectorManager.initStartConnector(ConnectorManager.java:433)
> > > > ... 16 more
> > > > Caused by: java.lang.ClassNotFoundException:
> > > > com.metamatrix.data.api.Connector
> > > > at java.net.URLClassLoader$1.run(Unknown Source)
> > > > at java.security.AccessController.doPrivileged(Native Method)
> > > > at java.net.URLClassLoader.findClass(Unknown Source)
> > > > at java.lang.ClassLoader.loadClass(Unknown Source)
> > > > at java.lang.ClassLoader.loadClass(Unknown Source)
> > > > at
> > > >
> > org.teiid.dqp.internal.datamgr.impl.ConnectorManager.initStartConnector(ConnectorManager.java:426)
> > > > ... 16 more
> > > > 2009-08-24 12:26:22,933 ERROR [Worker0_QueryProcessorQueue0]
> > > > org.teiid.DQP - Unexpected exception for request 0.0
> > > > [ComponentNotFoundException]Connector Binding "MyVdb.MyVdb_PSEDEV
> > > > Connector" failed to start, or did not start correctly. Please
> > check
> > > > the connector binding properties. Check the log file for more
> > > > information.
> > > > at
> > > >
> > com.metamatrix.dqp.embedded.services.EmbeddedDataService.selectConnector(EmbeddedDataService.java:125)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.capabilities.ConnectorCapabilitiesFinder.findCapabilities(ConnectorCapabilitiesFinder.java:64)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.capabilities.SharedCachedFinder.findCapabilities(SharedCachedFinder.java:64)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.rules.CapabilitiesUtil.getCapabilities(CapabilitiesUtil.java:363)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.rules.CapabilitiesUtil.supports(CapabilitiesUtil.java:383)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.rules.CapabilitiesUtil.requiresCriteria(CapabilitiesUtil.java:368)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.rules.RulePlaceAccess.addAccessNode(RulePlaceAccess.java:138)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.rules.RulePlaceAccess.execute(RulePlaceAccess.java:76)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.RelationalPlanner.executeRules(RelationalPlanner.java:368)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.RelationalPlanner.optimize(RelationalPlanner.java:142)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.QueryOptimizer.optimize(QueryOptimizer.java:244)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.QueryOptimizer.recursiveOptimize(QueryOptimizer.java:218)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.QueryOptimizer.optimizePlan(QueryOptimizer.java:126)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.Request.generatePlan(Request.java:491)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.Request.processRequest(Request.java:583)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.RequestWorkItem.processNew(RequestWorkItem.java:365)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:200)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:44)
> > > > at com.metamatrix.common.queue.WorkerPoolFactory
> > > > $StatsCapturingSharedThreadPoolExecutor
> > > > $1.run(WorkerPoolFactory.java:211)
> > > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> > > > Source)
> > > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> > > > Source)
> > > > at java.lang.Thread.run(Unknown Source)
> > > > 2009-08-24 12:26:22,948 ERROR [Worker0_QueryProcessorQueue1]
> > > > org.teiid.DQP - Unexpected exception for request 1.0
> > > > [ComponentNotFoundException]Connector Binding "MyVdb.MyVdb_PSEDEV
> > > > Connector" failed to start, or did not start correctly. Please
> > check
> > > > the connector binding properties. Check the log file for more
> > > > information.
> > > > at
> > > >
> > com.metamatrix.dqp.embedded.services.EmbeddedDataService.selectConnector(EmbeddedDataService.java:125)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.capabilities.ConnectorCapabilitiesFinder.findCapabilities(ConnectorCapabilitiesFinder.java:64)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.capabilities.SharedCachedFinder.findCapabilities(SharedCachedFinder.java:64)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.rules.CapabilitiesUtil.getCapabilities(CapabilitiesUtil.java:363)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.rules.CapabilitiesUtil.supports(CapabilitiesUtil.java:383)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.rules.CapabilitiesUtil.requiresCriteria(CapabilitiesUtil.java:368)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.rules.RulePlaceAccess.addAccessNode(RulePlaceAccess.java:138)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.rules.RulePlaceAccess.execute(RulePlaceAccess.java:76)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.RelationalPlanner.executeRules(RelationalPlanner.java:368)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.relational.RelationalPlanner.optimize(RelationalPlanner.java:142)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.QueryOptimizer.optimize(QueryOptimizer.java:244)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.QueryOptimizer.recursiveOptimize(QueryOptimizer.java:218)
> > > > at
> > > >
> > com.metamatrix.query.optimizer.QueryOptimizer.optimizePlan(QueryOptimizer.java:126)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.Request.generatePlan(Request.java:491)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.Request.processRequest(Request.java:583)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.RequestWorkItem.processNew(RequestWorkItem.java:365)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:200)
> > > > at
> > > >
> > org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:44)
> > > > at com.metamatrix.common.queue.WorkerPoolFactory
> > > > $StatsCapturingSharedThreadPoolExecutor
> > > > $1.run(WorkerPoolFactory.java:211)
> > > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> > > > Source)
> > > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> > > > Source)
> > > > at java.lang.Thread.run(Unknown Source)
> > > >
> > > > Regards
> > > >
> > > > Ram
> > > >
> > > >
> > > >
> > > > > From: rareddy@redhat.com
> > > > > To: sumanth.technical@gmail.com
> > > > > Date: Mon, 24 Aug 2009 13:28:36 -0500
> > > > > CC: teiid-dev@lists.jboss.org
> > > > > Subject: Re: [teiid-dev] Issue when getting the Teiid Code
> > through
> > > > Anonymous SVN
> > > > >
> > > > > Sumanth,
> > > > >
> > > > > The issue
> > > > >
> > > > > svn: REPORT request failed on '/repos/teiid/!svn/vcc/default'
> > > > >
> > > > > seems to be reported by lots of people when I searched, but did
> > not
> > > > see
> > > > > one conclusive answer. Some were saying it the proxy server,
> > some
> > > > were
> > > > > saying dirty checkout etc, so more research is needed there.
> > > > >
> > > > > try running just
> > > > >
> > > > > mkdir teiid
> > > > > cd teiid
> > > > >
> > > > > svn co http://anonsvn.jboss.org/repos/teiid/ .
> > > > >
> > > > > this should checkout all the head version of the Teiid. If you
> > want
> > > > to
> > > > > check out a particular branch then run
> > > > >
> > > > > svn co http://anonsvn.jboss.org/repos/teiid/branches/6.1.x
> > > > >
> > > > > You can use Eclipse SVN plugin like "subversive"
> > > > >
> > > > > http://www.eclipse.org/subversive/downloads.php
> > > > >
> > > > > or use http://tortoisesvn.tigris.org/ as clients to checkout. I
> > > > think
> > > > > all the tools will support the picking up from the failed place.
> > Let
> > > > us
> > > > > know how this goes.
> > > > >
> > > > > Thanks
> > > > >
> > > > > Ramesh..
> > > > >
> > > > >
> > > > >
> > > > > On Mon, 2009-08-24 at 23:13 +0530, Sumanth P K wrote:
> > > > > > Ramesh,
> > > > > >
> > > > > > I tried again now and the good news is that it was able to
> > > > download
> > > > > > this time more files than the previous time. But it again
> > failed.
> > > > > > Please see the attached log. Is there a way by which I can
> > have
> > > > the
> > > > > > SVN Check Out resume from the point where it failed? (I know
> > this
> > > > is a
> > > > > > SVN question, sorry for that.).
> > > > > >
> > > > > > I was trying to check out the trunk folder as mentioned in the
> > > > URL:
> > > > > >
> > > >
> > http://www.jboss.org/community/wiki/EclipseDevEnvironmentSetUpforTeiid. Could it be because of that? I see that there is a 6.1 folder under the branch. Should I be taking from that instead?
> > > > > >
> > > > > > Thanks,
> > > > > > Sumanth.
> > > > > >
> > > > > > On Mon, Aug 24, 2009 at 4:35 AM, Ramesh Reddy
> > <rareddy@redhat.com>
> > > > > > wrote:
> > > > > > Sumanth,
> > > > > >
> > > > > > I just tried the same command against the anon-svn did not see
> > > > > > any issues, it may have been a network glitch at that time,
> > > > > > please try again and see if works this time.
> > > > > >
> > > > > > Ramesh..
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Sumanth P K" <sumanth.technical@gmail.com>
> > > > > > To: teiid-dev@lists.jboss.org
> > > > > > Sent: Saturday, August 22, 2009 9:34:11 AM GMT -06:00
> > > > > > US/Canada Central
> > > > > > Subject: [teiid-dev] Issue when getting the Teiid Code through
> > > > > > Anonymous SVN
> > > > > >
> > > > > >
> > > > > >
> > > > > > Teiid Group,
> > > > > >
> > > > > > I was trying to get the Teiid Code through the Anonymous SVN:
> > > > > > http://anonsvn.jboss.org/repos/teiid/ . I got the following
> > > > > > error in Eclipse:
> > > > > >
> > > > > > Checkout operation for '
> > > > > > http://anonsvn.jboss.org/repos/teiid/trunk ' failed.
> > > > > > svn: REPORT request failed on '/repos/teiid/!svn/vcc/default'
> > > > > > svn: CRLF expected at end of chunk: -1/-1
> > > > > >
> > > > > > Please find the log attached. Let me know how to resolve this.
> > > > > >
> > > > > > Bye,
> > > > > > Sumanth.
> > > > > >
> > > > > > _______________________________________________
> > > > > > teiid-dev mailing list
> > > > > > teiid-dev@lists.jboss.org
> > > > > > https://lists.jboss.org/mailman/listinfo/teiid-dev
> > > > > >
> > > > >
> > > > > _______________________________________________
> > > > > teiid-dev mailing list
> > > > > teiid-dev@lists.jboss.org
> > > > > https://lists.jboss.org/mailman/listinfo/teiid-dev
> > > >
> > > >
> > > >
> > ______________________________________________________________________
> > > > Date India’s Teen Diva. Find out if you hit it off with her or are
> > her
> > > > fiery opposite. Drag n’ drop
> > >
> >
> >
> > ______________________________________________________________________
> > From the hottest sporting action to the latest in news, style and
> > entertainment, it’s all on MSN India
>
One blink is all it takes for the world to change. One click and MSN India helps you catch up Try it!