Ram Sudheer Mandava

Greenhorn
+ Follow
since Aug 04, 2010
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 Ram Sudheer Mandava

i am just using Collections.sort(). but it is not working. Is there any other way?
8 years ago
hi all,

I am getting the data as follows and i want it to be sorted in descending order by year wise, month wise , day wise and then time wise:

INPUT

2013-02-07 09:02:00.0
2013-03-28 10:54:00.0
2012-26-15 10:54:00.0
2012-26-15 09:12:00.0
2013-02-20 08:12:00.0

OUTPUT SHOULD BE AS:

2012-26-15 09:12:00.0
2012-26-15 10:54:00.0
2013-02-07 09:02:00.0
2013-02-20 08:12:00.0
2013-03-28 10:54:00.0

Anyone please tell me how to do this in java
8 years ago
Hi All,

Sorry for asking this basic question. I am new to WAS. In my RAD I had "WebSphere Application Server v7.0 at localhost" and "WebSphere Commerce Test Server".

Is there any order to start and stop these 2 servers?
9 years ago
Sorry, I didn't get what you are saying? and log4j.jar file and .class file are in same directory. When run the batch file, .class file is not executing.
10 years ago
Hi All,
I'm supporting one java application. In that Windows system we have one batch file

example.bat

java -classpath "E:\Data\Scripts_in\Pre-Processing;E:\Data\Scripts_In\Pre-Processing\log4j-1.2.15.jar" HelloWorld


the above line is the content in the batch file. Now my question is How can i run that batch file in another windows system?
anyone please help me on this
10 years ago
Sorry I placed wrong extension in if condition. I corrected it now it is working fine
Thanks
10 years ago
JSP
Hi,
The image is getting from HttpSession and displaying in the page but I'm unable to link to the url.
11 years ago
JSP
Hi,
How to link the url to an image? Why the following code is not working?


<% String Logo = null;
if (httpSession.getAttribute("Logo")!=null) Logo = (String) httpSession.getAttribute("Logo"); %>

<% if(Logo!=null){%>
<%if(Logo.equalsIgnoreCase("image.jpeg")){%>
<a href="http://www.google.com/" target="_self">
<img src="pics/image.jpg" border="0" alt="Logo"></a>
<%}else{%>

<img src="pics/<%=Logo%>" alt="Logo"/><%}}%>

Any one please help me on this. When I'm hitting the image it is not opening the google page. I'm not getting any error message. Is it possible to write like this in "if" block?
11 years ago
JSP
I'm getting the following error but there is a property "primarySearchInterface" in KeywordSearch.java file and in aspects-config.xml I have written

<bean id="keywordSearch" class="com.endeca.spring.aspect.KeywordSearch">
<property name="primarySearchInterface">
<jee:jndi-lookup jndi-name="ENEQuery_PrimarySearchKey"/>
</bean? </property>

ERROR


Application error occurred during request processing.
Details: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keywordSearch' defined in ServletContext resource [/WEB-INF/aspects-config.xml]:
Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException:
Invalid property 'primarySearchInterface' of bean class [com.endeca.spring.aspect.KeywordSearch]:
Bean property 'primarySearchInterface' is not writable or has an invalid setter method.
Does the parameter type of the setter match the return type of the getter?
Exception id: [622F695BAB02005A000020560011C0C60004970A910503E3]
11 years ago
Hi All,
My application is having login page. The users who are having access for them it is working fine. For others it should show "You do not currently have access". But it is giving

500 Internal Server Error

Application error occurred during request processing.

Details: org.springframework.beans.factory.BeanCreationException: error creating bean with name
Exception id:[622F695BAB020076000012DB0011C0C6000496AFF10B379]

While the user deletes the browser history then it is showing the "You do not currently have access" message. Any one help me regarding this issue.
11 years ago
hi all,
I deployed a .ear file then I am getting the following error. Some times i am able to login into the site but some times it is giving error

500 Internal Server Error

Application error occurred during request processing.



Details: org.springframework.beans.factory.BeanCreationException: error creating bean with name
Exception id:[622F695BAB020076000012DB0011C0C6000496AFF10B379]

Thanks in advance
11 years ago
Hi All,
In my application we have one batch file(contains a java class), which moves all images and pdf to the repository and creates a URL for every image or pdf which is used by the users to download. And it creates the URL list.txt file. It is happening from 3 years but from past one week onwards it is not creating the URL list.txt file and it is creating the khx file(no extension) in the repository at the time of executing the batch file.
Repository and pdf's and images are in the same server.
Any one please help me regarding this issue.
11 years ago
we didn't changed anything from past 4 months. It is giving compile time error. This error is coming while Artesia(Content management tool) is trying to lock the asset.
11 years ago
Hi All,
My web application connect (using jdbc driver) to oracle database schema. The Oracle schema, my application and tomcat both are available in same windows 2000 server. But from past 1 week I am getting

ERROR | VocabHandler | SQLException: java.sql.SQLException: Io exception:
Connection reset by peer: socket write error


Any one tell me the solution for this.

Thanks in Advance
Ram Sudheer
11 years ago
just now we extended the temp space 500MB to 1GB still same problem. Is it necessary to restart the oracle database and application after increasing the space in temp?
11 years ago