vamsikiran mallampalli

Greenhorn
+ Follow
since Oct 12, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by vamsikiran mallampalli

Hi,
I need to send some data into xls sheet and send this xls via email.all this need to be done at a time.Iam using struts framework.
iam able to display the xls sheet along with the data inserted into it and also iam able to send email seperately.
But the email that iam sending is unable to take the xls sheet as an attachment automatically.

Can anyone help me in writing this code.
I have a form bean,action and a util classes to perform this task.

Any ideas or suggestions??
16 years ago
I have 2 tables,t1 (parent table)and t2(child).
In t1 i have 10 columns and t2 has 4 columns.

In t1 and t2 there is a common column x.
For each record of this common column x -- (Eg:x=100)
t1 has 1 row data
t2 has 24 rows data.

The requirement is

Display T1's 1 row data and T2's 24 rows data as a single row.

THis should be done using a oracle query only.Later i need to display all these columns as a single row in front end.

I have used joins to join them but unable to display them as a single row data..
Any ideas?Please help me as early as possible as this is an urgent requirement.

Thanks in advanc
16 years ago
These are the errors i got.
<code>
56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl$MappableContentsArchive.open(DeployedApplicationImpl.java:1399)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:454)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:296)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:246)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplications(ApplicationMgrImpl.java:471)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplications(ApplicationMgrImpl.java:406)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:349)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:821)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:149)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:821)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:356)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:173)
[12/14/06 10:56:26:470 CST] 0000000a SystemErr R at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:120)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:378)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at com.ibm.ws.runtime.WsServer.main(WsServer.java:50)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at java.lang.reflect.Method.invoke(Method.java:391)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:190)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R Wrapped by
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R org.eclipse.emf.common.util.WrappedException: C:\Documents and Settings\rad_latest\.metadata\.plugins\com.ibm.wtp.j2ee\looseconfigurations\Rad_newEAR\looseconfig.xmi (The handle is invalid.
)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:346)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.loadLooseApplicationResource(LooseConfigRegister.java:229)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.loadLooseApplication(LooseConfigRegister.java:221)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.findLooseApplication(LooseConfigRegister.java:78)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.DirectoryArchiveLoadStrategyImpl.getLooseArchive(DirectoryArchiveLoadStrategyImpl.java:40)
[12/14/06 10:56:26:486 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.primGetResourcesPath(LoadStrategyImpl.java:169)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.initializeResourceSet(LoadStrategyImpl.java:347)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.getResourceSet(LoadStrategyImpl.java:231)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:329)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:891)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:256)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:32)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.Ear12ImportStrategyImpl.loadDeploymentDescriptor(Ear12ImportStrategyImpl.java:72)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.Ear12ImportStrategyImpl.importMetaData(Ear12ImportStrategyImpl.java:67)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:287)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeModuleExtensions(EARFileImpl.java:608)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeAfterOpen(EARFileImpl.java:687)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.impl.CommonarchiveFactoryImpl.openSpecificArchive(CommonarchiveFactoryImpl.java:727)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.j2ee.commonarchivecore.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:563)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:532)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl$MappableContentsArchive.open(DeployedApplicationImpl.java:1399)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:454)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:296)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:246)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplications(ApplicationMgrImpl.java:471)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplications(ApplicationMgrImpl.java:406)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:349)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:821)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:149)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:821)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:356)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:173)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:120)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:378)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.runtime.WsServer.main(WsServer.java:50)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at java.lang.reflect.Method.invoke(Method.java:391)
[12/14/06 10:56:26:501 CST] 0000000a SystemErr R at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:190)
[12/14/06 10:57:15:502 CST] 00000048 SystemErr R java.lang.VerifyError: class loading constraint violated (class: oracle/jdbc/driver/OracleResultSet method: updateBFILE(ILoracle/sql/BFILE V) at pc: 0
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at java.lang.Class.verifyImpl(Native Method)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at java.lang.Class.verify(Class.java:253)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at java.lang.Class.verify(Class.java:251)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at java.lang.Class.verify(Class.java:251)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at java.lang.Class.initialize(Class.java:315)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:718)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at oracle.jdbc.dbaccess.DBAccess.setNlsParamsClient(DBAccess.java:1180)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at oracle.jdbc.ttc7.TTC7Protocol.initNls(TTC7Protocol.java:1223)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:405)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:485)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:337)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at java.sql.DriverManager.getConnection(DriverManager.java:539)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at java.sql.DriverManager.getConnection(DriverManager.java:189)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at com..sql.x.getConnection(DataSourceWrapper.java:94)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at com..sql.x.retrieveSQLText(DataSourceWrapper.java:178)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at com..sql.x.init(DataSourceWrapper.java:56)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at com..sql.x.<init>(DataSourceWrapper.java:32)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at com..sql.x.getInstance(DataSourceWrapper.java:63)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at com..servlets.yServlet.testConnection(xServlet.java:165)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at com..servlets.yServlet.handleClient(yServlet.java:58)
[12/14/06 10:57:15:518 CST] 00000048 SystemErr R at com..beans.threads.Daemon.run(Daemon.java:38)


[12/21/06 15:31:23:202 CST] 0000004a ServletWrappe A SRVE0242I: [/main.jsp]: Initialization successful.
</code>

Please suggest me
17 years ago
I answered 12 too.
Fighting with 13 now.It has a word with reverse word and the source is as follows:

Okay the text is ciphered.
Now find the cipher.

