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

JettyServerWrapper logs warnings when creating temp dirs on Windows #3425

Closed
mherwege opened this issue Mar 5, 2023 · 7 comments
Closed
Labels
external bug A problem or unintended behavior of an external library

Comments

@mherwege
Copy link
Contributor

mherwege commented Mar 5, 2023

I am working on BasicUI development (openhab-webui repository), and I am getting the following warning message on startup:

13:53:06.619 [WARN ] [ce.jetty.internal.JettyServerWrapper] - Can't create temporary directory for OsgiContextModel{HS,id=OCM-17,name='context:1470141928',path='/',bundle=org.apache.felix.webconsole,context=WebContainerContextWrapper{bundle=org.apache.felix.webconsole_4.7.2 [50],contextId='context:1470141928',delegate=org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext@57a095e8}}: C:\Users\MHERWEGE\AppData\Local\Temp\ROOT\context:1470141928

I am not sure if this is a core issue, or should be posted in the openhab-webui repository.
I also just saw openhab/openhab-webui#1757. Could these be related?

@mherwege mherwege changed the title Warn message in Eclipse IDE Jetty Warn message in Eclipse IDE Mar 5, 2023
@wborn
Copy link
Member

wborn commented Mar 5, 2023

Probably the issue is that it cannot create the temp file on Windows because that OS doesn't like colons in filenames.

@wborn
Copy link
Member

wborn commented Mar 5, 2023

The JettyServerWrapper creates the dir so it's a Pax Web issue as it should make sure the temp dir name is valid.
Perhaps you can create an issue for this in the Pax Web issue tracker?

@wborn wborn added the external bug A problem or unintended behavior of an external library label Mar 5, 2023
@wborn wborn changed the title Jetty Warn message in Eclipse IDE JettyServerWrapper logs warnings when creating temp dirs on Windows Mar 5, 2023
@Mark-VG
Copy link

Mark-VG commented Apr 18, 2023

Just wondering what would be the process to get this fix merged into OH?

ops4j/org.ops4j.pax.web#1841 says that they have fixed the issue

@wborn
Copy link
Member

wborn commented Apr 18, 2023

It will go like this:

  1. Apache Karaf upgrades to a Pax Web version that has the fix
  2. Apache Karaf (probably 4.4.4) gets released
  3. openHAB upgrades to use the new Apache Karaf version

@wborn
Copy link
Member

wborn commented Oct 24, 2023

This got fixed by #3814.

@wborn wborn closed this as completed Oct 24, 2023
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/openhab-4-0-release-discussion/147957/148

@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/solved-after-restart-systeminfo-binding-does-not-provide-cpu-temp-any-longer/57935/6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external bug A problem or unintended behavior of an external library
Projects
None yet
Development

No branches or pull requests

4 participants