Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.io.FileNotFoundException when try to find server.xml #126

Open
conhello opened this issue Jun 25, 2024 · 12 comments
Open

java.io.FileNotFoundException when try to find server.xml #126

conhello opened this issue Jun 25, 2024 · 12 comments
Assignees
Labels

Comments

@conhello
Copy link

I have an exception when i try start a Smart Tomcat on IntelliJ Idea, they trow java.io.FileNotFoundException: /Users/franciscoparis/cooltra/projects/etendo/etendo/conf/server.xml (No such file or directory). I try to indicate the conf folder of the tomcat Catalina Base, but when i push the button Start throw me the exception and delete all the content of the conf folder. I Install again the apache Tomcat and try the same steps, and when i push the Start Button, again trows the exception and delete all the content of the folder.

https://i.postimg.cc/fLs3rmyf/Captura-de-pantalla-2024-06-25-a-las-13-44-23-1.png

My partner use:
Mac M2 with Sonoma OS v14.5
IntelliJ Idea CE 17.0.11
Apache Tomcat 8.5.82
SmartTomcat 4.7.2

@tb12315
Copy link

tb12315 commented Jun 25, 2024 via email

@zengkid
Copy link
Owner

zengkid commented Jun 28, 2024

@conhello please update Catalina base, the server.xml full path should be %catalina_base%/conf/server.xml

@Sandoramix
Copy link

Sandoramix commented Jul 1, 2024

I have an exception when i try start a Smart Tomcat on IntelliJ Idea, they trow java.io.FileNotFoundException: /Users/franciscoparis/cooltra/projects/etendo/etendo/conf/server.xml (No such file or directory). I try to indicate the conf folder of the tomcat Catalina Base, but when i push the button Start throw me the exception and delete all the content of the conf folder. I Install again the apache Tomcat and try the same steps, and when i push the Start Button, again trows the exception and delete all the content of the folder.

https://i.postimg.cc/fLs3rmyf/Captura-de-pantalla-2024-06-25-a-las-13-44-23-1.png

My partner use: Mac M2 with Sonoma OS v14.5 IntelliJ Idea CE 17.0.11 Apache Tomcat 8.5.82 SmartTomcat 4.7.2

I'm having the same issue here. It was working well with my configuration which i haven't touched for months, but today it suddenly stopped working.
I'm using Apache Tomcat/9.0.83; Smart Tomcat 4.7.3; Windows 11 Home 22631.3737; IntelliJ 2024.1.4

@oosterholt
Copy link

I have the same issue after updating to 4.7.3. Revert to 4.7.2 fixes the issue.
In version 4.7.3, the complete %catalina_base%/conf directory is cleared when Tomcat is started.

@yuezk
Copy link
Collaborator

yuezk commented Jul 3, 2024

4.7.3 works for me. It looks like two issues.

@conhello For your case, the Catalina base looks changed manually. Can you clear its value and try again?
image


@Sandoramix @oosterholt Is there any error popup when running Tomcat? Please attach them if possible, Thanks.

@Darksider3
Copy link

Same issue for me, the configuration:
image

When starting with 4.7.3, Tomcat just throws a file not found error in the .SmartTomcat/$Name/conf, and that's it. If wanted i can surely provide an IntellIJ Log for that, but it's just a simple File not Found. I suspect this is happening because .SmartTomcat/conf is empty?

This is a problem i can observe at work, too, btw. We all just rolled back to 4.7.2 ^^'

@PengyuanJiang
Copy link

I have the same issue after updating to 4.7.3. Revert to 4.7.2 fixes the issue. In version 4.7.3, the complete %catalina_base%/conf directory is cleared when Tomcat is started.

I also revert to 4.7.2 and to fixed this issue. The conf directory is cleared when i start smart tomcat

@jialin43
Copy link

jialin43 commented Aug 7, 2024

This issue also works for me

@tb12315
Copy link

tb12315 commented Aug 7, 2024 via email

@mrgreywater
Copy link

4.7.2 also deletes the conf directory and then complains about the missing server.xml for me. I reverted back to 4.6.1, which works.

@kanturkar
Copy link

Was anyone able to resolve it? I have tried installing multiple versions (4.7.3, 4.7.2, 4.6.1) of the plugin and still facing the same issue.

@tb12315
Copy link

tb12315 commented Oct 14, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests