nitss bhavsar

Ranch Hand
+ Follow
since Jan 09, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by nitss bhavsar

thanks all of you for your reply ...I have started to implement it...
12 years ago
hi henry ,
thanks for reply...
ya you are right ..i am confused...do you have any example so that i should start with that...
12 years ago
hi,
my question is like from where to start,which core java concepts i should use?
12 years ago
hello Jeanne,
First of all thanks for your immediate reply..
1.what i want it to do-
a.first student should enter his/her details(like name,age,address,city,state..etc)
b.scores of previous years(like 10th,12th,CET,diploma(second year direct admission)).
c.should have three branches(engineering IT,Comps,Electronics)
d.cut off for each branch.
e.should have all the required documents for admission.
f.it should be offline.
g.if student satisfy all the criteria then he is valid candidate for admit.

2.what i want to have in database
a.i need to use jdbc (Oracle db)
b.database should have details of the valid candidate who is eligible to admit.
c.his/her name,branch selected,scores,all documents are there.etc

3.Screens should be like (not exactly like this but somewhat..but it should be offline and need to use swing for UI)

https://www.elbowspace.com/FRHformexample18.htm


thanks,

12 years ago
hi,
I need to do mini project on college admission management (based on core java concept,swing,jdbc for connectivity),i am doing it for engineering college which has three branches.so, how exactly to do it?
do reply..
thanks in advance.

12 years ago
Hi,
I have a problem with publishing JUnit test results from one of our
projects.

The log says,

Recording test results
Test reports were found but none of them are new. Did tests run?
For example, /export/home/hudson/client/jobs/Orchestrator 840 Support/workspace/test-result/TEST-com.ftisoft.framework.TestOIDGenerator.xml is 2 mo 22 days old


does anybody have a hint ??how to resolve it?


regards,
12 years ago

Hi Bill,
Thanks for your response.
resolved this by updating Java version from 1.6.0.17 to 1.6.0.35.
Hi ,while executing testcase getting exception like


org.hibernate.exception.GenericJDBCException: Cannot release connection
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at com.j2fe.hibernate.SQLExceptionConverter.convert(SQLExceptionConverter.java:38)
at com.j2fe.hibernate.OracleDialect$OracleExceptionConverter.convert(OracleDialect.java:54)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
at org.hibernate.jdbc.ConnectionManager.closeConnection(ConnectionManager.java:453)
at org.hibernate.jdbc.ConnectionManager.cleanup(ConnectionManager.java:383)
at org.hibernate.jdbc.ConnectionManager.close(ConnectionManager.java:322)
at org.hibernate.impl.SessionImpl.close(SessionImpl.java:298)
at com.j2fe.logging.DBLogger.deleteLog(DBLogger.java:1603)
at com.j2fe.logging.DBLogger.deleteLogSimple(DBLogger.java:535)
at com.j2fe.logging.TestDBLogger.testDeleteLogSimple(TestDBLogger.java:543)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.sql.SQLException: Protocol violation
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:479)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:193)
at oracle.jdbc.driver.T4C7Ocommoncall.doOLOGOFF(T4C7Ocommoncall.java:59)
at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:593)
at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:5094)
at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.j2fe.database.OracleXADataSource$ReflectionHandler.invoke(OracleXADataSource.java:795)
at com.j2fe.database.OracleXADataSource$WrappedConnection.invoke(OracleXADataSource.java:737)
at $Proxy1.close(Unknown Source)
at org.hibernate.connection.DatasourceConnectionProvider.closeConnection(DatasourceConnectionProvider.java:74)
at org.hibernate.jdbc.ConnectionManager.closeConnection(ConnectionManager.java:449)
... 24 more

how to resolve this??
thanks in advance.
Hi while running testcase i am getting following exception

og4j:ERROR javax.naming.NotContextException
javax.naming.NotContextException
at org.osjava.sj.jndi.AbstractContext.destroySubcontext(AbstractContext.java:529)
at org.osjava.sj.jndi.AbstractContext.close(AbstractContext.java:697)
at javax.naming.InitialContext.close(InitialContext.java:531)
at com.j2fe.logging.EjbLogger.get(EjbLogger.java:64)
at com.j2fe.logging.EjbLogger.<init>(EjbLogger.java:26)
at com.j2fe.logging.EjbLoggerFactory.create(EjbLoggerFactory.java:21)
at com.j2fe.logging.ComponentLoggerFactory.makeNewLoggerInstance(ComponentLoggerFactory.java:14)
at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:270)
at org.apache.log4j.LogManager.getLogger(LogManager.java:209)
at org.apache.log4j.Logger.getLogger(Logger.java:155)
at com.j2fe.ejb.BaseEJB.ejbCreate(BaseEJB.java:32)
at com.j2fe.workflow.ejb.FlowControllerBean.ejbCreate(FlowControllerBean.java:233)
at com.j2fe.workflow.ejb.TestStartFlowStoreVendorData.testStartFlow(TestStartFlowStoreVendorData.java:329)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
2012-09-13 11:09:27,116 [main] DEBUG - com.j2fe.test.transaction.MockTransactionManagerFactory - No JTA UserTransaction found at default JNDI location [java:comp/UserTransaction]

how to resolve it???
Thanks in advance...
HI,
For application to test i need jtest framework ,as its a licensed i need trial version of it,tried to download from the parasoft official site but didnt get one.

Please is there any way to get same??
Do reply,
Regards,
12 years ago
hi,
while running one testcase in eclipse getting error like Variable references non-existent resource : ${workspace_loc:project}.
how to solve it please reply.




regards,
hi, i am getting following exception while running the application.
how to solve it?
javax.naming.NamingException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
at org.mom4j.jndi.ContextImpl.lookup(ContextImpl.java:265)
at org.mom4j.jndi.ContextImpl.lookup(ContextImpl.java:251)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.j2fe.general.activities.TestJMS.testAll(TestJMS.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
at org.mom4j.xcp.XcpSender.openConnection(XcpSender.java:115)
at org.mom4j.xcp.XcpSender.send(XcpSender.java:75)
at org.mom4j.jndi.ContextImpl.lookup(ContextImpl.java:263)
... 21 more
thanks.
12 years ago
java.lang.UnsatisfiedLinkError: no CommonControl in java.library.path?
Here Common control means ?Exactly what i have to include in path?
12 years ago