sat kadam

Ranch Hand
+ Follow
since Aug 25, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 sat kadam

i have to zip the property files( property file are not part of war they are maintained externally in folder) .These property file contains database information for all env. I  want to zip then and upload in nexus repository.please let me know how we can do it in maven
5 years ago
Thanks all for response.

5 years ago
I kept my path as below is tomcat context.xml



in java code





This throws nullpointerexception while reading.Please help what is wrong


5 years ago


We are migrating the legacy application in spring hibernate.we have use maven for dependency management.My structure of the application is as below currently

src/main/java -> java file
src/main/rersource-> all properties file
src/main/test-> all test cases

After creating the war and deploying in a tomcat. The  application is running fine.

Now problem is

We want all these resources  not to be as part of build because we have separate team who will responsible for changing properties like  hibernate database passwords and database url etc...
Developer will just checked in the code in bitbucket and jenkins will create war and deploy in tomcat.

Other Team will have liberty change the those properties.

Q1)How can i referred external properties from war file?





5 years ago
I am using Struts1.x and using <html:file> tag in JSP which works on IE but not in FIreFox.




This above code works in IE9,10,11 but not in FF.Please help to render in FF also
5 years ago
I am trying to upload the file from local system to the tomcat server installed  on linux. In local tomcat it is able to upload the file and see the complete file path in logs from location i am uploading.
When i am trying to upload the file to  tomcat on linux server.It does't give me complete file path in logs.it just show name of file.





In local Tomcat it return :C:\folder1\folder2\filename



In remote  it return :filename


Please help me this is very urgent
5 years ago
I am having xml files in src/main/java under package com.src.A. These .xml files are not getting added while created a war file.But if i try to run the project from tomcat integrate with eclipse its able to run.After creating a war and deploying in on web apps it does't find those .xml in that package?

After creating war file from maven i don't see those xml file in that pakage.

Q1)Please let me know what should be added in war plugin to include those xml file?


5 years ago
I have third party jars in my C:\folderName and I am hardcoding each dependency as below in local



Q1)How can I do same in bit bucket?.How can I replace this path with bitbucketpath?
5 years ago
Q1) how can i create D object in save() internally using b as parameter. How this can be converted in spring?

5 years ago
Hi tephan van Hulst,

Q1) Second Scenario matches my question asked earlier.In legacy save(),Object is created with the commented line using b as reference.How can i replicate same in spring using DI?



5 years ago
Object d is getting created  with values received from B.



I trying to inject spring in legacy code.Below is code snippet

5 years ago
Hi Tim Holloway & Ron McLeod,
we can't use tomee. We want to use only tomcat.
I need some code snippets or steps for converting EJB1.x application into Spring.

Thanks,
Satyajeet
5 years ago
We have been asked clean up ejb1.x code into spring code.Please help
1)how to convert ejb1.2 starless bean into spring bean?
2) how to convert jndi lookup into spring annotations?
5 years ago