Hint hint ;-) ;-) All you need is available online...

We've given you enough clues... go figure.


I found the answer but unable to continue.Where should i click or type that ciphered word.Please help
[ December 18, 2006: Message edited by: vamsikiran mallampalli ]
17 years ago
Now iam strucked at 12.The image has different faces: 1) vat 69 2)a dance party 3) a car 4) knifes 5) No exit
What is the username and password?Please help
[ December 18, 2006: Message edited by: vamsikiran mallampalli ]
17 years ago
I got the answer for 10.
17 years ago
Can anybody help me in answering question number 9.From image, i got the following letters : m-c-b-u-a-a-h-e =a bum ache.
A bum ache...a pain in the ass...an annoyance...a jerk...a tool.
And iam struck here.Can anyone help?Also,there is no link to click on this image.How can i continue to 10?Please help.


[ December 18, 2006: Message edited by: vamsikiran mallampalli ]
[ December 18, 2006: Message edited by: vamsikiran mallampalli ]
17 years ago
Iam strucked at puzzle no 9.Any ideas?Also,where do i need to click to go to 10?Please help me...
17 years ago
Thanks Jeanne,now i have replaced with latest dld and tld files provided by the sun in web.xml and xyz.tld file.

But,iam still working on issues which occured after this replacement.There seems to be some configuration errors.
Do i need to do any configurations in the server?Please suggest me.
Thanks in advance.
17 years ago
Thanks everybody for replying me.I got so much information from you people.Thanks again.
17 years ago
Hi all,
I am correcting my yesterday's post.I have certain questions (questions in Western==doubts in Indian English(British English i hope)--may be you are right) regarding this daylight issue.

1)Please reply all the new timezones that are going to update with respect to this DST change? For eg:
CST --- America/Chicago
Similarly what will be new changes for the following:

EST --- ??(Now EST is pointing to US-Indiana, Eastern,US/Eastern-
Starke,US/Michigan....Will it be same?)
PST --- ?? (PST now is pointing to US-Pacific and Pacific New)
AKST---?? (nowUS/Alaska)
HAST -?? (nowUS/Aleutian)
MST-?? (NowUS/Arizona and US/Mountain)
HST-?? (Now US/Hawaii)

2)Also, during daytime period i.e, from second sunday of march to 2nd sunday of November will the timezone be still CST or will it be changed to CDT?

3) Where can i get the jdk patch related to this?

Please help me.
17 years ago
Hi all,
is anyone working on Daytime savings issue which is going to happen in 2007 march.
I will explain you briefly:
(Source: http://www-1.ibm.com/support/docview.wss?uid=swg21219396)
The passage of the Energy Policy Act of 2005 alters the Daylight Saving Time (DST) start and stop dates by four weeks. Extended Daylight Saving Time will begin in March of 2007. As a result of this change, APARs, maintenance, or actions will be required for the WebSphere Application Server and operating systems. Information about the Energy Policy Act can be found on the US Department of Energy Web site.

The Energy Policy Act changes the effective dates of DST. Beginning in 2007, DST start and end dates will be:

Start date: Second Sunday of March
End date: First Sunday of November


Note: These WebSphere Application Server fixes address time zone changes in the United States. However, similar DST changes taking place in Canada (and elsewhere in North America) next March are not covered by the fixes listed in this Flash, at this time. Further detailed information on those additional DST fixes will be furnished (here) in the near future.

If anyone is working on this issue lease reply here,i have some doubts..
17 years ago
Is the server starting successfully or its just not starting as well not showing any logs in the console??
17 years ago
I have already included the tld file in my web.xml file in the following way:
----------------------- Web.xml: --------
<code>
<?xml version="1.0" encoding="UTF-8"?>

< !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">;
web-app>
.
.
taglib>
taglib-uri>/xyz.tld</taglib-uri>
taglib-location>/WEB-INF/xyz.tld</taglib-location>
/taglib>
/web-app>
----------------------------------------------------
I have added jsp-config following your reply in this way.
web-app>
.
.
jsp-config>
taglib>
taglib-uri>/xyz.tld</taglib-uri>
taglib-location>/WEB-INF/xyz.tld</taglib-location>
/taglib>
/jsp-config>
/web-app>

Then it is showing the following error at /web-app> : The content of element type "web-app" must match ("icon?display name?.....,servlet*,servlet-mapping*,error-page*,taglib*,.....) Is the format above is correct?Correct me if iam wrong.
Also,if you see the web.xml,the following dtd is included.This dtd is for servlets 2.3 only. But,while deploying, i have selected servlet2.4.Is this the problem?If so,is there any path for servlet2.4 too provided by sun?
http://java.sun.com/dtd/web-app_2_3.dtd
Also, in xyz.tld file, the following path is included which is related to jsp 1.2.But, i am using jsp1.3 in RAD.Is there any new tld for 1.3 too??
http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd
Please suggest me..


[ December 12, 2006: Message edited by: vamsikiran mallampalli ]
[ December 12, 2006: Message edited by: vamsikiran mallampalli ]
17 years ago
I have selected J2EE1.4 only.
Also,i got some information about RAD that it (RAD) wont support jsp <taglib>'s.
http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=266&thread=141611&cat=9

Can anybody know what will be the alternative for this <taglib> as iam using using a x.tld file which has <taglib>.I got from some other link in javaranch website itself that we need to run a patch for it.Is it true?
Please help me.
17 years ago